[INFO] fetching crate nu_plugin_file 0.16.0... [INFO] testing nu_plugin_file-0.16.0 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] extracting crate nu_plugin_file 0.16.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate nu_plugin_file 0.16.0 [INFO] finished tweaking crates.io crate nu_plugin_file 0.16.0 [INFO] tweaked toml for crates.io crate nu_plugin_file 0.16.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nu_plugin_file 0.16.0 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nu_plugin_file 0.16.0 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nu-path v0.105.1 [INFO] [stderr] Downloaded specta v1.0.5 [INFO] [stderr] Downloaded nu-glob v0.105.1 [INFO] [stderr] Downloaded scroll_derive v0.13.0 [INFO] [stderr] Downloaded nu-plugin-core v0.105.1 [INFO] [stderr] Downloaded nu-plugin v0.105.1 [INFO] [stderr] Downloaded nu-cmd-lang v0.105.1 [INFO] [stderr] Downloaded nu-plugin-engine v0.105.1 [INFO] [stderr] Downloaded nu-engine v0.105.1 [INFO] [stderr] Downloaded pure-rust-locales v0.8.1 [INFO] [stderr] Downloaded nu-plugin-protocol v0.105.1 [INFO] [stderr] Downloaded nu-parser v0.105.1 [INFO] [stderr] Downloaded nu-protocol v0.105.1 [INFO] [stderr] Downloaded nu-plugin-test-support v0.105.1 [INFO] [stderr] Downloaded nu-system v0.105.1 [INFO] [stderr] Downloaded lscolors v0.20.0 [INFO] [stderr] Downloaded goblin v0.10.0 [INFO] [stderr] Downloaded nu-utils v0.105.1 [INFO] [stderr] Downloaded scroll v0.13.0 [INFO] [stderr] Downloaded nu-cmd-base v0.105.1 [INFO] [stderr] Downloaded nu-derive-value v0.105.1 [INFO] [stderr] Downloaded specta-macros v1.0.5 [INFO] [stderr] Downloaded omnipath v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c93a38a305bab2f79415363e76c95d800ed3310d1cbb7a719d60d8d74eb7ef3 [INFO] running `Command { std: "docker" "start" "-a" "5c93a38a305bab2f79415363e76c95d800ed3310d1cbb7a719d60d8d74eb7ef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c93a38a305bab2f79415363e76c95d800ed3310d1cbb7a719d60d8d74eb7ef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c93a38a305bab2f79415363e76c95d800ed3310d1cbb7a719d60d8d74eb7ef3", kill_on_drop: false }` [INFO] [stdout] 5c93a38a305bab2f79415363e76c95d800ed3310d1cbb7a719d60d8d74eb7ef3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93f432da359b677b2754a6b40f651d74bac42857a0119c6b7b7f34976ce31b18 [INFO] running `Command { std: "docker" "start" "-a" "93f432da359b677b2754a6b40f651d74bac42857a0119c6b7b7f34976ce31b18", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling pure-rust-locales v0.8.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling procfs v0.17.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling vte v0.14.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lscolors v0.20.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.1 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling inventory v0.3.20 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling sys-locale v0.3.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling os_pipe v1.2.2 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling nu-glob v0.105.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling doctest-file v1.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling interprocess v2.2.3 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling typetag-impl v0.2.20 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling nu-derive-value v0.105.1 [INFO] [stderr] Compiling scroll_derive v0.13.0 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling specta-macros v1.0.5 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling scroll v0.13.0 [INFO] [stderr] Compiling pwd v1.4.0 [INFO] [stderr] Compiling nu-path v0.105.1 [INFO] [stderr] Compiling goblin v0.10.0 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling typetag v0.2.20 [INFO] [stderr] Compiling nu-utils v0.105.1 [INFO] [stderr] Compiling specta v1.0.5 [INFO] [stderr] Compiling procfs-core v0.17.0 [INFO] [stderr] Compiling chrono-humanize v0.2.3 [INFO] [stderr] Compiling nu-system v0.105.1 [INFO] [stderr] Compiling nu-protocol v0.105.1 [INFO] [stderr] Compiling nu-plugin-protocol v0.105.1 [INFO] [stderr] Compiling nu-engine v0.105.1 [INFO] [stderr] Compiling nu-plugin-core v0.105.1 [INFO] [stderr] Compiling nu-plugin v0.105.1 [INFO] [stderr] Compiling nu_plugin_file v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | fn examples(&self) -> Vec { [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] 67 | fn examples(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "93f432da359b677b2754a6b40f651d74bac42857a0119c6b7b7f34976ce31b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f432da359b677b2754a6b40f651d74bac42857a0119c6b7b7f34976ce31b18", kill_on_drop: false }` [INFO] [stdout] 93f432da359b677b2754a6b40f651d74bac42857a0119c6b7b7f34976ce31b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c98a6c9693cb47e772bc903188038f85f1e4b777c12681e71b05039785e15dcf [INFO] running `Command { std: "docker" "start" "-a" "c98a6c9693cb47e772bc903188038f85f1e4b777c12681e71b05039785e15dcf", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tz-rs v0.7.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling is_debug v1.1.0 [INFO] [stderr] Compiling bytesize v1.3.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling nu-plugin-core v0.105.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling tzdb_data v0.2.2 [INFO] [stderr] Compiling nu-plugin-engine v0.105.1 [INFO] [stderr] Compiling nu-plugin v0.105.1 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling shadow-rs v1.2.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling nu-parser v0.105.1 [INFO] [stderr] Compiling tzdb v0.7.2 [INFO] [stderr] Compiling nu-cmd-base v0.105.1 [INFO] [stderr] Compiling nu-cmd-lang v0.105.1 [INFO] [stderr] Compiling nu-plugin-test-support v0.105.1 [INFO] [stderr] Compiling nu_plugin_file v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `magic_bytes` is never used [INFO] [stdout] --> src/extensions.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn magic_bytes() { [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/main.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | fn examples(&self) -> Vec { [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] 67 | fn examples(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.89s [INFO] running `Command { std: "docker" "inspect" "c98a6c9693cb47e772bc903188038f85f1e4b777c12681e71b05039785e15dcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98a6c9693cb47e772bc903188038f85f1e4b777c12681e71b05039785e15dcf", kill_on_drop: false }` [INFO] [stdout] c98a6c9693cb47e772bc903188038f85f1e4b777c12681e71b05039785e15dcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d085fdac1cf1abf1b4a7dfdb2b0339938de7208bbdc7d8dd13281731cf9b3ae [INFO] running `Command { std: "docker" "start" "-a" "0d085fdac1cf1abf1b4a7dfdb2b0339938de7208bbdc7d8dd13281731cf9b3ae", kill_on_drop: false }` [INFO] [stderr] warning: function `magic_bytes` is never used [INFO] [stderr] --> src/extensions.rs:314:8 [INFO] [stderr] | [INFO] [stderr] 314 | fn magic_bytes() { [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/main.rs:67:17 [INFO] [stderr] | [INFO] [stderr] 67 | fn examples(&self) -> Vec { [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] 67 | fn examples(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `nu_plugin_file` (bin "nu_plugin_file" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nu_plugin_file-32d01ec28d0e0259) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test extensions::test::extension_from_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d085fdac1cf1abf1b4a7dfdb2b0339938de7208bbdc7d8dd13281731cf9b3ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d085fdac1cf1abf1b4a7dfdb2b0339938de7208bbdc7d8dd13281731cf9b3ae", kill_on_drop: false }` [INFO] [stdout] 0d085fdac1cf1abf1b4a7dfdb2b0339938de7208bbdc7d8dd13281731cf9b3ae