[INFO] cloning repository https://github.com/fcsonline/tmux-thumbs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fcsonline/tmux-thumbs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcsonline%2Ftmux-thumbs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcsonline%2Ftmux-thumbs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae91d5f7c0d989933e86409833c46a1eca521b6a [INFO] testing fcsonline/tmux-thumbs 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%2Ffcsonline%2Ftmux-thumbs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fcsonline/tmux-thumbs [INFO] finished tweaking git repo https://github.com/fcsonline/tmux-thumbs [INFO] tweaked toml for git repo https://github.com/fcsonline/tmux-thumbs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fcsonline/tmux-thumbs 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/fcsonline/tmux-thumbs 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 [ERROR] error running command: no output for 300 seconds [INFO] testing fcsonline/tmux-thumbs 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%2Ffcsonline%2Ftmux-thumbs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fcsonline/tmux-thumbs [INFO] finished tweaking git repo https://github.com/fcsonline/tmux-thumbs [INFO] tweaked toml for git repo https://github.com/fcsonline/tmux-thumbs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fcsonline/tmux-thumbs 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/fcsonline/tmux-thumbs 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b143628fe5badc554ea1d4235de898e87841fecd43ce909dda0fbdede9d49d3b [INFO] running `Command { std: "docker" "start" "-a" "b143628fe5badc554ea1d4235de898e87841fecd43ce909dda0fbdede9d49d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b143628fe5badc554ea1d4235de898e87841fecd43ce909dda0fbdede9d49d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b143628fe5badc554ea1d4235de898e87841fecd43ce909dda0fbdede9d49d3b", kill_on_drop: false }` [INFO] [stdout] b143628fe5badc554ea1d4235de898e87841fecd43ce909dda0fbdede9d49d3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c92303a7d9312872097179781d34c82bdd3f75e1e9be2a0133b08d53df132ec0 [INFO] running `Command { std: "docker" "start" "-a" "c92303a7d9312872097179781d34c82bdd3f75e1e9be2a0133b08d53df132ec0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling thumbs v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `last_executed` is never used [INFO] [stdout] --> src/swapper.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 10 | trait Executor { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 11 | fn execute(&mut self, args: Vec) -> String; [INFO] [stdout] 12 | fn last_executed(&self) -> Option>; [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/swapper.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | executor: Box<&'a mut dyn Executor>, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 82 | ) -> Swapper { [INFO] [stdout] | ------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 82 | ) -> Swapper<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/alphabets.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | fn new(letters: &'a str) -> Alphabet { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [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 consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 33 | fn new(letters: &'a str) -> Alphabet<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/alphabets.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_alphabet(alphabet_name: &str) -> Alphabet { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_alphabet(alphabet_name: &str) -> Alphabet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `Command { std: "docker" "inspect" "c92303a7d9312872097179781d34c82bdd3f75e1e9be2a0133b08d53df132ec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c92303a7d9312872097179781d34c82bdd3f75e1e9be2a0133b08d53df132ec0", kill_on_drop: false }` [INFO] [stdout] c92303a7d9312872097179781d34c82bdd3f75e1e9be2a0133b08d53df132ec0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3889d76f55a1ed48bbc602218bd8e51540904017d2462d691a1984306188c494 [INFO] running `Command { std: "docker" "start" "-a" "3889d76f55a1ed48bbc602218bd8e51540904017d2462d691a1984306188c494", kill_on_drop: false }` [INFO] [stderr] Compiling thumbs v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swapper.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | executor: Box<&'a mut dyn Executor>, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 82 | ) -> Swapper { [INFO] [stdout] | ------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 82 | ) -> Swapper<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/alphabets.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | fn new(letters: &'a str) -> Alphabet { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [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 consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 33 | fn new(letters: &'a str) -> Alphabet<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/alphabets.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_alphabet(alphabet_name: &str) -> Alphabet { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_alphabet(alphabet_name: &str) -> Alphabet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:253:44 [INFO] [stdout] | [INFO] [stdout] 253 | assert_eq!(results.get(0).unwrap().text.clone(), "/tmp/foo/bar_lol"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:254:44 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(results.get(1).unwrap().text.clone(), "/var/log/boot-strap.log"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:255:44 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(results.get(2).unwrap().text.clone(), "../log/kern.log"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:265:44 [INFO] [stdout] | [INFO] [stdout] 265 | assert_eq!(results.get(0).unwrap().text.clone(), "/app/routes/$routeId/$objectId"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:266:44 [INFO] [stdout] | [INFO] [stdout] 266 | assert_eq!(results.get(1).unwrap().text.clone(), "/app/routes/$sectionId"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:276:44 [INFO] [stdout] | [INFO] [stdout] 276 | assert_eq!(results.get(0).unwrap().text.clone(), "~/.gnu/.config.txt"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:286:44 [INFO] [stdout] | [INFO] [stdout] 286 | assert_eq!(results.get(0).unwrap().text.clone(), "dev/api/[slug]/foo"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:305:44 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(results.get(0).unwrap().text.clone(), "fd70b5695"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:306:44 [INFO] [stdout] | [INFO] [stdout] 306 | assert_eq!(results.get(1).unwrap().text.clone(), "5246ddf"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:307:44 [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(results.get(2).unwrap().text.clone(), "f924213"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:309:35 [INFO] [stdout] | [INFO] [stdout] 309 | results.get(3).unwrap().text.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:321:44 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(results.get(0).unwrap().text.clone(), "127.0.0.1"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:322:44 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(results.get(1).unwrap().text.clone(), "255.255.10.255"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:323:44 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(results.get(2).unwrap().text.clone(), "127.0.0.1"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:333:44 [INFO] [stdout] | [INFO] [stdout] 333 | assert_eq!(results.get(0).unwrap().text.clone(), "fe80::2:202:fe4"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:335:35 [INFO] [stdout] | [INFO] [stdout] 335 | results.get(1).unwrap().text.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:338:44 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(results.get(2).unwrap().text.clone(), "fe80::2:1"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:339:44 [INFO] [stdout] | [INFO] [stdout] 339 | assert_eq!(results.get(3).unwrap().text.clone(), "fe80:22:312:fe::1%eth0"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:349:47 [INFO] [stdout] | [INFO] [stdout] 349 | assert_eq!(results.get(0).unwrap().pattern.clone(), "markdown_url"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:350:44 [INFO] [stdout] | [INFO] [stdout] 350 | assert_eq!(results.get(0).unwrap().text.clone(), "https://github.io?foo=bar"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:351:47 [INFO] [stdout] | [INFO] [stdout] 351 | assert_eq!(results.get(1).unwrap().pattern.clone(), "markdown_url"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:352:44 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(results.get(1).unwrap().text.clone(), "http://cdn.com/img.jpg"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:362:44 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(results.get(0).unwrap().text.clone(), "https://www.rust-lang.org/tools"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:363:47 [INFO] [stdout] | [INFO] [stdout] 363 | assert_eq!(results.get(0).unwrap().pattern.clone(), "url"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:364:44 [INFO] [stdout] | [INFO] [stdout] 364 | assert_eq!(results.get(1).unwrap().text.clone(), "https://crates.io"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:365:47 [INFO] [stdout] | [INFO] [stdout] 365 | assert_eq!(results.get(1).unwrap().pattern.clone(), "url"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:366:44 [INFO] [stdout] | [INFO] [stdout] 366 | assert_eq!(results.get(2).unwrap().text.clone(), "https://github.io?foo=bar"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:367:47 [INFO] [stdout] | [INFO] [stdout] 367 | assert_eq!(results.get(2).unwrap().pattern.clone(), "url"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:368:44 [INFO] [stdout] | [INFO] [stdout] 368 | assert_eq!(results.get(3).unwrap().text.clone(), "ssh://github.io"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:369:47 [INFO] [stdout] | [INFO] [stdout] 369 | assert_eq!(results.get(3).unwrap().pattern.clone(), "url"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:379:44 [INFO] [stdout] | [INFO] [stdout] 379 | assert_eq!(results.get(0).unwrap().text.clone(), "0xfd70b5695"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:380:44 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(results.get(1).unwrap().text.clone(), "0x5246ddf"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:381:44 [INFO] [stdout] | [INFO] [stdout] 381 | assert_eq!(results.get(2).unwrap().text.clone(), "0x973113"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:391:44 [INFO] [stdout] | [INFO] [stdout] 391 | assert_eq!(results.get(0).unwrap().text.clone(), "#fd7b56"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:392:44 [INFO] [stdout] | [INFO] [stdout] 392 | assert_eq!(results.get(1).unwrap().text.clone(), "#FF00FF"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:393:44 [INFO] [stdout] | [INFO] [stdout] 393 | assert_eq!(results.get(2).unwrap().text.clone(), "#00fF05"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:394:44 [INFO] [stdout] | [INFO] [stdout] 394 | assert_eq!(results.get(3).unwrap().text.clone(), "#abcd00"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:405:35 [INFO] [stdout] | [INFO] [stdout] 405 | results.get(0).unwrap().text.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:427:44 [INFO] [stdout] | [INFO] [stdout] 427 | assert_eq!(results.get(0).unwrap().text.clone(), "src/main.rs"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:437:44 [INFO] [stdout] | [INFO] [stdout] 437 | assert_eq!(results.get(0).unwrap().text.clone(), "src/main.rs"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:447:44 [INFO] [stdout] | [INFO] [stdout] 447 | assert_eq!(results.get(0).unwrap().text.clone(), "samples/test1"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:448:44 [INFO] [stdout] | [INFO] [stdout] 448 | assert_eq!(results.get(1).unwrap().text.clone(), "samples/test2"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:458:44 [INFO] [stdout] | [INFO] [stdout] 458 | assert_eq!(results.get(0).unwrap().text.clone(), "http://foo.bar"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:459:44 [INFO] [stdout] | [INFO] [stdout] 459 | assert_eq!(results.get(1).unwrap().text.clone(), "CUSTOM-52463"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:460:44 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(results.get(2).unwrap().text.clone(), "ISSUE-123"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:461:44 [INFO] [stdout] | [INFO] [stdout] 461 | assert_eq!(results.get(3).unwrap().text.clone(), "/var/fd70b569/9999.log"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:462:44 [INFO] [stdout] | [INFO] [stdout] 462 | assert_eq!(results.get(4).unwrap().text.clone(), "52463"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:463:44 [INFO] [stdout] | [INFO] [stdout] 463 | assert_eq!(results.get(5).unwrap().text.clone(), "973113"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:465:35 [INFO] [stdout] | [INFO] [stdout] 465 | results.get(6).unwrap().text.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:468:44 [INFO] [stdout] | [INFO] [stdout] 468 | assert_eq!(results.get(7).unwrap().text.clone(), "8888"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state.rs:469:44 [INFO] [stdout] | [INFO] [stdout] 469 | assert_eq!(results.get(8).unwrap().text.clone(), "https://crates.io/23456/fd70b569"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "3889d76f55a1ed48bbc602218bd8e51540904017d2462d691a1984306188c494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3889d76f55a1ed48bbc602218bd8e51540904017d2462d691a1984306188c494", kill_on_drop: false }` [INFO] [stdout] 3889d76f55a1ed48bbc602218bd8e51540904017d2462d691a1984306188c494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 80be297d847c121cc64eb822943239945ac3d2a7755be5937db8fe7a47adb9ff [INFO] running `Command { std: "docker" "start" "-a" "80be297d847c121cc64eb822943239945ac3d2a7755be5937db8fe7a47adb9ff", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/alphabets.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | fn new(letters: &'a str) -> Alphabet { [INFO] [stderr] | ^^ -------- the lifetime gets resolved as `'a` [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 consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 33 | fn new(letters: &'a str) -> Alphabet<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/alphabets.rs:67:36 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn get_alphabet(alphabet_name: &str) -> Alphabet { [INFO] [stderr] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn get_alphabet(alphabet_name: &str) -> Alphabet<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:253:44 [INFO] [stderr] | [INFO] [stderr] 253 | assert_eq!(results.get(0).unwrap().text.clone(), "/tmp/foo/bar_lol"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:254:44 [INFO] [stderr] | [INFO] [stderr] 254 | assert_eq!(results.get(1).unwrap().text.clone(), "/var/log/boot-strap.log"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:255:44 [INFO] [stderr] | [INFO] [stderr] 255 | assert_eq!(results.get(2).unwrap().text.clone(), "../log/kern.log"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:265:44 [INFO] [stderr] | [INFO] [stderr] 265 | assert_eq!(results.get(0).unwrap().text.clone(), "/app/routes/$routeId/$objectId"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:266:44 [INFO] [stderr] | [INFO] [stderr] 266 | assert_eq!(results.get(1).unwrap().text.clone(), "/app/routes/$sectionId"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:276:44 [INFO] [stderr] | [INFO] [stderr] 276 | assert_eq!(results.get(0).unwrap().text.clone(), "~/.gnu/.config.txt"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:286:44 [INFO] [stderr] | [INFO] [stderr] 286 | assert_eq!(results.get(0).unwrap().text.clone(), "dev/api/[slug]/foo"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:305:44 [INFO] [stderr] | [INFO] [stderr] 305 | assert_eq!(results.get(0).unwrap().text.clone(), "fd70b5695"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:306:44 [INFO] [stderr] | [INFO] [stderr] 306 | assert_eq!(results.get(1).unwrap().text.clone(), "5246ddf"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:307:44 [INFO] [stderr] | [INFO] [stderr] 307 | assert_eq!(results.get(2).unwrap().text.clone(), "f924213"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:309:35 [INFO] [stderr] | [INFO] [stderr] 309 | results.get(3).unwrap().text.clone(), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:321:44 [INFO] [stderr] | [INFO] [stderr] 321 | assert_eq!(results.get(0).unwrap().text.clone(), "127.0.0.1"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:322:44 [INFO] [stderr] | [INFO] [stderr] 322 | assert_eq!(results.get(1).unwrap().text.clone(), "255.255.10.255"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:323:44 [INFO] [stderr] | [INFO] [stderr] 323 | assert_eq!(results.get(2).unwrap().text.clone(), "127.0.0.1"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:333:44 [INFO] [stderr] | [INFO] [stderr] 333 | assert_eq!(results.get(0).unwrap().text.clone(), "fe80::2:202:fe4"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:335:35 [INFO] [stderr] | [INFO] [stderr] 335 | results.get(1).unwrap().text.clone(), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:338:44 [INFO] [stderr] | [INFO] [stderr] 338 | assert_eq!(results.get(2).unwrap().text.clone(), "fe80::2:1"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:339:44 [INFO] [stderr] | [INFO] [stderr] 339 | assert_eq!(results.get(3).unwrap().text.clone(), "fe80:22:312:fe::1%eth0"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:349:47 [INFO] [stderr] | [INFO] [stderr] 349 | assert_eq!(results.get(0).unwrap().pattern.clone(), "markdown_url"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:350:44 [INFO] [stderr] | [INFO] [stderr] 350 | assert_eq!(results.get(0).unwrap().text.clone(), "https://github.io?foo=bar"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:351:47 [INFO] [stderr] | [INFO] [stderr] 351 | assert_eq!(results.get(1).unwrap().pattern.clone(), "markdown_url"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:352:44 [INFO] [stderr] | [INFO] [stderr] 352 | assert_eq!(results.get(1).unwrap().text.clone(), "http://cdn.com/img.jpg"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:362:44 [INFO] [stderr] | [INFO] [stderr] 362 | assert_eq!(results.get(0).unwrap().text.clone(), "https://www.rust-lang.org/tools"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:363:47 [INFO] [stderr] | [INFO] [stderr] 363 | assert_eq!(results.get(0).unwrap().pattern.clone(), "url"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:364:44 [INFO] [stderr] | [INFO] [stderr] 364 | assert_eq!(results.get(1).unwrap().text.clone(), "https://crates.io"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:365:47 [INFO] [stderr] | [INFO] [stderr] 365 | assert_eq!(results.get(1).unwrap().pattern.clone(), "url"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:366:44 [INFO] [stderr] | [INFO] [stderr] 366 | assert_eq!(results.get(2).unwrap().text.clone(), "https://github.io?foo=bar"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:367:47 [INFO] [stderr] | [INFO] [stderr] 367 | assert_eq!(results.get(2).unwrap().pattern.clone(), "url"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:368:44 [INFO] [stderr] | [INFO] [stderr] 368 | assert_eq!(results.get(3).unwrap().text.clone(), "ssh://github.io"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:369:47 [INFO] [stderr] | [INFO] [stderr] 369 | assert_eq!(results.get(3).unwrap().pattern.clone(), "url"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:379:44 [INFO] [stderr] | [INFO] [stderr] 379 | assert_eq!(results.get(0).unwrap().text.clone(), "0xfd70b5695"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:380:44 [INFO] [stderr] | [INFO] [stderr] 380 | assert_eq!(results.get(1).unwrap().text.clone(), "0x5246ddf"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:381:44 [INFO] [stderr] | [INFO] [stderr] 381 | assert_eq!(results.get(2).unwrap().text.clone(), "0x973113"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:391:44 [INFO] [stderr] | [INFO] [stderr] 391 | assert_eq!(results.get(0).unwrap().text.clone(), "#fd7b56"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:392:44 [INFO] [stderr] | [INFO] [stderr] 392 | assert_eq!(results.get(1).unwrap().text.clone(), "#FF00FF"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:393:44 [INFO] [stderr] | [INFO] [stderr] 393 | assert_eq!(results.get(2).unwrap().text.clone(), "#00fF05"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:394:44 [INFO] [stderr] | [INFO] [stderr] 394 | assert_eq!(results.get(3).unwrap().text.clone(), "#abcd00"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:405:35 [INFO] [stderr] | [INFO] [stderr] 405 | results.get(0).unwrap().text.clone(), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:427:44 [INFO] [stderr] | [INFO] [stderr] 427 | assert_eq!(results.get(0).unwrap().text.clone(), "src/main.rs"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:437:44 [INFO] [stderr] | [INFO] [stderr] 437 | assert_eq!(results.get(0).unwrap().text.clone(), "src/main.rs"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:447:44 [INFO] [stderr] | [INFO] [stderr] 447 | assert_eq!(results.get(0).unwrap().text.clone(), "samples/test1"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:448:44 [INFO] [stderr] | [INFO] [stderr] 448 | assert_eq!(results.get(1).unwrap().text.clone(), "samples/test2"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:458:44 [INFO] [stderr] | [INFO] [stderr] 458 | assert_eq!(results.get(0).unwrap().text.clone(), "http://foo.bar"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:459:44 [INFO] [stderr] | [INFO] [stderr] 459 | assert_eq!(results.get(1).unwrap().text.clone(), "CUSTOM-52463"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:460:44 [INFO] [stderr] | [INFO] [stderr] 460 | assert_eq!(results.get(2).unwrap().text.clone(), "ISSUE-123"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:461:44 [INFO] [stderr] | [INFO] [stderr] 461 | assert_eq!(results.get(3).unwrap().text.clone(), "/var/fd70b569/9999.log"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:462:44 [INFO] [stderr] | [INFO] [stderr] 462 | assert_eq!(results.get(4).unwrap().text.clone(), "52463"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:463:44 [INFO] [stderr] | [INFO] [stderr] 463 | assert_eq!(results.get(5).unwrap().text.clone(), "973113"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:465:35 [INFO] [stderr] | [INFO] [stderr] 465 | results.get(6).unwrap().text.clone(), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:468:44 [INFO] [stderr] | [INFO] [stderr] 468 | assert_eq!(results.get(7).unwrap().text.clone(), "8888"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state.rs:469:44 [INFO] [stderr] | [INFO] [stderr] 469 | assert_eq!(results.get(8).unwrap().text.clone(), "https://crates.io/23456/fd70b569"); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/swapper.rs:76:20 [INFO] [stderr] | [INFO] [stderr] 76 | executor: Box<&'a mut dyn Executor>, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 82 | ) -> Swapper { [INFO] [stderr] | ------- the lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 82 | ) -> Swapper<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `thumbs` (bin "thumbs" test) generated 53 warnings (run `cargo fix --bin "thumbs" --tests` to apply 53 suggestions) [INFO] [stderr] warning: `thumbs` (bin "tmux-thumbs" test) generated 1 warning (run `cargo fix --bin "tmux-thumbs" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/thumbs-50cfad79c247544d) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test alphabets::tests::composed_matches ... ok [INFO] [stdout] test alphabets::tests::composed_matches_multiple ... ok [INFO] [stdout] test alphabets::tests::composed_matches_max ... ok [INFO] [stdout] test colors::tests::match_color ... ok [INFO] [stdout] test alphabets::tests::simple_matches ... ok [INFO] [stdout] test colors::tests::parse_rgb ... ok [INFO] [stdout] test state::tests::match_process_port ... ok [INFO] [stdout] test state::tests::match_docker ... ok [INFO] [stdout] test state::tests::match_addresses ... ok [INFO] [stdout] test state::tests::match_ipfs ... ok [INFO] [stdout] test state::tests::match_diff_a ... ok [INFO] [stdout] test state::tests::match_hex_colors ... ok [INFO] [stdout] test state::tests::match_diff_b ... ok [INFO] [stdout] test state::tests::match_ips ... ok [INFO] [stdout] test state::tests::match_markdown_urls ... ok [INFO] [stdout] test view::tests::hint_text ... ok [INFO] [stdout] test colors::tests::no_match_color - should panic ... ok [INFO] [stdout] test colors::tests::parse_invalid_rgb - should panic ... ok [INFO] [stdout] test state::tests::match_diff_summary ... ok [INFO] [stdout] test state::tests::match_home ... ok [INFO] [stdout] test state::tests::match_ipv6s ... ok [INFO] [stdout] test state::tests::match_bash ... ok [INFO] [stdout] test state::tests::match_paths ... ok [INFO] [stdout] test state::tests::match_reverse ... ok [INFO] [stdout] test state::tests::match_uids ... ok [INFO] [stdout] test state::tests::match_shas ... ok [INFO] [stdout] test state::tests::match_unique ... ok [INFO] [stdout] test state::tests::match_urls ... ok [INFO] [stdout] test state::tests::match_slugs ... ok [INFO] [stdout] test state::tests::match_routes ... ok [INFO] [stdout] test state::tests::priority ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s [INFO] [stdout] [INFO] [stderr] Running unittests src/swapper.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tmux_thumbs-c4cf527283b46761) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::retrieve_active_pane ... ok [INFO] [stdout] test tests::quoted_execution ... ok [INFO] [stdout] test tests::swap_panes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "80be297d847c121cc64eb822943239945ac3d2a7755be5937db8fe7a47adb9ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80be297d847c121cc64eb822943239945ac3d2a7755be5937db8fe7a47adb9ff", kill_on_drop: false }` [INFO] [stdout] 80be297d847c121cc64eb822943239945ac3d2a7755be5937db8fe7a47adb9ff