[INFO] fetching crate fuse-rs 0.0.1... [INFO] testing fuse-rs-0.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate fuse-rs 0.0.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate fuse-rs 0.0.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fuse-rs 0.0.1 [INFO] tweaked toml for crates.io crate fuse-rs 0.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fuse-rs 0.0.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fuse-rs 0.0.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libfuse-sys v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e928ced6b3a3184102e26bd17c8af70900df377196c0bf82deabee941ed8b03 [INFO] running `Command { std: "docker" "start" "-a" "3e928ced6b3a3184102e26bd17c8af70900df377196c0bf82deabee941ed8b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e928ced6b3a3184102e26bd17c8af70900df377196c0bf82deabee941ed8b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e928ced6b3a3184102e26bd17c8af70900df377196c0bf82deabee941ed8b03", kill_on_drop: false }` [INFO] [stdout] 3e928ced6b3a3184102e26bd17c8af70900df377196c0bf82deabee941ed8b03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95e32011b0dabe3121c560b9a5272fd46d89e388cab581399fd980b51d8d9e90 [INFO] running `Command { std: "docker" "start" "-a" "95e32011b0dabe3121c560b9a5272fd46d89e388cab581399fd980b51d8d9e90", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling libfuse-sys v0.3.0 [INFO] [stderr] Compiling fuse-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `from_raw` and `fill` are never used [INFO] [stdout] --> src/fs.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 161 | impl ConnectionInfo { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 162 | pub(crate) fn from_raw(c: *const fuse::fuse_conn_info) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub(crate) fn fill(&self, conn: *mut fuse::fuse_conn_info) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file_info` is never used [INFO] [stdout] --> src/fs.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 318 | impl OpenFileInfo { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 319 | pub(crate) fn from_file_info(fi: FileInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_info` is never used [INFO] [stdout] --> src/fs.rs:364:19 [INFO] [stdout] | [INFO] [stdout] 359 | impl WriteFileInfo { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 364 | pub(crate) fn file_info(&self) -> &FileInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file_info` and `file_info` are never used [INFO] [stdout] --> src/fs.rs:382:19 [INFO] [stdout] | [INFO] [stdout] 381 | impl FlushFileInfo { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 382 | pub(crate) fn from_file_info(fi: FileInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub(crate) fn file_info(&self) -> &FileInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file_info` and `file_info` are never used [INFO] [stdout] --> src/fs.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 425 | impl ReleaseFileInfo { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 426 | pub(crate) fn from_file_info(fi: FileInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub(crate) fn file_info(&self) -> &FileInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readlink` is never used [INFO] [stdout] --> src/operations.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe extern "C" fn readlink(p: *const c_char, buffer: *mut c_char, len: usize) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mkdir` is never used [INFO] [stdout] --> src/operations.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe extern "C" fn mkdir(p: *const c_char, mode: mode_t) -> c_int { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unlink` is never used [INFO] [stdout] --> src/operations.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | unsafe extern "C" fn unlink(p: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rmdir` is never used [INFO] [stdout] --> src/operations.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | unsafe extern "C" fn rmdir(p: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symlink` is never used [INFO] [stdout] --> src/operations.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "C" fn symlink(src: *const c_char, dst: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rename` is never used [INFO] [stdout] --> src/operations.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe extern "C" fn rename(from: *const c_char, to: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `link` is never used [INFO] [stdout] --> src/operations.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe extern "C" fn link(src: *const c_char, dst: *const c_char) -> c_int { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chmod` is never used [INFO] [stdout] --> src/operations.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | unsafe extern "C" fn chmod(p: *const c_char, mode: mode_t) -> c_int { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chown` is never used [INFO] [stdout] --> src/operations.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | unsafe extern "C" fn chown(p: *const c_char, uid: uid_t, gid: gid_t) -> c_int { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/operations.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | unsafe extern "C" fn truncate(p: *const c_char, len: off_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/operations.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn write( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `statfs` is never used [INFO] [stdout] --> src/operations.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | unsafe extern "C" fn statfs(p: *const c_char, stbuf: *mut libc::statvfs) -> c_int { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flush` is never used [INFO] [stdout] --> src/operations.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | unsafe extern "C" fn flush(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `release` is never used [INFO] [stdout] --> src/operations.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | unsafe extern "C" fn release(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fsync` is never used [INFO] [stdout] --> src/operations.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | unsafe extern "C" fn fsync( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opendir` is never used [INFO] [stdout] --> src/operations.rs:316:22 [INFO] [stdout] | [INFO] [stdout] 316 | unsafe extern "C" fn opendir(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fsyncdir` is never used [INFO] [stdout] --> src/operations.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | unsafe extern "C" fn fsyncdir( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `releasedir` is never used [INFO] [stdout] --> src/operations.rs:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe extern "C" fn releasedir(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/operations.rs:404:22 [INFO] [stdout] | [INFO] [stdout] 404 | unsafe extern "C" fn init(conn: *mut fuse::fuse_conn_info) -> *mut c_void { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `destroy` is never used [INFO] [stdout] --> src/operations.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 418 | unsafe extern "C" fn destroy(_private_data: *mut c_void) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `access` is never used [INFO] [stdout] --> src/operations.rs:422:22 [INFO] [stdout] | [INFO] [stdout] 422 | unsafe extern "C" fn access(p: *const c_char, flags: c_int) -> c_int { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/operations.rs:433:22 [INFO] [stdout] | [INFO] [stdout] 433 | unsafe extern "C" fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ftruncate` is never used [INFO] [stdout] --> src/operations.rs:454:22 [INFO] [stdout] | [INFO] [stdout] 454 | unsafe extern "C" fn ftruncate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fgetattr` is never used [INFO] [stdout] --> src/operations.rs:469:22 [INFO] [stdout] | [INFO] [stdout] 469 | unsafe extern "C" fn fgetattr( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lock` is never used [INFO] [stdout] --> src/operations.rs:487:22 [INFO] [stdout] | [INFO] [stdout] 487 | unsafe extern "C" fn lock( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/operations.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | FS.set(RwLock::new(FilesystemImpl(fs))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/operations.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | FS.get() [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | FS.get_mut() [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [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" "95e32011b0dabe3121c560b9a5272fd46d89e388cab581399fd980b51d8d9e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95e32011b0dabe3121c560b9a5272fd46d89e388cab581399fd980b51d8d9e90", kill_on_drop: false }` [INFO] [stdout] 95e32011b0dabe3121c560b9a5272fd46d89e388cab581399fd980b51d8d9e90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7752600ebe7d00eb47d6ee55565e353c90a02c243b06cb7e757ac0e106ced232 [INFO] running `Command { std: "docker" "start" "-a" "7752600ebe7d00eb47d6ee55565e353c90a02c243b06cb7e757ac0e106ced232", kill_on_drop: false }` [INFO] [stdout] warning: associated items `from_raw` and `fill` are never used [INFO] [stdout] --> src/fs.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 161 | impl ConnectionInfo { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 162 | pub(crate) fn from_raw(c: *const fuse::fuse_conn_info) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub(crate) fn fill(&self, conn: *mut fuse::fuse_conn_info) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file_info` is never used [INFO] [stdout] --> src/fs.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 318 | impl OpenFileInfo { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 319 | pub(crate) fn from_file_info(fi: FileInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_info` is never used [INFO] [stdout] --> src/fs.rs:364:19 [INFO] [stdout] | [INFO] [stdout] 359 | impl WriteFileInfo { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 364 | pub(crate) fn file_info(&self) -> &FileInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file_info` and `file_info` are never used [INFO] [stdout] --> src/fs.rs:382:19 [INFO] [stdout] | [INFO] [stdout] 381 | impl FlushFileInfo { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 382 | pub(crate) fn from_file_info(fi: FileInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub(crate) fn file_info(&self) -> &FileInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file_info` and `file_info` are never used [INFO] [stdout] --> src/fs.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 425 | impl ReleaseFileInfo { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 426 | pub(crate) fn from_file_info(fi: FileInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub(crate) fn file_info(&self) -> &FileInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readlink` is never used [INFO] [stdout] --> src/operations.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe extern "C" fn readlink(p: *const c_char, buffer: *mut c_char, len: usize) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mkdir` is never used [INFO] [stdout] --> src/operations.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe extern "C" fn mkdir(p: *const c_char, mode: mode_t) -> c_int { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unlink` is never used [INFO] [stdout] --> src/operations.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | unsafe extern "C" fn unlink(p: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rmdir` is never used [INFO] [stdout] --> src/operations.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | unsafe extern "C" fn rmdir(p: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symlink` is never used [INFO] [stdout] --> src/operations.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "C" fn symlink(src: *const c_char, dst: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rename` is never used [INFO] [stdout] --> src/operations.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe extern "C" fn rename(from: *const c_char, to: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `link` is never used [INFO] [stdout] --> src/operations.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe extern "C" fn link(src: *const c_char, dst: *const c_char) -> c_int { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chmod` is never used [INFO] [stdout] --> src/operations.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | unsafe extern "C" fn chmod(p: *const c_char, mode: mode_t) -> c_int { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chown` is never used [INFO] [stdout] --> src/operations.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | unsafe extern "C" fn chown(p: *const c_char, uid: uid_t, gid: gid_t) -> c_int { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/operations.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | unsafe extern "C" fn truncate(p: *const c_char, len: off_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/operations.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn write( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `statfs` is never used [INFO] [stdout] --> src/operations.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | unsafe extern "C" fn statfs(p: *const c_char, stbuf: *mut libc::statvfs) -> c_int { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flush` is never used [INFO] [stdout] --> src/operations.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | unsafe extern "C" fn flush(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `release` is never used [INFO] [stdout] --> src/operations.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | unsafe extern "C" fn release(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fsync` is never used [INFO] [stdout] --> src/operations.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | unsafe extern "C" fn fsync( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opendir` is never used [INFO] [stdout] --> src/operations.rs:316:22 [INFO] [stdout] | [INFO] [stdout] 316 | unsafe extern "C" fn opendir(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fsyncdir` is never used [INFO] [stdout] --> src/operations.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | unsafe extern "C" fn fsyncdir( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `releasedir` is never used [INFO] [stdout] --> src/operations.rs:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe extern "C" fn releasedir(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/operations.rs:404:22 [INFO] [stdout] | [INFO] [stdout] 404 | unsafe extern "C" fn init(conn: *mut fuse::fuse_conn_info) -> *mut c_void { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `destroy` is never used [INFO] [stdout] --> src/operations.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 418 | unsafe extern "C" fn destroy(_private_data: *mut c_void) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `access` is never used [INFO] [stdout] --> src/operations.rs:422:22 [INFO] [stdout] | [INFO] [stdout] 422 | unsafe extern "C" fn access(p: *const c_char, flags: c_int) -> c_int { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/operations.rs:433:22 [INFO] [stdout] | [INFO] [stdout] 433 | unsafe extern "C" fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ftruncate` is never used [INFO] [stdout] --> src/operations.rs:454:22 [INFO] [stdout] | [INFO] [stdout] 454 | unsafe extern "C" fn ftruncate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fgetattr` is never used [INFO] [stdout] --> src/operations.rs:469:22 [INFO] [stdout] | [INFO] [stdout] 469 | unsafe extern "C" fn fgetattr( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lock` is never used [INFO] [stdout] --> src/operations.rs:487:22 [INFO] [stdout] | [INFO] [stdout] 487 | unsafe extern "C" fn lock( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/operations.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | FS.set(RwLock::new(FilesystemImpl(fs))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/operations.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | FS.get() [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fuse-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | FS.get_mut() [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/hellofs.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | &mut FS, [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 107 | &raw mut FS, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lock` is never used [INFO] [stdout] --> src/operations.rs:487:22 [INFO] [stdout] | [INFO] [stdout] 487 | unsafe extern "C" fn lock( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/operations.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | FS.set(RwLock::new(FilesystemImpl(fs))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/operations.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | FS.get() [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | FS.get_mut() [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:646:32 [INFO] [stdout] | [INFO] [stdout] 646 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 646 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:674:32 [INFO] [stdout] | [INFO] [stdout] 674 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 674 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:707:32 [INFO] [stdout] | [INFO] [stdout] 707 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 707 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 721 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 734 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 734 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:747:32 [INFO] [stdout] | [INFO] [stdout] 747 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 747 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:762:32 [INFO] [stdout] | [INFO] [stdout] 762 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 762 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:777:32 [INFO] [stdout] | [INFO] [stdout] 777 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 777 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:792:32 [INFO] [stdout] | [INFO] [stdout] 792 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 792 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:806:32 [INFO] [stdout] | [INFO] [stdout] 806 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 806 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:822:32 [INFO] [stdout] | [INFO] [stdout] 822 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 822 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:836:32 [INFO] [stdout] | [INFO] [stdout] 836 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 836 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:863:32 [INFO] [stdout] | [INFO] [stdout] 863 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 863 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:918:32 [INFO] [stdout] | [INFO] [stdout] 918 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 918 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:958:32 [INFO] [stdout] | [INFO] [stdout] 958 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 958 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:991:32 [INFO] [stdout] | [INFO] [stdout] 991 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 991 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1015:32 [INFO] [stdout] | [INFO] [stdout] 1015 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1015 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1039:32 [INFO] [stdout] | [INFO] [stdout] 1039 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1039 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1067:32 [INFO] [stdout] | [INFO] [stdout] 1067 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1067 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1095:32 [INFO] [stdout] | [INFO] [stdout] 1095 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1095 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1128:32 [INFO] [stdout] | [INFO] [stdout] 1128 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1128 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1181:32 [INFO] [stdout] | [INFO] [stdout] 1181 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1181 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1205:32 [INFO] [stdout] | [INFO] [stdout] 1205 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1205 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1233:32 [INFO] [stdout] | [INFO] [stdout] 1233 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1233 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1261:32 [INFO] [stdout] | [INFO] [stdout] 1261 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1261 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1282:27 [INFO] [stdout] | [INFO] [stdout] 1282 | setup_test_fs(&mut DUMMY_FS); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1282 | setup_test_fs(&raw mut DUMMY_FS); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1289:32 [INFO] [stdout] | [INFO] [stdout] 1289 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1289 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1306:32 [INFO] [stdout] | [INFO] [stdout] 1306 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1306 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1340:32 [INFO] [stdout] | [INFO] [stdout] 1340 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1340 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/operations.rs:1371:32 [INFO] [stdout] | [INFO] [stdout] 1371 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1371 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [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" "7752600ebe7d00eb47d6ee55565e353c90a02c243b06cb7e757ac0e106ced232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7752600ebe7d00eb47d6ee55565e353c90a02c243b06cb7e757ac0e106ced232", kill_on_drop: false }` [INFO] [stdout] 7752600ebe7d00eb47d6ee55565e353c90a02c243b06cb7e757ac0e106ced232 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97f11f54cbed4974fb935752fe012328d016b419b8398ee55ede4e9e0cb9f560 [INFO] running `Command { std: "docker" "start" "-a" "97f11f54cbed4974fb935752fe012328d016b419b8398ee55ede4e9e0cb9f560", kill_on_drop: false }` [INFO] [stderr] warning: associated items `from_raw` and `fill` are never used [INFO] [stderr] --> src/fs.rs:162:19 [INFO] [stderr] | [INFO] [stderr] 161 | impl ConnectionInfo { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 162 | pub(crate) fn from_raw(c: *const fuse::fuse_conn_info) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 178 | pub(crate) fn fill(&self, conn: *mut fuse::fuse_conn_info) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `from_file_info` is never used [INFO] [stderr] --> src/fs.rs:319:19 [INFO] [stderr] | [INFO] [stderr] 318 | impl OpenFileInfo { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 319 | pub(crate) fn from_file_info(fi: FileInfo) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `file_info` is never used [INFO] [stderr] --> src/fs.rs:364:19 [INFO] [stderr] | [INFO] [stderr] 359 | impl WriteFileInfo { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 364 | pub(crate) fn file_info(&self) -> &FileInfo { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `from_file_info` and `file_info` are never used [INFO] [stderr] --> src/fs.rs:382:19 [INFO] [stderr] | [INFO] [stderr] 381 | impl FlushFileInfo { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 382 | pub(crate) fn from_file_info(fi: FileInfo) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 386 | pub(crate) fn file_info(&self) -> &FileInfo { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `from_file_info` and `file_info` are never used [INFO] [stderr] --> src/fs.rs:426:19 [INFO] [stderr] | [INFO] [stderr] 425 | impl ReleaseFileInfo { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 426 | pub(crate) fn from_file_info(fi: FileInfo) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 430 | pub(crate) fn file_info(&self) -> &FileInfo { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `readlink` is never used [INFO] [stderr] --> src/operations.rs:86:22 [INFO] [stderr] | [INFO] [stderr] 86 | unsafe extern "C" fn readlink(p: *const c_char, buffer: *mut c_char, len: usize) -> c_int { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `mkdir` is never used [INFO] [stderr] --> src/operations.rs:108:22 [INFO] [stderr] | [INFO] [stderr] 108 | unsafe extern "C" fn mkdir(p: *const c_char, mode: mode_t) -> c_int { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `unlink` is never used [INFO] [stderr] --> src/operations.rs:116:22 [INFO] [stderr] | [INFO] [stderr] 116 | unsafe extern "C" fn unlink(p: *const c_char) -> c_int { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rmdir` is never used [INFO] [stderr] --> src/operations.rs:123:22 [INFO] [stderr] | [INFO] [stderr] 123 | unsafe extern "C" fn rmdir(p: *const c_char) -> c_int { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `symlink` is never used [INFO] [stderr] --> src/operations.rs:130:22 [INFO] [stderr] | [INFO] [stderr] 130 | unsafe extern "C" fn symlink(src: *const c_char, dst: *const c_char) -> c_int { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rename` is never used [INFO] [stderr] --> src/operations.rs:140:22 [INFO] [stderr] | [INFO] [stderr] 140 | unsafe extern "C" fn rename(from: *const c_char, to: *const c_char) -> c_int { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `link` is never used [INFO] [stderr] --> src/operations.rs:150:22 [INFO] [stderr] | [INFO] [stderr] 150 | unsafe extern "C" fn link(src: *const c_char, dst: *const c_char) -> c_int { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `chmod` is never used [INFO] [stderr] --> src/operations.rs:160:22 [INFO] [stderr] | [INFO] [stderr] 160 | unsafe extern "C" fn chmod(p: *const c_char, mode: mode_t) -> c_int { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `chown` is never used [INFO] [stderr] --> src/operations.rs:167:22 [INFO] [stderr] | [INFO] [stderr] 167 | unsafe extern "C" fn chown(p: *const c_char, uid: uid_t, gid: gid_t) -> c_int { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `truncate` is never used [INFO] [stderr] --> src/operations.rs:174:22 [INFO] [stderr] | [INFO] [stderr] 174 | unsafe extern "C" fn truncate(p: *const c_char, len: off_t) -> c_int { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write` is never used [INFO] [stderr] --> src/operations.rs:223:22 [INFO] [stderr] | [INFO] [stderr] 223 | unsafe extern "C" fn write( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `statfs` is never used [INFO] [stderr] --> src/operations.rs:248:22 [INFO] [stderr] | [INFO] [stderr] 248 | unsafe extern "C" fn statfs(p: *const c_char, stbuf: *mut libc::statvfs) -> c_int { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `flush` is never used [INFO] [stderr] --> src/operations.rs:265:22 [INFO] [stderr] | [INFO] [stderr] 265 | unsafe extern "C" fn flush(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `release` is never used [INFO] [stderr] --> src/operations.rs:280:22 [INFO] [stderr] | [INFO] [stderr] 280 | unsafe extern "C" fn release(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fsync` is never used [INFO] [stderr] --> src/operations.rs:295:22 [INFO] [stderr] | [INFO] [stderr] 295 | unsafe extern "C" fn fsync( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `opendir` is never used [INFO] [stderr] --> src/operations.rs:316:22 [INFO] [stderr] | [INFO] [stderr] 316 | unsafe extern "C" fn opendir(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fsyncdir` is never used [INFO] [stderr] --> src/operations.rs:368:22 [INFO] [stderr] | [INFO] [stderr] 368 | unsafe extern "C" fn fsyncdir( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `releasedir` is never used [INFO] [stderr] --> src/operations.rs:389:22 [INFO] [stderr] | [INFO] [stderr] 389 | unsafe extern "C" fn releasedir(p: *const c_char, fi: *mut fuse::fuse_file_info) -> c_int { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init` is never used [INFO] [stderr] --> src/operations.rs:404:22 [INFO] [stderr] | [INFO] [stderr] 404 | unsafe extern "C" fn init(conn: *mut fuse::fuse_conn_info) -> *mut c_void { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `destroy` is never used [INFO] [stderr] --> src/operations.rs:418:22 [INFO] [stderr] | [INFO] [stderr] 418 | unsafe extern "C" fn destroy(_private_data: *mut c_void) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `access` is never used [INFO] [stderr] --> src/operations.rs:422:22 [INFO] [stderr] | [INFO] [stderr] 422 | unsafe extern "C" fn access(p: *const c_char, flags: c_int) -> c_int { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create` is never used [INFO] [stderr] --> src/operations.rs:433:22 [INFO] [stderr] | [INFO] [stderr] 433 | unsafe extern "C" fn create( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ftruncate` is never used [INFO] [stderr] --> src/operations.rs:454:22 [INFO] [stderr] | [INFO] [stderr] 454 | unsafe extern "C" fn ftruncate( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fgetattr` is never used [INFO] [stderr] --> src/operations.rs:469:22 [INFO] [stderr] | [INFO] [stderr] 469 | unsafe extern "C" fn fgetattr( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `lock` is never used [INFO] [stderr] --> src/operations.rs:487:22 [INFO] [stderr] | [INFO] [stderr] 487 | unsafe extern "C" fn lock( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/operations.rs:582:5 [INFO] [stderr] | [INFO] [stderr] 582 | FS.set(RwLock::new(FilesystemImpl(fs))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/operations.rs:587:5 [INFO] [stderr] | [INFO] [stderr] 587 | FS.get() [INFO] [stderr] | ^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:594:5 [INFO] [stderr] | [INFO] [stderr] 594 | FS.get_mut() [INFO] [stderr] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: function `lock` is never used [INFO] [stderr] --> src/operations.rs:487:22 [INFO] [stderr] | [INFO] [stderr] 487 | unsafe extern "C" fn lock( [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:646:32 [INFO] [stderr] | [INFO] [stderr] 646 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 646 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:674:32 [INFO] [stderr] | [INFO] [stderr] 674 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 674 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:707:32 [INFO] [stderr] | [INFO] [stderr] 707 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 707 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:721:32 [INFO] [stderr] | [INFO] [stderr] 721 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 721 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:734:32 [INFO] [stderr] | [INFO] [stderr] 734 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 734 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:747:32 [INFO] [stderr] | [INFO] [stderr] 747 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 747 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:762:32 [INFO] [stderr] | [INFO] [stderr] 762 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 762 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:777:32 [INFO] [stderr] | [INFO] [stderr] 777 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 777 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:792:32 [INFO] [stderr] | [INFO] [stderr] 792 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 792 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:806:32 [INFO] [stderr] | [INFO] [stderr] 806 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 806 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:822:32 [INFO] [stderr] | [INFO] [stderr] 822 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 822 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:836:32 [INFO] [stderr] | [INFO] [stderr] 836 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 836 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:863:32 [INFO] [stderr] | [INFO] [stderr] 863 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 863 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:918:32 [INFO] [stderr] | [INFO] [stderr] 918 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 918 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:958:32 [INFO] [stderr] | [INFO] [stderr] 958 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 958 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:991:32 [INFO] [stderr] | [INFO] [stderr] 991 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 991 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1015:32 [INFO] [stderr] | [INFO] [stderr] 1015 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1015 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1039:32 [INFO] [stderr] | [INFO] [stderr] 1039 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1039 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1067:32 [INFO] [stderr] | [INFO] [stderr] 1067 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1067 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1095:32 [INFO] [stderr] | [INFO] [stderr] 1095 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1095 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1128:32 [INFO] [stderr] | [INFO] [stderr] 1128 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1128 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1181:32 [INFO] [stderr] | [INFO] [stderr] 1181 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1181 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1205:32 [INFO] [stderr] | [INFO] [stderr] 1205 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1205 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1233:32 [INFO] [stderr] | [INFO] [stderr] 1233 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1233 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1261:32 [INFO] [stderr] | [INFO] [stderr] 1261 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1261 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1282:27 [INFO] [stderr] | [INFO] [stderr] 1282 | setup_test_fs(&mut DUMMY_FS); [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1282 | setup_test_fs(&raw mut DUMMY_FS); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1289:32 [INFO] [stderr] | [INFO] [stderr] 1289 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1289 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1306:32 [INFO] [stderr] | [INFO] [stderr] 1306 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1306 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1340:32 [INFO] [stderr] | [INFO] [stderr] 1340 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1340 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/operations.rs:1371:32 [INFO] [stderr] | [INFO] [stderr] 1371 | unsafe { setup_test_fs(&mut DUMMY_FS) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1371 | unsafe { setup_test_fs(&raw mut DUMMY_FS) }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `fuse-rs` (lib) generated 33 warnings [INFO] [stderr] warning: `fuse-rs` (lib test) generated 34 warnings (3 duplicates) [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> examples/hellofs.rs:107:13 [INFO] [stderr] | [INFO] [stderr] 107 | &mut FS, [INFO] [stderr] | ^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 107 | &raw mut FS, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `fuse-rs` (example "hellofs") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fuse_rs-e7dec606513a7564) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test operations::tests::test_access ... ok [INFO] [stdout] test operations::tests::test_chown ... ok [INFO] [stdout] test operations::tests::test_chmod ... ok [INFO] [stdout] test operations::tests::test_destroy ... ok [INFO] [stdout] test operations::tests::test_fgetattr ... ok [INFO] [stdout] test operations::tests::test_flush ... ok [INFO] [stdout] test operations::tests::test_fsync_all ... ok [INFO] [stdout] test operations::tests::test_create ... ok [INFO] [stdout] test operations::tests::test_fsyncdir_all ... ok [INFO] [stdout] test operations::tests::test_fsyncdir_data ... ok [INFO] [stdout] test operations::tests::test_ftruncate ... ok [INFO] [stdout] test operations::tests::test_fsync_data ... ok [INFO] [stdout] test operations::tests::test_init ... ok [INFO] [stdout] test operations::tests::test_mkdir ... ok [INFO] [stdout] test operations::tests::test_opendir ... ok [INFO] [stdout] test operations::tests::test_read ... ok [INFO] [stdout] test operations::tests::test_readdir ... ok [INFO] [stdout] test operations::tests::test_readlink ... ok [INFO] [stdout] test operations::tests::test_release ... ok [INFO] [stdout] test operations::tests::test_rename ... ok [INFO] [stdout] test operations::tests::test_statfs ... ok [INFO] [stdout] test operations::tests::test_releasedir ... ok [INFO] [stdout] test operations::tests::test_rmdir ... ok [INFO] [stdout] test operations::tests::test_symlink ... ok [INFO] [stderr] Doc-tests fuse_rs [INFO] [stdout] test operations::tests::test_build_path ... ok [INFO] [stdout] test operations::tests::test_getattr ... ok [INFO] [stdout] test operations::tests::test_link ... ok [INFO] [stdout] test operations::tests::test_open ... ok [INFO] [stdout] test operations::tests::test_truncate ... ok [INFO] [stdout] test operations::tests::test_unlink ... ok [INFO] [stdout] test operations::tests::test_write ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "97f11f54cbed4974fb935752fe012328d016b419b8398ee55ede4e9e0cb9f560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f11f54cbed4974fb935752fe012328d016b419b8398ee55ede4e9e0cb9f560", kill_on_drop: false }` [INFO] [stdout] 97f11f54cbed4974fb935752fe012328d016b419b8398ee55ede4e9e0cb9f560