[INFO] fetching crate idiom 0.3.0... [INFO] checking idiom-0.3.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate idiom 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate idiom 0.3.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate idiom 0.3.0 [INFO] finished tweaking crates.io crate idiom 0.3.0 [INFO] tweaked toml for crates.io crate idiom 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate idiom 0.3.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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lsp-types v0.95.1 [INFO] [stderr] Downloaded portable-pty v0.8.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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d0afabc41e34f61db9d8950b07bc5532451b1a4ed83d9bd0a36bff07d0901a6 [INFO] running `Command { std: "docker" "start" "-a" "9d0afabc41e34f61db9d8950b07bc5532451b1a4ed83d9bd0a36bff07d0901a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d0afabc41e34f61db9d8950b07bc5532451b1a4ed83d9bd0a36bff07d0901a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d0afabc41e34f61db9d8950b07bc5532451b1a4ed83d9bd0a36bff07d0901a6", kill_on_drop: false }` [INFO] [stdout] 9d0afabc41e34f61db9d8950b07bc5532451b1a4ed83d9bd0a36bff07d0901a6 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5385ccad64857dd8421be63c330fd9d1d5b790aefc53b1cf8f9cf6b28212cc06 [INFO] running `Command { std: "docker" "start" "-a" "5385ccad64857dd8421be63c330fd9d1d5b790aefc53b1cf8f9cf6b28212cc06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking serial v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking filedescriptor v0.8.2 [INFO] [stderr] Checking portable-pty v0.8.1 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking x11-clipboard v0.9.2 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking lsp-types v0.95.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking smithay-clipboard v0.7.1 [INFO] [stderr] Checking copypasta v0.10.1 [INFO] [stderr] Checking idiom v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/mod.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/lsp_stream.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/lsp_stream.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/mod.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/mod.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/mod.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/mod.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/syntax/legend.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/syntax/legend.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/syntax/modal/completion.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/syntax/modal/completion.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/utils.rs:335:7 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/mod.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/lsp_stream.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/lsp_stream.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/mod.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/mod.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/mod.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/lsp/mod.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/syntax/legend.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/syntax/legend.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/syntax/modal/completion.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/syntax/modal/completion.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `build` [INFO] [stdout] --> src/utils.rs:335:7 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(build = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `notifications` and `requests` are never read [INFO] [stdout] --> src/lsp/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct LSP { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 36 | pub notifications: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub requests: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `method` are never read [INFO] [stdout] --> src/lsp/messages.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 100 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 101 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/lsp/messages.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct GeneralNotification { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 114 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneralNotification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_line`, `clear_all`, `get_style`, `set_fg`, and `show_cursor` are never used [INFO] [stdout] --> src/render/backend/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait BackendProtocol: Write + Sized { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn clear_line(&mut self); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | fn clear_all(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn get_style(&mut self) -> Style; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn set_fg(&mut self, color: Option); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn show_cursor(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `notifications` and `requests` are never read [INFO] [stdout] --> src/lsp/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct LSP { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 36 | pub notifications: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub requests: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `method` are never read [INFO] [stdout] --> src/lsp/messages.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 100 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 101 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/lsp/messages.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct GeneralNotification { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 114 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneralNotification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_line`, `clear_all`, `get_style`, `set_fg`, and `show_cursor` are never used [INFO] [stdout] --> src/render/backend/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait BackendProtocol: Write + Sized { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn clear_line(&mut self); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | fn clear_all(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn get_style(&mut self) -> Style; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn set_fg(&mut self, color: Option); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn show_cursor(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.40s [INFO] running `Command { std: "docker" "inspect" "5385ccad64857dd8421be63c330fd9d1d5b790aefc53b1cf8f9cf6b28212cc06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5385ccad64857dd8421be63c330fd9d1d5b790aefc53b1cf8f9cf6b28212cc06", kill_on_drop: false }` [INFO] [stdout] 5385ccad64857dd8421be63c330fd9d1d5b790aefc53b1cf8f9cf6b28212cc06