[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] testing WillLillis/asm-lsp-test against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillLillis%2Fasm-lsp-test" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-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-common v12.10.0 [INFO] [stderr] Downloaded url-escape v0.1.1 [INFO] [stderr] Downloaded tree-sitter-asm v0.22.6 [INFO] [stderr] Downloaded range-collections v0.2.4 [INFO] [stderr] Downloaded watto v0.1.0 [INFO] [stderr] Downloaded lsp-textdocument v0.4.0 [INFO] [stderr] Downloaded nu-ansi-term v0.49.0 [INFO] [stderr] Downloaded mockito v1.5.0 [INFO] [stderr] Downloaded backtrace v0.3.73 [INFO] [stderr] Downloaded lsp-types v0.97.0 [INFO] [stderr] Downloaded pdb v0.8.0 [INFO] [stderr] Downloaded tree-sitter v0.22.6 [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 openssl v0.10.66 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded object v0.36.3 [INFO] [stderr] Downloaded symbolic-debuginfo v12.10.0 [INFO] [stderr] Downloaded syn v2.0.74 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] [stderr] Downloaded flate2 v1.0.31 [INFO] [stderr] Downloaded zip v2.1.6 [INFO] [stderr] Downloaded symbolic-demangle v12.10.0 [INFO] [stderr] Downloaded cpp_demangle v0.4.3 [INFO] [stderr] Downloaded msvc-demangler v0.10.1 [INFO] [stderr] Downloaded nom-supreme v0.8.0 [INFO] [stderr] Downloaded libc v0.2.156 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] [stderr] Downloaded binary-merge v0.1.2 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded brownstone v3.0.0 [INFO] [stderr] Downloaded maybe-owned v0.3.4 [INFO] [stderr] Downloaded pdb-addr2line v0.10.4 [INFO] [stderr] Downloaded derive_arbitrary v1.3.2 [INFO] [stderr] Downloaded zopfli v0.8.1 [INFO] [stderr] Downloaded uuid v1.10.0 [INFO] [stderr] Downloaded indexmap v2.4.0 [INFO] [stderr] Downloaded cc v1.1.13 [INFO] [stderr] Downloaded elementtree v1.2.3 [INFO] [stderr] Downloaded elsa v1.10.0 [INFO] [stderr] Downloaded inplace-vec-builder v0.1.1 [INFO] [stderr] Downloaded scroll_derive v0.12.0 [INFO] [stderr] Downloaded scroll v0.12.0 [INFO] [stderr] Downloaded lockfree-object-pool v0.1.6 [INFO] [stderr] Downloaded compile_commands v0.2.0 [INFO] [stderr] Downloaded symbolic v12.10.0 [INFO] [stderr] Downloaded openssl-src v300.3.1+3.3.1 [INFO] [stderr] Downloaded symbolic-ppdb v12.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83120368b834a96839cafee7f6897d265d02ef34bc2459f5a0fdab8b64455dac [INFO] running `Command { std: "docker" "start" "-a" "83120368b834a96839cafee7f6897d265d02ef34bc2459f5a0fdab8b64455dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83120368b834a96839cafee7f6897d265d02ef34bc2459f5a0fdab8b64455dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83120368b834a96839cafee7f6897d265d02ef34bc2459f5a0fdab8b64455dac", kill_on_drop: false }` [INFO] [stdout] 83120368b834a96839cafee7f6897d265d02ef34bc2459f5a0fdab8b64455dac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c87675baafa401003a6d1e4b6caf7a4d43fa159da5c13e599936ba33204af8e5 [INFO] running `Command { std: "docker" "start" "-a" "c87675baafa401003a6d1e4b6caf7a4d43fa159da5c13e599936ba33204af8e5", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [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 quote v1.0.36 [INFO] [stderr] Compiling inplace-vec-builder v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling binary-merge v0.1.2 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling zip v2.1.6 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling brownstone v3.0.0 [INFO] [stderr] Compiling range-collections v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling elsa v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling pdb v0.8.0 [INFO] [stderr] Compiling maybe-owned v0.3.4 [INFO] [stderr] Compiling joinery v2.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling indent_write v2.2.0 [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 parking_lot v0.12.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling gimli v0.31.0 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling msvc-demangler v0.10.1 [INFO] [stderr] Compiling fluent-uri v0.1.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling nom-supreme v0.8.0 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling dmsort v1.0.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling nu-ansi-term v0.49.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling url-escape v0.1.1 [INFO] [stderr] Compiling quick-xml v0.35.0 [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 home v0.5.9 [INFO] [stderr] Compiling strum v0.24.1 [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 strum_macros v0.24.3 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling watto v0.1.0 [INFO] [stderr] Compiling scroll v0.12.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 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 elementtree v1.2.3 [INFO] [stderr] Compiling symbolic-common v12.10.0 [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 lsp-textdocument v0.4.0 [INFO] [stderr] Compiling symbolic v12.10.0 [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 2m 21s [INFO] running `Command { std: "docker" "inspect" "c87675baafa401003a6d1e4b6caf7a4d43fa159da5c13e599936ba33204af8e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87675baafa401003a6d1e4b6caf7a4d43fa159da5c13e599936ba33204af8e5", kill_on_drop: false }` [INFO] [stdout] c87675baafa401003a6d1e4b6caf7a4d43fa159da5c13e599936ba33204af8e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1c24dbfbff3b97b2d3e6d2990f8efccb96a1612d31376079c4d45620bda4035 [INFO] running `Command { std: "docker" "start" "-a" "e1c24dbfbff3b97b2d3e6d2990f8efccb96a1612d31376079c4d45620bda4035", 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 assert-json-diff v2.0.2 [INFO] [stderr] Compiling colored v2.1.0 [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.02s [INFO] running `Command { std: "docker" "inspect" "e1c24dbfbff3b97b2d3e6d2990f8efccb96a1612d31376079c4d45620bda4035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1c24dbfbff3b97b2d3e6d2990f8efccb96a1612d31376079c4d45620bda4035", kill_on_drop: false }` [INFO] [stdout] e1c24dbfbff3b97b2d3e6d2990f8efccb96a1612d31376079c4d45620bda4035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7201efce4059c7a6c2fb38faebfe61c3749f34c560bb87cc3e2263c9a3bd0f3c [INFO] running `Command { std: "docker" "start" "-a" "7201efce4059c7a6c2fb38faebfe61c3749f34c560bb87cc3e2263c9a3bd0f3c", kill_on_drop: false }` [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/lsp.rs:1511:16 [INFO] [stderr] | [INFO] [stderr] 1511 | if let Ok(parsed) = PathBuf::from_str(folder.uri.path().as_str()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/lsp.rs:1523:12 [INFO] [stderr] | [INFO] [stderr] 1523 | if let Ok(parsed) = PathBuf::from_str(root_uri.path().as_str()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/lsp.rs:1534:12 [INFO] [stderr] | [INFO] [stderr] 1534 | if let Ok(parsed) = PathBuf::from_str(root_path.as_str()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: `asm-lsp-test` (lib) generated 3 warnings [INFO] [stderr] warning: `asm-lsp-test` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/asm_lsp-e9aa29b7b381195f) [INFO] [stdout] [INFO] [stdout] running 65 tests [INFO] [stdout] test test::tests::handle_autocomplete_it_provides_label_comps_as_instruction_arg ... ok [INFO] [stdout] test test::tests::handle_autocomplete_nasm_it_provides_directive_completes_3 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_nasm_it_provides_directive_completes_1 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_masm_it_provides_directive_completes_3 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_gas_it_provides_directive_completes_2 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_gas_it_provides_directive_completes_3 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_gas_it_provides_directive_completes_1 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_masm_it_provides_directive_completes_2 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_nasm_it_provides_directive_completes_2 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_masm_it_provides_directive_completes_1 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_riscv_it_provides_instr_comps_one_character_start ... ok [INFO] [stdout] test test::tests::handle_autocomplete_riscv_it_provides_reg_comps_in_existing_reg_arg ... ok [INFO] [stdout] test test::tests::handle_autocomplete_z80_it_provides_reg_comps_in_existing_reg_arg_1 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_z80_it_provides_reg_comps_in_existing_reg_arg_2 ... ok [INFO] [stdout] test test::tests::handle_hover_gas_it_provides_label_data_1 ... ok [INFO] [stdout] test test::tests::handle_hover_gas_it_provides_label_data_2 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_z80_it_provides_instr_comps_one_character_start ... ok [INFO] [stdout] test test::tests::handle_hover_gas_it_provides_directive_info_1 ... ok [INFO] [stdout] test test::tests::handle_hover_gas_it_provides_directive_info_2 ... ok [INFO] [stdout] test test::tests::handle_hover_gas_it_provides_label_data_3 ... ok [INFO] [stdout] test test::tests::handle_hover_gas_it_provides_directive_info_3 ... ok [INFO] [stdout] test test::tests::handle_hover_it_demangles_cpp_1 ... ok [INFO] [stdout] test test::tests::handle_hover_it_demangles_cpp_2 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_arm_it_provides_instr_comps_one_character_start ... ok [INFO] [stdout] test test::tests::handle_hover_nasm_it_provides_directive_info_1 ... ok [INFO] [stdout] test test::tests::handle_hover_it_demangles_cpp_3 ... ok [INFO] [stdout] test test::tests::handle_hover_masm_it_provides_directive_info_1 ... ok [INFO] [stdout] test test::tests::handle_hover_nasm_it_provides_directive_info_2 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_arm_it_provides_reg_comps_in_existing_reg_arg ... ok [INFO] [stdout] test test::tests::handle_hover_masm_it_provides_directive_info_3 ... ok [INFO] [stdout] test test::tests::handle_hover_masm_it_provides_directive_info_2 ... ok [INFO] [stdout] test test::tests::handle_hover_riscv_it_provides_instr_info_args ... ok [INFO] [stdout] test test::tests::handle_hover_riscv_it_provides_reg_info ... ok [INFO] [stdout] test test::tests::handle_autocomplete_z80_it_provides_reg_comps_in_existing_reg_arg_3 ... ok [INFO] [stdout] test test::tests::handle_hover_nasm_it_provides_directive_info_3 ... ok [INFO] [stdout] test test::tests::handle_hover_z80_it_provides_instr_info_no_args ... ok [INFO] [stdout] test test::tests::handle_hover_z80_it_provides_instr_info_two_reg_args ... ok [INFO] [stdout] test test::tests::handle_hover_z80_it_provides_instr_info_one_reg_arg ... ok [INFO] [stdout] test test::tests::handle_hover_z80_it_provides_reg_info_prime ... ok [INFO] [stdout] test test::tests::handle_hover_z80_it_provides_reg_info_normal ... ok [INFO] [stdout] test test::tests::serialized_arm_registers_are_up_to_date ... ok [INFO] [stdout] test test::tests::serialized_gas_directives_are_up_to_date ... ok [INFO] [stdout] test test::tests::serialized_masm_directives_are_up_to_date ... ok [INFO] [stdout] test test::tests::serialized_nasm_directives_are_up_to_date ... ok [INFO] [stdout] test test::tests::handle_hover_x86_x86_64_it_provides_reg_info_normal ... ok [INFO] [stdout] test test::tests::handle_hover_x86_x86_64_it_provides_instr_info_two_reg_args ... ok [INFO] [stdout] test test::tests::serialized_x86_64_registers_are_up_to_date ... ok [INFO] [stdout] test test::tests::serialized_x86_registers_are_up_to_date ... ok [INFO] [stdout] test test::tests::handle_autocomplete_x86_x86_64_it_provides_reg_comps_in_existing_reg_arg_3 ... ok [INFO] [stdout] test test::tests::serialized_z80_registers_are_up_to_date ... ok [INFO] [stdout] test test::tests::serialized_z80_instructions_are_up_to_date ... ok [INFO] [stdout] test test::tests::handle_hover_x86_x86_64_it_provides_instr_info_no_args ... ok [INFO] [stdout] test test::tests::handle_autocomplete_x86_x86_64_it_provides_reg_comps_in_existing_reg_arg_1 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_x86_x86_64_it_provides_reg_comps_after_percent_symbol ... ok [INFO] [stdout] test test::tests::handle_autocomplete_x86_x86_64_it_provides_reg_comps_in_existing_reg_arg_2 ... ok [INFO] [stdout] test test::tests::handle_autocomplete_x86_x86_64_it_provides_instr_comps_one_character_start ... ok [INFO] [stdout] test test::tests::handle_hover_x86_x86_64_it_provides_reg_info_offset ... ok [INFO] [stdout] test test::tests::handle_autocomplete_x86_x86_64_it_provides_reg_comps_in_existing_offset_arg ... ok [INFO] [stdout] test test::tests::handle_hover_x86_x86_64_it_provies_reg_info_relative_addressing ... ok [INFO] [stdout] test test::tests::handle_autocomplete_x86_x86_64_it_provides_reg_comps_in_existing_relative_addressing_arg ... ok [INFO] [stdout] test test::tests::handle_hover_x86_x86_64_it_provides_instr_info_one_reg_arg ... ok [INFO] [stdout] test test::tests::serialized_x86_64_instructions_are_up_to_date ... ok [INFO] [stdout] test test::tests::serialized_arm_instructions_are_up_to_date ... ok [INFO] [stdout] test test::tests::serialized_x86_instructions_are_up_to_date ... ok [INFO] [stdout] test parser::tests::test_populate_instructions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 65 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.45s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/asm_lsp_test-22fed5ec164d56ed) [INFO] [stdout] [INFO] [stderr] Doc-tests asm_lsp [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7201efce4059c7a6c2fb38faebfe61c3749f34c560bb87cc3e2263c9a3bd0f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7201efce4059c7a6c2fb38faebfe61c3749f34c560bb87cc3e2263c9a3bd0f3c", kill_on_drop: false }` [INFO] [stdout] 7201efce4059c7a6c2fb38faebfe61c3749f34c560bb87cc3e2263c9a3bd0f3c