[INFO] cloning repository https://github.com/jpothi01/five [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jpothi01/five" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpothi01%2Ffive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpothi01%2Ffive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3408396401e235a29e7a8d4da0230629cfea7dbd [INFO] testing jpothi01/five against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpothi01%2Ffive" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jpothi01/five [INFO] finished tweaking git repo https://github.com/jpothi01/five [INFO] tweaked toml for git repo https://github.com/jpothi01/five written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jpothi01/five on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jpothi01/five 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3999d9f43565884a99c89dd956c64da45e2dc01e84798e17cb0406da1e925910 [INFO] running `Command { std: "docker" "start" "-a" "3999d9f43565884a99c89dd956c64da45e2dc01e84798e17cb0406da1e925910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3999d9f43565884a99c89dd956c64da45e2dc01e84798e17cb0406da1e925910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3999d9f43565884a99c89dd956c64da45e2dc01e84798e17cb0406da1e925910", kill_on_drop: false }` [INFO] [stdout] 3999d9f43565884a99c89dd956c64da45e2dc01e84798e17cb0406da1e925910 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8d4893e8343e2a6c0d2c2267684b252cbc385c9230bf0169337dcf1ce8b13e28 [INFO] running `Command { std: "docker" "start" "-a" "8d4893e8343e2a6c0d2c2267684b252cbc385c9230bf0169337dcf1ce8b13e28", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling structopt v0.3.20 [INFO] [stderr] Compiling five v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FileIndexEntry` [INFO] [stdout] --> src/components/file_pane.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::indexer::index::{FileIndexEntry, FileTreeFolder, FileTreeNode, Index}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/indexer/index.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | IndexError::new(error.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_cursor` and `move_cursor_to_end` are never used [INFO] [stdout] --> src/buffer.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl Buffer { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn move_cursor(&mut self, offset: isize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn move_cursor_to_end(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/components/root.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(indexer: &dyn Indexer) -> RootComponent { [INFO] [stdout] | ^^^^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(indexer: &dyn Indexer) -> RootComponent<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/indexer/local_index.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | mem::replace(index.deref_mut(), Some(Index::new(root_node))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = mem::replace(index.deref_mut(), Some(Index::new(root_node))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/indexer/ssh_index.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | mem::replace(index.deref_mut(), Some(retrieved_index.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 161 | let _ = mem::replace(index.deref_mut(), Some(retrieved_index.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.50s [INFO] running `Command { std: "docker" "inspect" "8d4893e8343e2a6c0d2c2267684b252cbc385c9230bf0169337dcf1ce8b13e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4893e8343e2a6c0d2c2267684b252cbc385c9230bf0169337dcf1ce8b13e28", kill_on_drop: false }` [INFO] [stdout] 8d4893e8343e2a6c0d2c2267684b252cbc385c9230bf0169337dcf1ce8b13e28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c26054aca2cd34ab8a4ae61233bd2569fe769fa437ec9d219c42ecd20f5fb97e [INFO] running `Command { std: "docker" "start" "-a" "c26054aca2cd34ab8a4ae61233bd2569fe769fa437ec9d219c42ecd20f5fb97e", kill_on_drop: false }` [INFO] [stderr] Compiling five v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FileIndexEntry` [INFO] [stdout] --> src/components/file_pane.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::indexer::index::{FileIndexEntry, FileTreeFolder, FileTreeNode, Index}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/indexer/index.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | IndexError::new(error.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_cursor_to_end` is never used [INFO] [stdout] --> src/buffer.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn move_cursor_to_end(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/components/root.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(indexer: &dyn Indexer) -> RootComponent { [INFO] [stdout] | ^^^^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(indexer: &dyn Indexer) -> RootComponent<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/indexer/local_index.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | mem::replace(index.deref_mut(), Some(Index::new(root_node))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = mem::replace(index.deref_mut(), Some(Index::new(root_node))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/indexer/ssh_index.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | mem::replace(index.deref_mut(), Some(retrieved_index.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 161 | let _ = mem::replace(index.deref_mut(), Some(retrieved_index.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "c26054aca2cd34ab8a4ae61233bd2569fe769fa437ec9d219c42ecd20f5fb97e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26054aca2cd34ab8a4ae61233bd2569fe769fa437ec9d219c42ecd20f5fb97e", kill_on_drop: false }` [INFO] [stdout] c26054aca2cd34ab8a4ae61233bd2569fe769fa437ec9d219c42ecd20f5fb97e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 385e9b90927547ab4c7284b23cb7035805c3513822e3a89ee95fa51f2d3dfcae [INFO] running `Command { std: "docker" "start" "-a" "385e9b90927547ab4c7284b23cb7035805c3513822e3a89ee95fa51f2d3dfcae", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `FileIndexEntry` [INFO] [stderr] --> src/components/file_pane.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | use crate::indexer::index::{FileIndexEntry, FileTreeFolder, FileTreeNode, Index}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/indexer/index.rs:117:31 [INFO] [stderr] | [INFO] [stderr] 117 | IndexError::new(error.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `move_cursor_to_end` is never used [INFO] [stderr] --> src/buffer.rs:226:12 [INFO] [stderr] | [INFO] [stderr] 98 | impl Buffer { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 226 | pub fn move_cursor_to_end(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/components/root.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn new(indexer: &dyn Indexer) -> RootComponent { [INFO] [stderr] | ^^^^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 46 | pub fn new(indexer: &dyn Indexer) -> RootComponent<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/indexer/local_index.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | mem::replace(index.deref_mut(), Some(Index::new(root_node))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 57 | let _ = mem::replace(index.deref_mut(), Some(Index::new(root_node))); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/indexer/ssh_index.rs:161:17 [INFO] [stderr] | [INFO] [stderr] 161 | mem::replace(index.deref_mut(), Some(retrieved_index.unwrap())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 161 | let _ = mem::replace(index.deref_mut(), Some(retrieved_index.unwrap())); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `five` (bin "five" test) generated 6 warnings (run `cargo fix --bin "five" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/five-ffa4998498be175e) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test buffer::tests::complex_1 ... ok [INFO] [stdout] test buffer::tests::delete_1 ... ok [INFO] [stdout] test buffer::tests::grow_1 ... ok [INFO] [stdout] test buffer::tests::delete_2 ... ok [INFO] [stdout] test buffer::tests::grow_2 ... ok [INFO] [stdout] test buffer::tests::initialize ... ok [INFO] [stdout] test buffer::tests::move_cursor_left_1 ... ok [INFO] [stdout] test buffer::tests::move_cursor_left_2 ... ok [INFO] [stdout] test buffer::tests::move_cursor_left_multiple_times ... ok [INFO] [stdout] test buffer::tests::move_cursor_left_saturating ... ok [INFO] [stdout] test buffer::tests::move_cursor_right_1 ... ok [INFO] [stdout] test buffer::tests::move_cursor_right_2 ... ok [INFO] [stdout] test buffer::tests::move_cursor_right_saturating ... ok [INFO] [stdout] test buffer::tests::move_cursor_right_multiple_times ... ok [INFO] [stdout] test buffer::tests::simple_insert ... ok [INFO] [stdout] test buffer::tests::move_cursor_nowhere ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "385e9b90927547ab4c7284b23cb7035805c3513822e3a89ee95fa51f2d3dfcae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "385e9b90927547ab4c7284b23cb7035805c3513822e3a89ee95fa51f2d3dfcae", kill_on_drop: false }` [INFO] [stdout] 385e9b90927547ab4c7284b23cb7035805c3513822e3a89ee95fa51f2d3dfcae