[INFO] cloning repository https://github.com/tiagoicp/LLM-Chatbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiagoicp/LLM-Chatbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagoicp%2FLLM-Chatbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagoicp%2FLLM-Chatbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06e7745b6f37c99e617d98e25102e0eb57c43bce [INFO] testing tiagoicp/LLM-Chatbot against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagoicp%2FLLM-Chatbot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/tiagoicp/LLM-Chatbot [INFO] finished tweaking git repo https://github.com/tiagoicp/LLM-Chatbot [INFO] tweaked toml for git repo https://github.com/tiagoicp/LLM-Chatbot written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tiagoicp/LLM-Chatbot on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tiagoicp/LLM-Chatbot 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid v0.10.13 [INFO] [stderr] Downloaded ic-ledger-types v0.14.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.17.1 [INFO] [stderr] Downloaded ic-cdk v0.17.1 [INFO] [stderr] Downloaded ic-llm v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 863ea531d1330e0b20cd17e952504efcf462f7bc7c5ee6c995f299d23c76e5c4 [INFO] running `Command { std: "docker" "start" "-a" "863ea531d1330e0b20cd17e952504efcf462f7bc7c5ee6c995f299d23c76e5c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "863ea531d1330e0b20cd17e952504efcf462f7bc7c5ee6c995f299d23c76e5c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863ea531d1330e0b20cd17e952504efcf462f7bc7c5ee6c995f299d23c76e5c4", kill_on_drop: false }` [INFO] [stdout] 863ea531d1330e0b20cd17e952504efcf462f7bc7c5ee6c995f299d23c76e5c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26c32a44b86ba827ad1ca848b433390bfbfe41da71c8caacd327133e8c91d49b [INFO] running `Command { std: "docker" "start" "-a" "26c32a44b86ba827ad1ca848b433390bfbfe41da71c8caacd327133e8c91d49b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling candid v0.10.13 [INFO] [stderr] Compiling ic-cdk-macros v0.17.1 [INFO] [stderr] Compiling ic-cdk v0.17.1 [INFO] [stderr] Compiling ic-llm v0.3.0 [INFO] [stderr] Compiling ic-ledger-types v0.14.0 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] warning: unused imports: `HttpResponse` and `TransformArgs` [INFO] [stdout] --> backend/plugins/icp_ledger_plugin.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | http_request, CanisterHttpRequestArgument, HttpMethod, HttpResponse, TransformArgs, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode`, `Encode`, and `Nat` [INFO] [stdout] --> backend/plugins/icp_ledger_plugin.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use candid::{CandidType, Decode, Deserialize, Encode, Nat}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quote` [INFO] [stdout] --> backend/plugins/icp_ledger_plugin.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let quote = match http_request(request, 100_000_000_000).await { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quote` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> backend/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(a) => return "success".to_string(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.16s [INFO] running `Command { std: "docker" "inspect" "26c32a44b86ba827ad1ca848b433390bfbfe41da71c8caacd327133e8c91d49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c32a44b86ba827ad1ca848b433390bfbfe41da71c8caacd327133e8c91d49b", kill_on_drop: false }` [INFO] [stdout] 26c32a44b86ba827ad1ca848b433390bfbfe41da71c8caacd327133e8c91d49b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1cdc6676bcecdd996387656889ae7bfc6723d6c07efa121b77fac78634470ca [INFO] running `Command { std: "docker" "start" "-a" "e1cdc6676bcecdd996387656889ae7bfc6723d6c07efa121b77fac78634470ca", kill_on_drop: false }` [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] warning: unused imports: `HttpResponse` and `TransformArgs` [INFO] [stdout] --> backend/plugins/icp_ledger_plugin.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | http_request, CanisterHttpRequestArgument, HttpMethod, HttpResponse, TransformArgs, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode`, `Encode`, and `Nat` [INFO] [stdout] --> backend/plugins/icp_ledger_plugin.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use candid::{CandidType, Decode, Deserialize, Encode, Nat}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quote` [INFO] [stdout] --> backend/plugins/icp_ledger_plugin.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let quote = match http_request(request, 100_000_000_000).await { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quote` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> backend/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(a) => return "success".to_string(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "e1cdc6676bcecdd996387656889ae7bfc6723d6c07efa121b77fac78634470ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1cdc6676bcecdd996387656889ae7bfc6723d6c07efa121b77fac78634470ca", kill_on_drop: false }` [INFO] [stdout] e1cdc6676bcecdd996387656889ae7bfc6723d6c07efa121b77fac78634470ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f65ec05d94c48c62206ee5cef9fa4fd21053d8a69d6cde77df19a30d0c4e139 [INFO] running `Command { std: "docker" "start" "-a" "4f65ec05d94c48c62206ee5cef9fa4fd21053d8a69d6cde77df19a30d0c4e139", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `HttpResponse` and `TransformArgs` [INFO] [stderr] --> backend/plugins/icp_ledger_plugin.rs:3:60 [INFO] [stderr] | [INFO] [stderr] 3 | http_request, CanisterHttpRequestArgument, HttpMethod, HttpResponse, TransformArgs, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Decode`, `Encode`, and `Nat` [INFO] [stderr] --> backend/plugins/icp_ledger_plugin.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | use candid::{CandidType, Decode, Deserialize, Encode, Nat}; [INFO] [stderr] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `quote` [INFO] [stderr] --> backend/plugins/icp_ledger_plugin.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let quote = match http_request(request, 100_000_000_000).await { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quote` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> backend/lib.rs:41:16 [INFO] [stderr] | [INFO] [stderr] 41 | Ok(a) => return "success".to_string(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: `backend` (lib test) generated 4 warnings (run `cargo fix --lib -p backend --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/backend-c5921b9756f5b0ab) [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" "4f65ec05d94c48c62206ee5cef9fa4fd21053d8a69d6cde77df19a30d0c4e139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f65ec05d94c48c62206ee5cef9fa4fd21053d8a69d6cde77df19a30d0c4e139", kill_on_drop: false }` [INFO] [stdout] 4f65ec05d94c48c62206ee5cef9fa4fd21053d8a69d6cde77df19a30d0c4e139