[INFO] fetching crate nof 0.9.0... [INFO] testing nof-0.9.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate nof 0.9.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate nof 0.9.0 [INFO] finished tweaking crates.io crate nof 0.9.0 [INFO] tweaked toml for crates.io crate nof 0.9.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nof 0.9.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nof 0.9.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fd9be456bf949353739d547e2c717dfca5b62440f6282ec526cba8afd3ce65a [INFO] running `Command { std: "docker" "start" "-a" "7fd9be456bf949353739d547e2c717dfca5b62440f6282ec526cba8afd3ce65a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fd9be456bf949353739d547e2c717dfca5b62440f6282ec526cba8afd3ce65a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd9be456bf949353739d547e2c717dfca5b62440f6282ec526cba8afd3ce65a", kill_on_drop: false }` [INFO] [stdout] 7fd9be456bf949353739d547e2c717dfca5b62440f6282ec526cba8afd3ce65a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3189bc33390c991a5abf66a6b318e37a84580dcdb79bdaad1e59e182b52b984c [INFO] running `Command { std: "docker" "start" "-a" "3189bc33390c991a5abf66a6b318e37a84580dcdb79bdaad1e59e182b52b984c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling anstyle v1.0.2 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling chrono v0.4.30 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling defer-drop v1.3.0 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling termion v2.0.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling tuikit v0.5.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clap v4.4.2 [INFO] [stderr] Compiling clap_complete v4.4.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Compiling derive_builder v0.11.2 [INFO] [stderr] Compiling skim v0.10.4 [INFO] [stderr] Compiling nof v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `run` is never read [INFO] [stdout] --> src/fn_lib/command_list.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct NpmCoomands<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 2 | pub command_name: &'a str, [INFO] [stdout] 3 | pub run: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fn_lib/package_commands.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_commands(&self) -> NpmCoomands { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_commands(&self) -> NpmCoomands<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fzf_scripts.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | fn text(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn text(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.60s [INFO] running `Command { std: "docker" "inspect" "3189bc33390c991a5abf66a6b318e37a84580dcdb79bdaad1e59e182b52b984c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3189bc33390c991a5abf66a6b318e37a84580dcdb79bdaad1e59e182b52b984c", kill_on_drop: false }` [INFO] [stdout] 3189bc33390c991a5abf66a6b318e37a84580dcdb79bdaad1e59e182b52b984c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74fe5014293b59085e351419938b7de03432885c9fce787bb8e6bb0f49e6b791 [INFO] running `Command { std: "docker" "start" "-a" "74fe5014293b59085e351419938b7de03432885c9fce787bb8e6bb0f49e6b791", kill_on_drop: false }` [INFO] [stderr] Compiling nof v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `run` is never read [INFO] [stdout] --> src/fn_lib/command_list.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct NpmCoomands<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 2 | pub command_name: &'a str, [INFO] [stdout] 3 | pub run: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fn_lib/package_commands.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_commands(&self) -> NpmCoomands { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_commands(&self) -> NpmCoomands<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fzf_scripts.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | fn text(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn text(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "74fe5014293b59085e351419938b7de03432885c9fce787bb8e6bb0f49e6b791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74fe5014293b59085e351419938b7de03432885c9fce787bb8e6bb0f49e6b791", kill_on_drop: false }` [INFO] [stdout] 74fe5014293b59085e351419938b7de03432885c9fce787bb8e6bb0f49e6b791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 458d64c087ebaa2e7905d77f9e7e13d65d37fe22c37b900e7fa24c470abf0d93 [INFO] running `Command { std: "docker" "start" "-a" "458d64c087ebaa2e7905d77f9e7e13d65d37fe22c37b900e7fa24c470abf0d93", kill_on_drop: false }` [INFO] [stderr] warning: field `run` is never read [INFO] [stderr] --> src/fn_lib/command_list.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct NpmCoomands<'a> { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 2 | pub command_name: &'a str, [INFO] [stderr] 3 | pub run: &'a str, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fn_lib/package_commands.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn get_commands(&self) -> NpmCoomands { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 21 | pub fn get_commands(&self) -> NpmCoomands<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fzf_scripts.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | fn text(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 21 | fn text(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `nof` (bin "nof" test) generated 3 warnings (run `cargo fix --bin "nof" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nof-9d0c33cf0aa32a48) [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test fn_lib::get_directory_from_file_path::tests::test_get_directory_from_file_path_long ... ok [INFO] [stdout] test fn_lib::get_directory_from_file_path::tests::test_get_directory_from_file_path_long_3 ... ok [INFO] [stdout] test fn_lib::get_directory_from_file_path::tests::test_get_directory_from_file_path ... ok [INFO] [stdout] test fn_lib::get_directory_from_file_path::tests::test_get_directory_from_file_path_long_2 ... ok [INFO] [stdout] test fn_lib::package_commands::tests::add::test_package_manager_add_command_npm ... ok [INFO] [stderr] error: test failed, to rerun pass `--bin nof` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/nof-9d0c33cf0aa32a48` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "458d64c087ebaa2e7905d77f9e7e13d65d37fe22c37b900e7fa24c470abf0d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "458d64c087ebaa2e7905d77f9e7e13d65d37fe22c37b900e7fa24c470abf0d93", kill_on_drop: false }` [INFO] [stdout] 458d64c087ebaa2e7905d77f9e7e13d65d37fe22c37b900e7fa24c470abf0d93