[INFO] cloning repository https://github.com/kri4er/code-whisperer-lsp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kri4er/code-whisperer-lsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkri4er%2Fcode-whisperer-lsp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkri4er%2Fcode-whisperer-lsp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f34b7b364e53ad6b859bc0604fa03c5fcc07db2b [INFO] testing kri4er/code-whisperer-lsp against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkri4er%2Fcode-whisperer-lsp" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kri4er/code-whisperer-lsp on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kri4er/code-whisperer-lsp [INFO] finished tweaking git repo https://github.com/kri4er/code-whisperer-lsp [INFO] tweaked toml for git repo https://github.com/kri4er/code-whisperer-lsp written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kri4er/code-whisperer-lsp 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dashmap v5.5.3 [INFO] [stderr] Downloaded serde_repr v0.1.18 [INFO] [stderr] Downloaded tracing-appender v0.2.3 [INFO] [stderr] Downloaded tower-lsp-macros v0.9.0 [INFO] [stderr] Downloaded codespan-lsp v0.11.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.12 [INFO] [stderr] Downloaded codespan v0.11.1 [INFO] [stderr] Downloaded aws-smithy-async v1.1.8 [INFO] [stderr] Downloaded aws-sdk-sso v1.17.0 [INFO] [stderr] Downloaded lsp-types v0.88.0 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.17.0 [INFO] [stderr] Downloaded aws-sdk-sts v1.17.0 [INFO] [stderr] Downloaded aws-config v1.1.8 [INFO] [stderr] Downloaded reqwest v0.11.25 [INFO] [stderr] Downloaded system-configuration-sys v0.6.0 [INFO] [stderr] Downloaded system-configuration v0.6.0 [INFO] [stderr] Downloaded auto_impl v1.2.0 [INFO] [stderr] Downloaded lsp-types v0.94.1 [INFO] [stderr] Downloaded tower-lsp v0.20.0 [INFO] [stderr] Downloaded termcolor v1.4.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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d060364d2035d46f3318a80f1ee22bcbdd3f42a01e43879f2e460fa81f4056da [INFO] running `Command { std: "docker" "start" "-a" "d060364d2035d46f3318a80f1ee22bcbdd3f42a01e43879f2e460fa81f4056da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d060364d2035d46f3318a80f1ee22bcbdd3f42a01e43879f2e460fa81f4056da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d060364d2035d46f3318a80f1ee22bcbdd3f42a01e43879f2e460fa81f4056da", kill_on_drop: false }` [INFO] [stdout] d060364d2035d46f3318a80f1ee22bcbdd3f42a01e43879f2e460fa81f4056da [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0170b38b5a0a72f397c7b1df2dd2c0c026a1511b27adb1a34d84d9fd6e9879c9 [INFO] running `Command { std: "docker" "start" "-a" "0170b38b5a0a72f397c7b1df2dd2c0c026a1511b27adb1a34d84d9fd6e9879c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling aws-smithy-types v1.1.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling aws-types v1.1.8 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling aws-smithy-json v0.60.7 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling aws-smithy-xml v0.60.7 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling codespan v0.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling aws-smithy-async v1.1.8 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.2.0 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling aws-smithy-http v0.60.7 [INFO] [stderr] Compiling aws-credential-types v1.1.8 [INFO] [stderr] Compiling aws-sigv4 v1.2.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling aws-runtime v1.1.8 [INFO] [stderr] Compiling lsp-types v0.94.1 [INFO] [stderr] Compiling lsp-types v0.88.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.25 [INFO] [stderr] Compiling aws-smithy-runtime v1.1.8 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.17.0 [INFO] [stderr] Compiling aws-sdk-sso v1.17.0 [INFO] [stderr] Compiling aws-sdk-sts v1.17.0 [INFO] [stderr] Compiling codespan-lsp v0.11.1 [INFO] [stderr] Compiling aws-config v1.1.8 [INFO] [stderr] Compiling tower-lsp v0.20.0 [INFO] [stderr] Compiling code-wshisperer-lsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `codespan_lsp::position_to_byte_index` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codespan_lsp::position_to_byte_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use tower_lsp::jsonrpc::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/aiutils/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/main.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | } else if let Some(range) = change.range { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODEWHISPERER_ENDPOINT` is never used [INFO] [stdout] --> src/codewshiperer.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CODEWHISPERER_ENDPOINT: &str = "https://codewhisperer.us-east-1.amazonaws.com/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODEWHISPERER_IDPOOL_ID` is never used [INFO] [stdout] --> src/codewshiperer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CODEWHISPERER_IDPOOL_ID: &str = "us-east-1:70717e99-906f-4add-908c-bd9074a2f5b9"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHARACTERS_LIMIT` is never used [INFO] [stdout] --> src/codewshiperer.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CHARACTERS_LIMIT: i32 = 10240; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeWhispererClient` is never constructed [INFO] [stdout] --> src/codewshiperer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CodeWhispererClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_code_scan`, and `list_recommendations` are never used [INFO] [stdout] --> src/codewshiperer.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl CodeWhispererClient { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 76 | pub fn new(base_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn create_code_scan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn list_recommendations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 18s [INFO] running `Command { std: "docker" "inspect" "0170b38b5a0a72f397c7b1df2dd2c0c026a1511b27adb1a34d84d9fd6e9879c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0170b38b5a0a72f397c7b1df2dd2c0c026a1511b27adb1a34d84d9fd6e9879c9", kill_on_drop: false }` [INFO] [stdout] 0170b38b5a0a72f397c7b1df2dd2c0c026a1511b27adb1a34d84d9fd6e9879c9 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2340230cf5c727d0ba747a564da50a451042d25342c310a0d898a2a02536098e [INFO] running `Command { std: "docker" "start" "-a" "2340230cf5c727d0ba747a564da50a451042d25342c310a0d898a2a02536098e", kill_on_drop: false }` [INFO] [stderr] Compiling code-wshisperer-lsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `codespan_lsp::position_to_byte_index` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codespan_lsp::position_to_byte_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use tower_lsp::jsonrpc::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/aiutils/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/main.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | } else if let Some(range) = change.range { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODEWHISPERER_ENDPOINT` is never used [INFO] [stdout] --> src/codewshiperer.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CODEWHISPERER_ENDPOINT: &str = "https://codewhisperer.us-east-1.amazonaws.com/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODEWHISPERER_IDPOOL_ID` is never used [INFO] [stdout] --> src/codewshiperer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CODEWHISPERER_IDPOOL_ID: &str = "us-east-1:70717e99-906f-4add-908c-bd9074a2f5b9"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHARACTERS_LIMIT` is never used [INFO] [stdout] --> src/codewshiperer.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CHARACTERS_LIMIT: i32 = 10240; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeWhispererClient` is never constructed [INFO] [stdout] --> src/codewshiperer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CodeWhispererClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_code_scan`, and `list_recommendations` are never used [INFO] [stdout] --> src/codewshiperer.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl CodeWhispererClient { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 76 | pub fn new(base_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn create_code_scan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn list_recommendations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.52s [INFO] running `Command { std: "docker" "inspect" "2340230cf5c727d0ba747a564da50a451042d25342c310a0d898a2a02536098e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2340230cf5c727d0ba747a564da50a451042d25342c310a0d898a2a02536098e", kill_on_drop: false }` [INFO] [stdout] 2340230cf5c727d0ba747a564da50a451042d25342c310a0d898a2a02536098e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ac03afa3cfb576c585af6078d6d55dca1b9745dbc618fa49f5c73a915725b98e [INFO] running `Command { std: "docker" "start" "-a" "ac03afa3cfb576c585af6078d6d55dca1b9745dbc618fa49f5c73a915725b98e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `codespan_lsp::position_to_byte_index` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use codespan_lsp::position_to_byte_index; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/main.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | use tower_lsp::jsonrpc::{Error, Result}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `fmt` [INFO] [stderr] --> src/aiutils/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | fmt, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `range` [INFO] [stderr] --> src/main.rs:187:32 [INFO] [stderr] | [INFO] [stderr] 187 | } else if let Some(range) = change.range { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `CODEWHISPERER_ENDPOINT` is never used [INFO] [stderr] --> src/codewshiperer.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const CODEWHISPERER_ENDPOINT: &str = "https://codewhisperer.us-east-1.amazonaws.com/"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `CODEWHISPERER_IDPOOL_ID` is never used [INFO] [stderr] --> src/codewshiperer.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | const CODEWHISPERER_IDPOOL_ID: &str = "us-east-1:70717e99-906f-4add-908c-bd9074a2f5b9"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CHARACTERS_LIMIT` is never used [INFO] [stderr] --> src/codewshiperer.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 12 | const CHARACTERS_LIMIT: i32 = 10240; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CodeWhispererClient` is never constructed [INFO] [stderr] --> src/codewshiperer.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct CodeWhispererClient { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `create_code_scan`, and `list_recommendations` are never used [INFO] [stderr] --> src/codewshiperer.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 75 | impl CodeWhispererClient { [INFO] [stderr] | ------------------------ associated items in this implementation [INFO] [stderr] 76 | pub fn new(base_url: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub async fn create_code_scan( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub async fn list_recommendations( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `code-wshisperer-lsp` (bin "code-wshisperer-lsp" test) generated 9 warnings (run `cargo fix --bin "code-wshisperer-lsp" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/code_wshisperer_lsp-377a2243c906f587) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test aiutils::test_aiutils::test_generate_reccomendations ... ignored [INFO] [stdout] test codefileutil::test_code_file_util::test_partially_matched_strings_different_len_returns_index_where_they_split ... ok [INFO] [stdout] test codefileutil::test_code_file_util::test_different_strings_returns_0 ... ok [INFO] [stdout] test codefileutil::test_code_file_util::test_partially_matched_strings_returns_index_where_they_split ... ok [INFO] [stdout] test codefileutil::test_code_file_util::test_same_strings_returns_string_size ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ac03afa3cfb576c585af6078d6d55dca1b9745dbc618fa49f5c73a915725b98e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac03afa3cfb576c585af6078d6d55dca1b9745dbc618fa49f5c73a915725b98e", kill_on_drop: false }` [INFO] [stdout] ac03afa3cfb576c585af6078d6d55dca1b9745dbc618fa49f5c73a915725b98e [INFO] testing kri4er/code-whisperer-lsp against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkri4er%2Fcode-whisperer-lsp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kri4er/code-whisperer-lsp on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kri4er/code-whisperer-lsp [INFO] finished tweaking git repo https://github.com/kri4er/code-whisperer-lsp [INFO] tweaked toml for git repo https://github.com/kri4er/code-whisperer-lsp written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kri4er/code-whisperer-lsp 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" "+beta-2024-06-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62cca7055567bca2f14f72548f1f22541513160ee9d5976a17b4571bb521681e [INFO] running `Command { std: "docker" "start" "-a" "62cca7055567bca2f14f72548f1f22541513160ee9d5976a17b4571bb521681e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62cca7055567bca2f14f72548f1f22541513160ee9d5976a17b4571bb521681e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62cca7055567bca2f14f72548f1f22541513160ee9d5976a17b4571bb521681e", kill_on_drop: false }` [INFO] [stdout] 62cca7055567bca2f14f72548f1f22541513160ee9d5976a17b4571bb521681e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 652e314a805ff5a763fa81bd3f57a5e37cc79f01fbb7a323a24e74fdd516417f [INFO] running `Command { std: "docker" "start" "-a" "652e314a805ff5a763fa81bd3f57a5e37cc79f01fbb7a323a24e74fdd516417f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "652e314a805ff5a763fa81bd3f57a5e37cc79f01fbb7a323a24e74fdd516417f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "652e314a805ff5a763fa81bd3f57a5e37cc79f01fbb7a323a24e74fdd516417f", kill_on_drop: false }` [INFO] [stdout] 652e314a805ff5a763fa81bd3f57a5e37cc79f01fbb7a323a24e74fdd516417f