[INFO] cloning repository https://github.com/Nanoster1/csearch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nanoster1/csearch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanoster1%2Fcsearch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanoster1%2Fcsearch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bde690db9563a929bea414f2d3ad8d28ffa87ad0 [INFO] checking Nanoster1/csearch against try#19359abcd1be36c9ba1922a244cf9abf02af7a22 for pr-114716 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanoster1%2Fcsearch" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nanoster1/csearch on toolchain 19359abcd1be36c9ba1922a244cf9abf02af7a22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nanoster1/csearch [INFO] finished tweaking git repo https://github.com/Nanoster1/csearch [INFO] tweaked toml for git repo https://github.com/Nanoster1/csearch written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Nanoster1/csearch 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" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-5-tc2/source/csearch_cli/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:84cb280c7acaf12c1f874411053406050a24f846e52f817d4d9e64bcbe5ce959" "/opt/rustwide/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b481a3bddd051063c4011e7da9ae84daec9b2d51256aa2f739be624ef3fdafc [INFO] running `Command { std: "docker" "start" "-a" "3b481a3bddd051063c4011e7da9ae84daec9b2d51256aa2f739be624ef3fdafc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b481a3bddd051063c4011e7da9ae84daec9b2d51256aa2f739be624ef3fdafc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b481a3bddd051063c4011e7da9ae84daec9b2d51256aa2f739be624ef3fdafc", kill_on_drop: false }` [INFO] [stdout] 3b481a3bddd051063c4011e7da9ae84daec9b2d51256aa2f739be624ef3fdafc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:84cb280c7acaf12c1f874411053406050a24f846e52f817d4d9e64bcbe5ce959" "/opt/rustwide/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebe77f3d7474dcc02f3ac44cc41c4ee298ec0b93b2a125e4f1d88ae7b57d6be1 [INFO] running `Command { std: "docker" "start" "-a" "ebe77f3d7474dcc02f3ac44cc41c4ee298ec0b93b2a125e4f1d88ae7b57d6be1", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/csearch_cli/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rustix v0.36.11 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking os_str_bytes v6.5.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking urlencoding v2.1.2 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking nameof v1.2.2 [INFO] [stderr] Checking clap_lex v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking is-terminal v0.4.5 [INFO] [stderr] Checking clap v4.1.13 [INFO] [stderr] Checking webbrowser v0.8.8 [INFO] [stderr] Checking csearch_app v1.1.2 (/opt/rustwide/workdir/csearch_app) [INFO] [stderr] Checking clap_complete v4.1.5 [INFO] [stderr] Checking csearch v1.1.2 (/opt/rustwide/workdir/csearch_cli) [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/browser_arg.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ID: &str = "Browser"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/browser_arg.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub const HELP: &str = "Select browser"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/browser_arg.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | pub const LONG: &str = "browser"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/browser_arg.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DEFAULT_VALUE: &str = name_of!(Default); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/completions_arg.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ID: &str = "Completions"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/completions_arg.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub const HELP: &str = "Generate completions for selected shell"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/completions_arg.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub const LONG: &str = "completions"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/query_arg.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ID: &str = "Query"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/query_arg.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub const HELP: &str = "Query for search in browser"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/search_engine_arg.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ID: &str = "Search Engine"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/search_engine_arg.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub const HELP: &str = "Select search engine"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/search_engine_arg.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub const LONG: &str = "search"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/search_engine_arg.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub const DEFAULT_VALUE: &str = name_of!(Yandex); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | const NAME: &str = crate_name!(); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | const AUTHOR: &str = crate_authors!(); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | const ABOUT: &str = crate_description!(); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | const VERSION: &str = crate_version!(); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/browser_arg.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ID: &str = "Browser"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/browser_arg.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub const HELP: &str = "Select browser"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/browser_arg.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | pub const LONG: &str = "browser"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/browser_arg.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DEFAULT_VALUE: &str = name_of!(Default); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/completions_arg.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ID: &str = "Completions"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/completions_arg.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub const HELP: &str = "Generate completions for selected shell"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/completions_arg.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub const LONG: &str = "completions"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/query_arg.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ID: &str = "Query"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/query_arg.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub const HELP: &str = "Query for search in browser"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/search_engine_arg.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ID: &str = "Search Engine"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/search_engine_arg.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub const HELP: &str = "Select search engine"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/search_engine_arg.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub const LONG: &str = "search"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app/search_engine_arg.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub const DEFAULT_VALUE: &str = name_of!(Yandex); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | const NAME: &str = crate_name!(); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | const AUTHOR: &str = crate_authors!(); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | const ABOUT: &str = crate_description!(); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> csearch_cli/src/cli_app.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | const VERSION: &str = crate_version!(); [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0637`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csearch` (bin "csearch" test) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0637`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csearch` (bin "csearch") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "ebe77f3d7474dcc02f3ac44cc41c4ee298ec0b93b2a125e4f1d88ae7b57d6be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe77f3d7474dcc02f3ac44cc41c4ee298ec0b93b2a125e4f1d88ae7b57d6be1", kill_on_drop: false }` [INFO] [stdout] ebe77f3d7474dcc02f3ac44cc41c4ee298ec0b93b2a125e4f1d88ae7b57d6be1