[INFO] cloning repository https://github.com/talDoFlemis/ferrix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/talDoFlemis/ferrix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtalDoFlemis%2Fferrix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtalDoFlemis%2Fferrix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d655f2083ba8c36b8126557119e0618cd27c1863 [INFO] testing talDoFlemis/ferrix against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtalDoFlemis%2Fferrix" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/talDoFlemis/ferrix [INFO] finished tweaking git repo https://github.com/talDoFlemis/ferrix [INFO] tweaked toml for git repo https://github.com/talDoFlemis/ferrix written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/talDoFlemis/ferrix 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 git repo https://github.com/talDoFlemis/ferrix 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 clean-path v0.2.1 [INFO] [stderr] Downloaded mmap v0.1.1 [INFO] [stderr] Downloaded terminal_size v0.4.1 [INFO] [stderr] Downloaded strip-ansi-escapes v0.2.1 [INFO] [stderr] Downloaded miette-derive v7.4.0 [INFO] [stderr] Downloaded is_executable v1.0.4 [INFO] [stderr] Downloaded clap_complete v4.5.16 [INFO] [stderr] Downloaded owo-colors v4.1.0 [INFO] [stderr] Downloaded vte v0.14.1 [INFO] [stderr] Downloaded reedline v0.32.0 [INFO] [stderr] Downloaded cc v1.2.11 [INFO] [stderr] Downloaded miette v7.4.0 [INFO] [stderr] Downloaded clap-repl v0.3.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 528d69645df144d38b188149d07a67d0778ace6b63e0f56f7c86e7c42a6a1abd [INFO] running `Command { std: "docker" "start" "-a" "528d69645df144d38b188149d07a67d0778ace6b63e0f56f7c86e7c42a6a1abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "528d69645df144d38b188149d07a67d0778ace6b63e0f56f7c86e7c42a6a1abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528d69645df144d38b188149d07a67d0778ace6b63e0f56f7c86e7c42a6a1abd", kill_on_drop: false }` [INFO] [stdout] 528d69645df144d38b188149d07a67d0778ace6b63e0f56f7c86e7c42a6a1abd [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" "-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] 45fba68173852c734cb5717a8f4e61ee00d88179ae0600dd1517f3ef5ebf4ef9 [INFO] running `Command { std: "docker" "start" "-a" "45fba68173852c734cb5717a8f4e61ee00d88179ae0600dd1517f3ef5ebf4ef9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.20 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling vte v0.14.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling fuser v0.15.1 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling is_executable v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling papergrid v0.14.0 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling windows-sys v0.59.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling clean-path v0.2.1 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling byte-unit v5.1.6 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling mmap v0.1.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.8.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tabled_derive v0.10.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling miette-derive v7.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tabled v0.18.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling clap_complete v4.5.16 [INFO] [stderr] Compiling rand_core v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling terminal_size v0.4.1 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling miette v7.4.0 [INFO] [stderr] Compiling reedline v0.32.0 [INFO] [stderr] Compiling clap-repl v0.3.1 [INFO] [stderr] Compiling ferrix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `literal` [INFO] [stdout] --> src/parser.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | token::{any, literal, one_of, take_while}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unit` [INFO] [stdout] --> src/repl_v2.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use byte_unit::{Byte, Unit, UnitType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `simple_ext4::mkfs::make` and `vdisk::VDisk` [INFO] [stdout] --> src/simple_ext4/fs.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{simple_ext4::mkfs::make, vdisk::VDisk}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileAttr` and `ReplyOpen` [INFO] [stdout] --> src/simple_ext4/fs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | FileAttr, FileType, Filesystem, KernelConfig, ReplyAttr, ReplyCreate, ReplyData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | ReplyDirectory, ReplyEmpty, ReplyEntry, ReplyOpen, ReplyWrite, Request, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mode` [INFO] [stdout] --> src/simple_ext4/fs.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | sys::stat::{Mode, SFlag}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UNIX_EPOCH` and `path::PathBuf` [INFO] [stdout] --> src/simple_ext4/fs.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | time::{Duration, UNIX_EPOCH}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackgroundSession` and `MountOption` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use fuser::{BackgroundSession, MountOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MmapMut`, `MmapOptions`, and `Mmap` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use memmap::{Mmap, MmapMut, MmapOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distr::Uniform` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distr::Uniform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `Path`, `ffi::OsStrExt`, and `thread` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | os::unix::{ffi::OsStrExt, fs::MetadataExt}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | process::exit, [INFO] [stdout] 14 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] 15 | thread, u16, usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VDisk` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | vdisk::{self, VDisk, VDiskSize}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/simple_ext4/types.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MountOption` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | Filesystem, KernelConfig, MountOption, ReplyAttr, ReplyCreate, ReplyData, ReplyDirectory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::{BufRead, BufReader, ErrorKind, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{env, fs, io}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `abi-7-26` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | #[cfg(feature = "abi-7-26")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `abi-7-26` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/simple_ext4/mkfs.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error` [INFO] [stdout] --> src/system.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mem::size` [INFO] [stdout] --> src/vdisk.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::mem::size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | error::{AddContext, ErrorKind, FromExternalError, FromRecoverableError, ParserError}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parser.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | type ParserResult = winnow::PResult; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | fn from_error_kind(_input: &I, _kind: ErrorKind) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | _kind: ErrorKind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | fn from_external_error(_: &Input<'a>, _kind: ErrorKind, e: ParseIntError) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | io::{BufReader, Cursor, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | fn chdir(&self, cmd: &ChangeDirCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn touch(&mut self, cmd: &TouchCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | fn mv(&mut self, cmd: &MoveCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | fn make_dir(&mut self, cmd: &MakeDirCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | fn remove(&mut self, cmd: &RemoveCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | fn head(&self, cmd: &HeadCommand) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn list(&self, cmd: &ListCommand) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | fn sort(&self, cmd: &SortCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | fn cat(&self, cmd: &CatCommand) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpaceAround` is never used [INFO] [stdout] --> src/parser.rs:687:7 [INFO] [stdout] | [INFO] [stdout] 687 | trait SpaceAround: Parser + Sized [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_system` is never read [INFO] [stdout] --> src/repl.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Repl [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | file_system: F, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_inode_from_path` and `find_dir` are never used [INFO] [stdout] --> src/simple_ext4/fs.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl SimpleExt4FS { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | fn find_inode_from_path

(&self, path: P) -> FSResult<(Inode, u32)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn find_dir

(&self, path: P) -> FSResult<(Directory, u32)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct FSInFS { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 241 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuse_allow_other_enabled` is never used [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:1893:4 [INFO] [stdout] | [INFO] [stdout] 1893 | fn fuse_allow_other_enabled() -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn render_prompt_segment(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | fn render_prompt_segment(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | fn render_prompt_left(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | fn render_prompt_left(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | fn render_prompt_right(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | fn render_prompt_right(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 72 | _prompt_mode: clap_repl::reedline::PromptEditMode, [INFO] [stdout] 73 | ) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | ) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 83 | history_search: clap_repl::reedline::PromptHistorySearch, [INFO] [stdout] 84 | ) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | ) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ferrix::complete_command::MakeDirCommand` [INFO] [stdout] --> src/bin/flemis_fs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ferrix::complete_command::MakeDirCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ferrix::system::System` [INFO] [stdout] --> src/bin/flemis_fs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ferrix::system::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/bin/flemis_fs.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{info, Level}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "45fba68173852c734cb5717a8f4e61ee00d88179ae0600dd1517f3ef5ebf4ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45fba68173852c734cb5717a8f4e61ee00d88179ae0600dd1517f3ef5ebf4ef9", kill_on_drop: false }` [INFO] [stdout] 45fba68173852c734cb5717a8f4e61ee00d88179ae0600dd1517f3ef5ebf4ef9 [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" "-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] a83cef894c45f9b601b2867effe80baa1c9426fc438e826d6dcd708e0a15471c [INFO] running `Command { std: "docker" "start" "-a" "a83cef894c45f9b601b2867effe80baa1c9426fc438e826d6dcd708e0a15471c", kill_on_drop: false }` [INFO] [stderr] Compiling ferrix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `literal` [INFO] [stdout] --> src/parser.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | token::{any, literal, one_of, take_while}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unit` [INFO] [stdout] --> src/repl_v2.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use byte_unit::{Byte, Unit, UnitType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `simple_ext4::mkfs::make` and `vdisk::VDisk` [INFO] [stdout] --> src/simple_ext4/fs.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{simple_ext4::mkfs::make, vdisk::VDisk}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileAttr` and `ReplyOpen` [INFO] [stdout] --> src/simple_ext4/fs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | FileAttr, FileType, Filesystem, KernelConfig, ReplyAttr, ReplyCreate, ReplyData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | ReplyDirectory, ReplyEmpty, ReplyEntry, ReplyOpen, ReplyWrite, Request, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mode` [INFO] [stdout] --> src/simple_ext4/fs.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | sys::stat::{Mode, SFlag}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UNIX_EPOCH` and `path::PathBuf` [INFO] [stdout] --> src/simple_ext4/fs.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | time::{Duration, UNIX_EPOCH}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackgroundSession` and `MountOption` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use fuser::{BackgroundSession, MountOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MmapMut`, `MmapOptions`, and `Mmap` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use memmap::{Mmap, MmapMut, MmapOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distr::Uniform` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distr::Uniform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `Path`, `ffi::OsStrExt`, and `thread` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | os::unix::{ffi::OsStrExt, fs::MetadataExt}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | process::exit, [INFO] [stdout] 14 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] 15 | thread, u16, usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VDisk` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | vdisk::{self, VDisk, VDiskSize}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/simple_ext4/types.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MountOption` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | Filesystem, KernelConfig, MountOption, ReplyAttr, ReplyCreate, ReplyData, ReplyDirectory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::{BufRead, BufReader, ErrorKind, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{env, fs, io}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `abi-7-26` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | #[cfg(feature = "abi-7-26")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `abi-7-26` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/simple_ext4/mkfs.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error` [INFO] [stdout] --> src/system.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mem::size` [INFO] [stdout] --> src/vdisk.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::mem::size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | error::{AddContext, ErrorKind, FromExternalError, FromRecoverableError, ParserError}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parser.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | type ParserResult = winnow::PResult; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | fn from_error_kind(_input: &I, _kind: ErrorKind) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | _kind: ErrorKind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | fn from_external_error(_: &Input<'a>, _kind: ErrorKind, e: ParseIntError) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | io::{BufReader, Cursor, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | fn chdir(&self, cmd: &ChangeDirCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn touch(&mut self, cmd: &TouchCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | fn mv(&mut self, cmd: &MoveCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | fn make_dir(&mut self, cmd: &MakeDirCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | fn remove(&mut self, cmd: &RemoveCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | fn head(&self, cmd: &HeadCommand) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn list(&self, cmd: &ListCommand) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | fn sort(&self, cmd: &SortCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | fn cat(&self, cmd: &CatCommand) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpaceAround` is never used [INFO] [stdout] --> src/parser.rs:687:7 [INFO] [stdout] | [INFO] [stdout] 687 | trait SpaceAround: Parser + Sized [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_system` is never read [INFO] [stdout] --> src/repl.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Repl [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | file_system: F, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_inode_from_path` and `find_dir` are never used [INFO] [stdout] --> src/simple_ext4/fs.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl SimpleExt4FS { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | fn find_inode_from_path

(&self, path: P) -> FSResult<(Inode, u32)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn find_dir

(&self, path: P) -> FSResult<(Directory, u32)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct FSInFS { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 241 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuse_allow_other_enabled` is never used [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:1893:4 [INFO] [stdout] | [INFO] [stdout] 1893 | fn fuse_allow_other_enabled() -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn render_prompt_segment(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | fn render_prompt_segment(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | fn render_prompt_left(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | fn render_prompt_left(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | fn render_prompt_right(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | fn render_prompt_right(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 72 | _prompt_mode: clap_repl::reedline::PromptEditMode, [INFO] [stdout] 73 | ) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | ) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 83 | history_search: clap_repl::reedline::PromptHistorySearch, [INFO] [stdout] 84 | ) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | ) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ferrix::complete_command::MakeDirCommand` [INFO] [stdout] --> src/bin/flemis_fs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ferrix::complete_command::MakeDirCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ferrix::system::System` [INFO] [stdout] --> src/bin/flemis_fs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ferrix::system::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/bin/flemis_fs.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{info, Level}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `literal` [INFO] [stdout] --> src/parser.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | token::{any, literal, one_of, take_while}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unit` [INFO] [stdout] --> src/repl_v2.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use byte_unit::{Byte, Unit, UnitType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `simple_ext4::mkfs::make` and `vdisk::VDisk` [INFO] [stdout] --> src/simple_ext4/fs.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{simple_ext4::mkfs::make, vdisk::VDisk}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileAttr` and `ReplyOpen` [INFO] [stdout] --> src/simple_ext4/fs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | FileAttr, FileType, Filesystem, KernelConfig, ReplyAttr, ReplyCreate, ReplyData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | ReplyDirectory, ReplyEmpty, ReplyEntry, ReplyOpen, ReplyWrite, Request, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mode` [INFO] [stdout] --> src/simple_ext4/fs.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | sys::stat::{Mode, SFlag}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UNIX_EPOCH` and `path::PathBuf` [INFO] [stdout] --> src/simple_ext4/fs.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | time::{Duration, UNIX_EPOCH}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileAttr`, `Filesystem`, `ReplyAttr`, `ReplyData`, `ReplyDirectory`, `ReplyEntry`, `ReplyWrite`, and `Request` [INFO] [stdout] --> src/simple_ext4/fs.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | FileAttr, Filesystem, Reply, ReplyAttr, ReplyData, ReplyDirectory, ReplyEntry, ReplyWrite, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 997 | Request, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `UNIX_EPOCH` [INFO] [stdout] --> src/simple_ext4/fs.rs:999:21 [INFO] [stdout] | [INFO] [stdout] 999 | use std::time::{Duration, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::OsString` [INFO] [stdout] --> src/simple_ext4/fs.rs:1000:15 [INFO] [stdout] | [INFO] [stdout] 1000 | use std::{ffi::OsString, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackgroundSession` and `MountOption` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use fuser::{BackgroundSession, MountOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MmapMut`, `MmapOptions`, and `Mmap` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use memmap::{Mmap, MmapMut, MmapOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distr::Uniform` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distr::Uniform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `Path`, `ffi::OsStrExt`, and `thread` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | os::unix::{ffi::OsStrExt, fs::MetadataExt}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | process::exit, [INFO] [stdout] 14 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] 15 | thread, u16, usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VDisk` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | vdisk::{self, VDisk, VDiskSize}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/simple_ext4/types.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `self` [INFO] [stdout] --> src/simple_ext4/types.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | use std::time::{self, SystemTime}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MountOption` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | Filesystem, KernelConfig, MountOption, ReplyAttr, ReplyCreate, ReplyData, ReplyDirectory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::{BufRead, BufReader, ErrorKind, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{env, fs, io}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `abi-7-26` [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | #[cfg(feature = "abi-7-26")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `abi-7-26` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/simple_ext4/mkfs.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error` [INFO] [stdout] --> src/system.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mem::size` [INFO] [stdout] --> src/vdisk.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::mem::size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | error::{AddContext, ErrorKind, FromExternalError, FromRecoverableError, ParserError}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parser.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | type ParserResult = winnow::PResult; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | fn from_error_kind(_input: &I, _kind: ErrorKind) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | _kind: ErrorKind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stdout] --> src/parser.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | fn from_external_error(_: &Input<'a>, _kind: ErrorKind, e: ParseIntError) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Reply` [INFO] [stdout] --> src/simple_ext4/fs.rs:996:31 [INFO] [stdout] | [INFO] [stdout] 996 | FileAttr, Filesystem, Reply, ReplyAttr, ReplyData, ReplyDirectory, ReplyEntry, ReplyWrite, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/simple_ext4/flemis_system.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | io::{BufReader, Cursor, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | fn chdir(&self, cmd: &ChangeDirCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn touch(&mut self, cmd: &TouchCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | fn mv(&mut self, cmd: &MoveCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | fn make_dir(&mut self, cmd: &MakeDirCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | fn remove(&mut self, cmd: &RemoveCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | fn head(&self, cmd: &HeadCommand) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn list(&self, cmd: &ListCommand) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | fn sort(&self, cmd: &SortCommand) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/system.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | fn cat(&self, cmd: &CatCommand) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpaceAround` is never used [INFO] [stdout] --> src/parser.rs:687:7 [INFO] [stdout] | [INFO] [stdout] 687 | trait SpaceAround: Parser + Sized [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_system` is never read [INFO] [stdout] --> src/repl.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Repl [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | file_system: F, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_inode_from_path` is never used [INFO] [stdout] --> src/simple_ext4/fs.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl SimpleExt4FS { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | fn find_inode_from_path

(&self, path: P) -> FSResult<(Inode, u32)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct FSInFS { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 241 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuse_allow_other_enabled` is never used [INFO] [stdout] --> src/simple_ext4/fs_in_fs.rs:1893:4 [INFO] [stdout] | [INFO] [stdout] 1893 | fn fuse_allow_other_enabled() -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn render_prompt_segment(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | fn render_prompt_segment(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | fn render_prompt_left(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | fn render_prompt_left(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | fn render_prompt_right(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | fn render_prompt_right(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 72 | _prompt_mode: clap_repl::reedline::PromptEditMode, [INFO] [stdout] 73 | ) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | ) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl_v2.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 83 | history_search: clap_repl::reedline::PromptHistorySearch, [INFO] [stdout] 84 | ) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | ) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.68s [INFO] running `Command { std: "docker" "inspect" "a83cef894c45f9b601b2867effe80baa1c9426fc438e826d6dcd708e0a15471c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83cef894c45f9b601b2867effe80baa1c9426fc438e826d6dcd708e0a15471c", kill_on_drop: false }` [INFO] [stdout] a83cef894c45f9b601b2867effe80baa1c9426fc438e826d6dcd708e0a15471c [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" "-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] 77a5eba16fa8d754c93423df6a962780148c7cf0baf571f7c7e658cf50b5a52c [INFO] running `Command { std: "docker" "start" "-a" "77a5eba16fa8d754c93423df6a962780148c7cf0baf571f7c7e658cf50b5a52c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `literal` [INFO] [stderr] --> src/parser.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | token::{any, literal, one_of, take_while}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Unit` [INFO] [stderr] --> src/repl_v2.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use byte_unit::{Byte, Unit, UnitType}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `simple_ext4::mkfs::make` and `vdisk::VDisk` [INFO] [stderr] --> src/simple_ext4/fs.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{simple_ext4::mkfs::make, vdisk::VDisk}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FileAttr` and `ReplyOpen` [INFO] [stderr] --> src/simple_ext4/fs.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | FileAttr, FileType, Filesystem, KernelConfig, ReplyAttr, ReplyCreate, ReplyData, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 12 | ReplyDirectory, ReplyEmpty, ReplyEntry, ReplyOpen, ReplyWrite, Request, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mode` [INFO] [stderr] --> src/simple_ext4/fs.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | sys::stat::{Mode, SFlag}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `UNIX_EPOCH` and `path::PathBuf` [INFO] [stderr] --> src/simple_ext4/fs.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | path::PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 29 | time::{Duration, UNIX_EPOCH}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BackgroundSession` and `MountOption` [INFO] [stderr] --> src/simple_ext4/flemis_system.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use fuser::{BackgroundSession, MountOption}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MmapMut`, `MmapOptions`, and `Mmap` [INFO] [stderr] --> src/simple_ext4/flemis_system.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use memmap::{Mmap, MmapMut, MmapOptions}; [INFO] [stderr] | ^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::distr::Uniform` [INFO] [stderr] --> src/simple_ext4/flemis_system.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rand::distr::Uniform; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `Mutex`, `Path`, `ffi::OsStrExt`, and `thread` [INFO] [stderr] --> src/simple_ext4/flemis_system.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | os::unix::{ffi::OsStrExt, fs::MetadataExt}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 12 | path::{Path, PathBuf}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 13 | process::exit, [INFO] [stderr] 14 | sync::{Arc, Mutex}, [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] 15 | thread, u16, usize, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `VDisk` [INFO] [stderr] --> src/simple_ext4/flemis_system.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | vdisk::{self, VDisk, VDiskSize}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::debug` [INFO] [stderr] --> src/simple_ext4/types.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use tracing::debug; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MountOption` [INFO] [stderr] --> src/simple_ext4/fs_in_fs.rs:7:31 [INFO] [stderr] | [INFO] [stderr] 7 | Filesystem, KernelConfig, MountOption, ReplyAttr, ReplyCreate, ReplyData, ReplyDirectory, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ErrorKind` [INFO] [stderr] --> src/simple_ext4/fs_in_fs.rs:16:35 [INFO] [stderr] | [INFO] [stderr] 16 | use std::io::{BufRead, BufReader, ErrorKind, Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `env` [INFO] [stderr] --> src/simple_ext4/fs_in_fs.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | use std::{env, fs, io}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `abi-7-26` [INFO] [stderr] --> src/simple_ext4/fs_in_fs.rs:468:15 [INFO] [stderr] | [INFO] [stderr] 468 | #[cfg(feature = "abi-7-26")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `abi-7-26` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `anyhow` [INFO] [stderr] --> src/simple_ext4/mkfs.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{anyhow, bail}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::error` [INFO] [stderr] --> src/system.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::error; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::mem::size` [INFO] [stderr] --> src/vdisk.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::mem::size; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stderr] --> src/parser.rs:12:25 [INFO] [stderr] | [INFO] [stderr] 12 | error::{AddContext, ErrorKind, FromExternalError, FromRecoverableError, ParserError}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> src/parser.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | type ParserResult = winnow::PResult; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stderr] --> src/parser.rs:63:43 [INFO] [stderr] | [INFO] [stderr] 63 | fn from_error_kind(_input: &I, _kind: ErrorKind) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stderr] --> src/parser.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | _kind: ErrorKind, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated enum `winnow::error::ErrorKind` [INFO] [stderr] --> src/parser.rs:114:50 [INFO] [stderr] | [INFO] [stderr] 114 | fn from_external_error(_: &Input<'a>, _kind: ErrorKind, e: ParseIntError) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/simple_ext4/flemis_system.rs:10:29 [INFO] [stderr] | [INFO] [stderr] 10 | io::{BufReader, Cursor, Read, Seek, Write}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/system.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | fn chdir(&self, cmd: &ChangeDirCommand) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/system.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | fn touch(&mut self, cmd: &TouchCommand) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/system.rs:108:22 [INFO] [stderr] | [INFO] [stderr] 108 | fn mv(&mut self, cmd: &MoveCommand) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/system.rs:112:28 [INFO] [stderr] | [INFO] [stderr] 112 | fn make_dir(&mut self, cmd: &MakeDirCommand) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/system.rs:116:26 [INFO] [stderr] | [INFO] [stderr] 116 | fn remove(&mut self, cmd: &RemoveCommand) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/system.rs:120:20 [INFO] [stderr] | [INFO] [stderr] 120 | fn head(&self, cmd: &HeadCommand) -> Result> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/system.rs:124:20 [INFO] [stderr] | [INFO] [stderr] 124 | fn list(&self, cmd: &ListCommand) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/system.rs:128:20 [INFO] [stderr] | [INFO] [stderr] 128 | fn sort(&self, cmd: &SortCommand) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/system.rs:146:19 [INFO] [stderr] | [INFO] [stderr] 146 | fn cat(&self, cmd: &CatCommand) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: trait `SpaceAround` is never used [INFO] [stderr] --> src/parser.rs:687:7 [INFO] [stderr] | [INFO] [stderr] 687 | trait SpaceAround: Parser + Sized [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `file_system` is never read [INFO] [stderr] --> src/repl.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Repl [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 19 | file_system: F, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Repl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `find_inode_from_path` and `find_dir` are never used [INFO] [stderr] --> src/simple_ext4/fs.rs:144:8 [INFO] [stderr] | [INFO] [stderr] 42 | impl SimpleExt4FS { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 144 | fn find_inode_from_path

(&self, path: P) -> FSResult<(Inode, u32)> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | fn find_dir

(&self, path: P) -> FSResult<(Directory, u32)> [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `size` is never read [INFO] [stderr] --> src/simple_ext4/fs_in_fs.rs:241:5 [INFO] [stderr] | [INFO] [stderr] 236 | pub struct FSInFS { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 241 | size: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fuse_allow_other_enabled` is never used [INFO] [stderr] --> src/simple_ext4/fs_in_fs.rs:1893:4 [INFO] [stderr] | [INFO] [stderr] 1893 | fn fuse_allow_other_enabled() -> io::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl_v2.rs:45:30 [INFO] [stderr] | [INFO] [stderr] 45 | fn render_prompt_segment(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 45 | fn render_prompt_segment(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl_v2.rs:62:27 [INFO] [stderr] | [INFO] [stderr] 62 | fn render_prompt_left(&self) -> std::borrow::Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 62 | fn render_prompt_left(&self) -> std::borrow::Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl_v2.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | fn render_prompt_right(&self) -> std::borrow::Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 66 | fn render_prompt_right(&self) -> std::borrow::Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl_v2.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 72 | _prompt_mode: clap_repl::reedline::PromptEditMode, [INFO] [stderr] 73 | ) -> std::borrow::Cow { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 73 | ) -> std::borrow::Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl_v2.rs:77:42 [INFO] [stderr] | [INFO] [stderr] 77 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 77 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl_v2.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 83 | history_search: clap_repl::reedline::PromptHistorySearch, [INFO] [stderr] 84 | ) -> std::borrow::Cow { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 84 | ) -> std::borrow::Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FileAttr`, `Filesystem`, `ReplyAttr`, `ReplyData`, `ReplyDirectory`, `ReplyEntry`, `ReplyWrite`, and `Request` [INFO] [stderr] --> src/simple_ext4/fs.rs:996:9 [INFO] [stderr] | [INFO] [stderr] 996 | FileAttr, Filesystem, Reply, ReplyAttr, ReplyData, ReplyDirectory, ReplyEntry, ReplyWrite, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 997 | Request, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Duration` and `UNIX_EPOCH` [INFO] [stderr] --> src/simple_ext4/fs.rs:999:21 [INFO] [stderr] | [INFO] [stderr] 999 | use std::time::{Duration, UNIX_EPOCH}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ffi::OsString` [INFO] [stderr] --> src/simple_ext4/fs.rs:1000:15 [INFO] [stderr] | [INFO] [stderr] 1000 | use std::{ffi::OsString, path::PathBuf}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SystemTime` and `self` [INFO] [stderr] --> src/simple_ext4/types.rs:453:21 [INFO] [stderr] | [INFO] [stderr] 453 | use std::time::{self, SystemTime}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Reply` [INFO] [stderr] --> src/simple_ext4/fs.rs:996:31 [INFO] [stderr] | [INFO] [stderr] 996 | FileAttr, Filesystem, Reply, ReplyAttr, ReplyData, ReplyDirectory, ReplyEntry, ReplyWrite, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `find_inode_from_path` is never used [INFO] [stderr] --> src/simple_ext4/fs.rs:144:8 [INFO] [stderr] | [INFO] [stderr] 42 | impl SimpleExt4FS { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 144 | fn find_inode_from_path

(&self, path: P) -> FSResult<(Inode, u32)> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ferrix` (lib) generated 45 warnings (run `cargo fix --lib -p ferrix` to apply 24 suggestions) [INFO] [stderr] warning: `ferrix` (lib test) generated 50 warnings (44 duplicates) (run `cargo fix --lib -p ferrix --tests` to apply 4 suggestions) [INFO] [stderr] warning: unused import: `ferrix::complete_command::MakeDirCommand` [INFO] [stderr] --> src/bin/flemis_fs.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use ferrix::complete_command::MakeDirCommand; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ferrix::system::System` [INFO] [stderr] --> src/bin/flemis_fs.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use ferrix::system::System; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/bin/flemis_fs.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | use tracing::{info, Level}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ferrix` (bin "flemis_fs" test) generated 3 warnings (run `cargo fix --bin "flemis_fs" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ferrix-0d8ee9d1a2caf92a) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test parser::tests::test_exit_command ... ok [INFO] [stdout] test parser::tests::test_touch_command ... ok [INFO] [stdout] test parser::tests::test_parse_path_buffer ... ok [INFO] [stdout] test parser::tests::test_parse_all_commands ... ok [INFO] [stdout] test parser::tests::test_parse_unsigned_integer ... ok [INFO] [stdout] test parser::tests::test_remove_command ... ok [INFO] [stdout] test parser::tests::test_cat_command ... ok [INFO] [stdout] test parser::tests::test_sort_command ... ok [INFO] [stdout] test parser::tests::test_list_command ... ok [INFO] [stdout] test simple_ext4::fs::tests::data_block_seek_position ... ok [INFO] [stdout] test parser::tests::test_head_command ... ok [INFO] [stdout] test parser::tests::test_mkdir_command ... ok [INFO] [stdout] test parser::tests::test_bad_touch_command ... ok [INFO] [stdout] test parser::tests::test_single_line_comment ... ok [INFO] [stdout] test simple_ext4::fs::tests::inode_seek_position ... ok [INFO] [stdout] test simple_ext4::fs::tests::inode_offsets ... ok [INFO] [stdout] test parser::tests::test_move_command ... ok [INFO] [stdout] test simple_ext4::types::tests::group_has_data_block ... ok [INFO] [stdout] test simple_ext4::types::tests::group_release_data_block ... ok [INFO] [stdout] test vdisk::tests::test_new_disk_creation ... ok [INFO] [stdout] test simple_ext4::types::tests::superblock_new ... ok [INFO] [stdout] test simple_ext4::fs::tests::find_dir ... ok [INFO] [stdout] test simple_ext4::fs::tests::save_dir ... ok [INFO] [stdout] test simple_ext4::types::tests::directory_entry ... ok [INFO] [stdout] test simple_ext4::types::tests::directory_serialization ... ok [INFO] [stdout] test simple_ext4::types::tests::group_has_inode ... ok [INFO] [stdout] test simple_ext4::types::tests::group_serialization ... ok [INFO] [stdout] test simple_ext4::types::tests::superblock_checksum ... ok [INFO] [stdout] test vdisk::tests::unix_tests::test_unix_specific_disk_ops ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/ferrix.rs (/opt/rustwide/target/debug/deps/ferrix-6b56e04674ec94d3) [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] [stderr] Running unittests src/bin/flemis_fs.rs (/opt/rustwide/target/debug/deps/flemis_fs-627b5292b3649a69) [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] [stderr] Doc-tests ferrix [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" "77a5eba16fa8d754c93423df6a962780148c7cf0baf571f7c7e658cf50b5a52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a5eba16fa8d754c93423df6a962780148c7cf0baf571f7c7e658cf50b5a52c", kill_on_drop: false }` [INFO] [stdout] 77a5eba16fa8d754c93423df6a962780148c7cf0baf571f7c7e658cf50b5a52c