[INFO] fetching crate fuse-rs 0.0.1... [INFO] building fuse-rs-0.0.1 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate fuse-rs 0.0.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate fuse-rs 0.0.1 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.52.0 [INFO] [stderr] Downloaded libfuse-sys v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bc4b8984b7af4ba345ad31d62f2f1f5b46b0f755562f346c4dd5677b16bb13b [INFO] running `Command { std: "docker" "start" "-a" "9bc4b8984b7af4ba345ad31d62f2f1f5b46b0f755562f346c4dd5677b16bb13b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bc4b8984b7af4ba345ad31d62f2f1f5b46b0f755562f346c4dd5677b16bb13b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc4b8984b7af4ba345ad31d62f2f1f5b46b0f755562f346c4dd5677b16bb13b", kill_on_drop: false }` [INFO] [stdout] 9bc4b8984b7af4ba345ad31d62f2f1f5b46b0f755562f346c4dd5677b16bb13b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15ad2f0ff631721cafae41721938e74aa6f96589e821d1a95e782c83462fc1f6 [INFO] running `Command { std: "docker" "start" "-a" "15ad2f0ff631721cafae41721938e74aa6f96589e821d1a95e782c83462fc1f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [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 thread_local v1.0.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [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 once_cell v1.4.0 [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)]` 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 is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 7.76s [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 1` [INFO] running `Command { std: "docker" "inspect" "15ad2f0ff631721cafae41721938e74aa6f96589e821d1a95e782c83462fc1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ad2f0ff631721cafae41721938e74aa6f96589e821d1a95e782c83462fc1f6", kill_on_drop: false }` [INFO] [stdout] 15ad2f0ff631721cafae41721938e74aa6f96589e821d1a95e782c83462fc1f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5494940260db5de8d64f21ca532fb6e0613bcced8dbc707fcb9f67abb60a09d3 [INFO] running `Command { std: "docker" "start" "-a" "5494940260db5de8d64f21ca532fb6e0613bcced8dbc707fcb9f67abb60a09d3", 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)]` 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 is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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] Compiling fuse-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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.42s [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 1` [INFO] running `Command { std: "docker" "inspect" "5494940260db5de8d64f21ca532fb6e0613bcced8dbc707fcb9f67abb60a09d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5494940260db5de8d64f21ca532fb6e0613bcced8dbc707fcb9f67abb60a09d3", kill_on_drop: false }` [INFO] [stdout] 5494940260db5de8d64f21ca532fb6e0613bcced8dbc707fcb9f67abb60a09d3