[INFO] cloning repository https://github.com/WillLillis/asm-lsp-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WillLillis/asm-lsp-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillLillis%2Fasm-lsp-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillLillis%2Fasm-lsp-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 475309703046494c038611028719f41b07a84a15 [INFO] building WillLillis/asm-lsp-test against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillLillis%2Fasm-lsp-test" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WillLillis/asm-lsp-test [INFO] finished tweaking git repo https://github.com/WillLillis/asm-lsp-test [INFO] tweaked toml for git repo https://github.com/WillLillis/asm-lsp-test written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WillLillis/asm-lsp-test on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WillLillis/asm-lsp-test 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symbolic v12.10.0 [INFO] [stderr] Downloaded symbolic-common v12.10.0 [INFO] [stderr] Downloaded msvc-demangler v0.10.1 [INFO] [stderr] Downloaded scroll_derive v0.12.0 [INFO] [stderr] Downloaded brownstone v3.0.0 [INFO] [stderr] Downloaded cpp_demangle v0.4.3 [INFO] [stderr] Downloaded maybe-owned v0.3.4 [INFO] [stderr] Downloaded compile_commands v0.2.0 [INFO] [stderr] Downloaded fluent-uri v0.1.4 [INFO] [stderr] Downloaded nu-ansi-term v0.49.0 [INFO] [stderr] Downloaded mockito v1.5.0 [INFO] [stderr] Downloaded lsp-types v0.97.0 [INFO] [stderr] Downloaded zip v2.1.6 [INFO] [stderr] Downloaded symbolic-debuginfo v12.10.0 [INFO] [stderr] Downloaded pdb v0.8.0 [INFO] [stderr] Downloaded symbolic-demangle v12.10.0 [INFO] [stderr] Downloaded tree-sitter v0.22.6 [INFO] [stderr] Downloaded hyper-util v0.1.7 [INFO] [stderr] Downloaded quick-xml v0.35.0 [INFO] [stderr] Downloaded goblin v0.8.2 [INFO] [stderr] Downloaded flexi_logger v0.25.6 [INFO] [stderr] Downloaded wasmparser v0.214.0 [INFO] [stderr] Downloaded elementtree v1.2.3 [INFO] [stderr] Downloaded nom-supreme v0.8.0 [INFO] [stderr] Downloaded pdb-addr2line v0.10.4 [INFO] [stderr] Downloaded lsp-server v0.7.6 [INFO] [stderr] Downloaded lsp-textdocument v0.4.0 [INFO] [stderr] Downloaded dmsort v1.0.2 [INFO] [stderr] Downloaded joinery v2.1.0 [INFO] [stderr] Downloaded scroll v0.12.0 [INFO] [stderr] Downloaded elsa v1.10.0 [INFO] [stderr] Downloaded scroll v0.11.0 [INFO] [stderr] Downloaded binary-merge v0.1.2 [INFO] [stderr] Downloaded range-collections v0.2.4 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded symbolic-ppdb v12.10.0 [INFO] [stderr] Downloaded indent_write v2.2.0 [INFO] [stderr] Downloaded watto v0.1.0 [INFO] [stderr] Downloaded tree-sitter-asm v0.22.6 [INFO] [stderr] Downloaded inplace-vec-builder v0.1.1 [INFO] [stderr] Downloaded libc v0.2.156 [INFO] [stderr] Downloaded openssl-src v300.3.1+3.3.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08b67ab14d843e9e88fa7a70a57cf48c90cf7daddd3a702ca28551121b00d8d2 [INFO] running `Command { std: "docker" "start" "-a" "08b67ab14d843e9e88fa7a70a57cf48c90cf7daddd3a702ca28551121b00d8d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08b67ab14d843e9e88fa7a70a57cf48c90cf7daddd3a702ca28551121b00d8d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b67ab14d843e9e88fa7a70a57cf48c90cf7daddd3a702ca28551121b00d8d2", kill_on_drop: false }` [INFO] [stdout] 08b67ab14d843e9e88fa7a70a57cf48c90cf7daddd3a702ca28551121b00d8d2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdd8c4279fd69950cfef957e8f87271b24d3cc47e3d85bafa191fb4817594f09 [INFO] running `Command { std: "docker" "start" "-a" "bdd8c4279fd69950cfef957e8f87271b24d3cc47e3d85bafa191fb4817594f09", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling inplace-vec-builder v0.1.1 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling binary-merge v0.1.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling zip v2.1.6 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling brownstone v3.0.0 [INFO] [stderr] Compiling range-collections v0.2.4 [INFO] [stderr] Compiling pdb v0.8.0 [INFO] [stderr] Compiling elsa v1.10.0 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling indent_write v2.2.0 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling joinery v2.1.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling maybe-owned v0.3.4 [INFO] [stderr] Compiling msvc-demangler v0.10.1 [INFO] [stderr] Compiling fluent-uri v0.1.4 [INFO] [stderr] Compiling dmsort v1.0.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling nom-supreme v0.8.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling gimli v0.31.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling nu-ansi-term v0.49.0 [INFO] [stderr] Compiling url-escape v0.1.1 [INFO] [stderr] Compiling quick-xml v0.35.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling symbolic-demangle v12.10.0 [INFO] [stderr] Compiling tree-sitter-asm v0.22.6 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling scroll v0.12.0 [INFO] [stderr] Compiling watto v0.1.0 [INFO] [stderr] Compiling pdb-addr2line v0.10.4 [INFO] [stderr] Compiling flexi_logger v0.25.6 [INFO] [stderr] Compiling goblin v0.8.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling symbolic-common v12.10.0 [INFO] [stderr] Compiling elementtree v1.2.3 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling lsp-types v0.97.0 [INFO] [stderr] Compiling lsp-server v0.7.6 [INFO] [stderr] Compiling compile_commands v0.2.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling wasmparser v0.214.0 [INFO] [stderr] Compiling symbolic-ppdb v12.10.0 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling symbolic-debuginfo v12.10.0 [INFO] [stderr] Compiling symbolic v12.10.0 [INFO] [stderr] Compiling lsp-textdocument v0.4.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling asm-lsp-test v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lsp.rs:1511:16 [INFO] [stdout] | [INFO] [stdout] 1511 | if let Ok(parsed) = PathBuf::from_str(folder.uri.path().as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lsp.rs:1523:12 [INFO] [stdout] | [INFO] [stdout] 1523 | if let Ok(parsed) = PathBuf::from_str(root_uri.path().as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lsp.rs:1534:12 [INFO] [stdout] | [INFO] [stdout] 1534 | if let Ok(parsed) = PathBuf::from_str(root_path.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 07s [INFO] running `Command { std: "docker" "inspect" "bdd8c4279fd69950cfef957e8f87271b24d3cc47e3d85bafa191fb4817594f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd8c4279fd69950cfef957e8f87271b24d3cc47e3d85bafa191fb4817594f09", kill_on_drop: false }` [INFO] [stdout] bdd8c4279fd69950cfef957e8f87271b24d3cc47e3d85bafa191fb4817594f09 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6faa9afa2210c9a32b0150e1785024d0d2ce57be3a8a8531bd6bbff507f42449 [INFO] running `Command { std: "docker" "start" "-a" "6faa9afa2210c9a32b0150e1785024d0d2ce57be3a8a8531bd6bbff507f42449", kill_on_drop: false }` [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling similar v2.6.0 [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lsp.rs:1511:16 [INFO] [stdout] | [INFO] [stdout] 1511 | if let Ok(parsed) = PathBuf::from_str(folder.uri.path().as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lsp.rs:1523:12 [INFO] [stdout] | [INFO] [stdout] 1523 | if let Ok(parsed) = PathBuf::from_str(root_uri.path().as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lsp.rs:1534:12 [INFO] [stdout] | [INFO] [stdout] 1534 | if let Ok(parsed) = PathBuf::from_str(root_path.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling mockito v1.5.0 [INFO] [stderr] Compiling asm-lsp-test v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lsp.rs:1511:16 [INFO] [stdout] | [INFO] [stdout] 1511 | if let Ok(parsed) = PathBuf::from_str(folder.uri.path().as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lsp.rs:1523:12 [INFO] [stdout] | [INFO] [stdout] 1523 | if let Ok(parsed) = PathBuf::from_str(root_uri.path().as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lsp.rs:1534:12 [INFO] [stdout] | [INFO] [stdout] 1534 | if let Ok(parsed) = PathBuf::from_str(root_path.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.28s [INFO] running `Command { std: "docker" "inspect" "6faa9afa2210c9a32b0150e1785024d0d2ce57be3a8a8531bd6bbff507f42449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6faa9afa2210c9a32b0150e1785024d0d2ce57be3a8a8531bd6bbff507f42449", kill_on_drop: false }` [INFO] [stdout] 6faa9afa2210c9a32b0150e1785024d0d2ce57be3a8a8531bd6bbff507f42449