[INFO] cloning repository https://github.com/Prosper-ador/moodle-plugin1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Prosper-ador/moodle-plugin1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProsper-ador%2Fmoodle-plugin1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProsper-ador%2Fmoodle-plugin1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 721ce08277a9bd04d711fe3ba1d535ba55e8a72f [INFO] testing Prosper-ador/moodle-plugin1 against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProsper-ador%2Fmoodle-plugin1" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Prosper-ador/moodle-plugin1 [INFO] finished tweaking git repo https://github.com/Prosper-ador/moodle-plugin1 [INFO] tweaked toml for git repo https://github.com/Prosper-ador/moodle-plugin1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Prosper-ador/moodle-plugin1 on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Prosper-ador/moodle-plugin1 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-1-tc2/source/packages/operator/Cargo.toml: unused manifest key: target.cfg(target_arch = "x86_64").rustflags [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3929133632d7231e5037db79f180ae754ac86c09cbe976ce888d460a1af25a3a [INFO] running `Command { std: "docker" "start" "-a" "3929133632d7231e5037db79f180ae754ac86c09cbe976ce888d460a1af25a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3929133632d7231e5037db79f180ae754ac86c09cbe976ce888d460a1af25a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3929133632d7231e5037db79f180ae754ac86c09cbe976ce888d460a1af25a3a", kill_on_drop: false }` [INFO] [stdout] 3929133632d7231e5037db79f180ae754ac86c09cbe976ce888d460a1af25a3a [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=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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6122cf67d99b68b1de446e83bcf1b5ae5c29732eabbfb10c9a2a45dc304c5672 [INFO] running `Command { std: "docker" "start" "-a" "6122cf67d99b68b1de446e83bcf1b5ae5c29732eabbfb10c9a2a45dc304c5672", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/packages/operator/Cargo.toml: unused manifest key: target.cfg(target_arch = "x86_64").rustflags [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.23.30 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling operator v0.1.0 (/opt/rustwide/workdir/packages/operator) [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling moodle-wasm-example v0.1.0 (/opt/rustwide/workdir/packages/moodle-wasm-example) [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.29.0 [INFO] [stderr] Compiling moodle-ai-processor v0.2.0 (/opt/rustwide/workdir/packages/rust_processor) [INFO] [stdout] warning: fields `context` and `large_input_text` are never read [INFO] [stdout] --> packages/rust_processor/src/main.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 378 | struct AIRequest { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 382 | context: serde_json::Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 383 | conversation_history: Vec, [INFO] [stdout] 384 | large_input_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AIRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 33s [INFO] running `Command { std: "docker" "inspect" "6122cf67d99b68b1de446e83bcf1b5ae5c29732eabbfb10c9a2a45dc304c5672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6122cf67d99b68b1de446e83bcf1b5ae5c29732eabbfb10c9a2a45dc304c5672", kill_on_drop: false }` [INFO] [stdout] 6122cf67d99b68b1de446e83bcf1b5ae5c29732eabbfb10c9a2a45dc304c5672 [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=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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f03114072a584a459872fd16ef4bc11414a262034a0def63d29a3a4ae36848e3 [INFO] running `Command { std: "docker" "start" "-a" "f03114072a584a459872fd16ef4bc11414a262034a0def63d29a3a4ae36848e3", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/packages/operator/Cargo.toml: unused manifest key: target.cfg(target_arch = "x86_64").rustflags [INFO] [stderr] Compiling operator v0.1.0 (/opt/rustwide/workdir/packages/operator) [INFO] [stderr] Compiling moodle-ai-processor v0.2.0 (/opt/rustwide/workdir/packages/rust_processor) [INFO] [stderr] Compiling moodle-wasm-example v0.1.0 (/opt/rustwide/workdir/packages/moodle-wasm-example) [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> packages/rust_processor/src/main.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 378 | struct AIRequest { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 382 | context: serde_json::Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AIRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "f03114072a584a459872fd16ef4bc11414a262034a0def63d29a3a4ae36848e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f03114072a584a459872fd16ef4bc11414a262034a0def63d29a3a4ae36848e3", kill_on_drop: false }` [INFO] [stdout] f03114072a584a459872fd16ef4bc11414a262034a0def63d29a3a4ae36848e3 [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=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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3107e165014406de38240fc2fd3b674d753459968e0dd9d1f294abe612861700 [INFO] running `Command { std: "docker" "start" "-a" "3107e165014406de38240fc2fd3b674d753459968e0dd9d1f294abe612861700", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/packages/operator/Cargo.toml: unused manifest key: target.cfg(target_arch = "x86_64").rustflags [INFO] [stderr] warning: field `context` is never read [INFO] [stderr] --> packages/rust_processor/src/main.rs:382:5 [INFO] [stderr] | [INFO] [stderr] 378 | struct AIRequest { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 382 | context: serde_json::Value, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AIRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `moodle-ai-processor` (bin "moodle-ai-processor" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/moodle_ai_processor-d803674bc2bf64c5) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_deserialize_airequest ... ok [INFO] [stdout] test tests::test_serialize_airesponse ... ok [INFO] [stdout] test tests::test_process_request_error_handling ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_process_request_error_handling stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_process_request_error_handling' (17) panicked at packages/rust_processor/src/main.rs:655:9: [INFO] [stdout] The error message did not seem to be an API key/authentication error. Actual error: 'error processing request: http error: error sending request for url (https://api.openai.com/v1/chat/completions)' [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5acb55ab62e2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5acb55ab62e2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5acb55ab62e2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5acb55ab62e2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5acb55ac89af - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5acb55ac89af - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5acb55a80fa3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5acb55a80fa3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5acb55a8da42 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5acb55a9328f - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5acb55a93121 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5acb554da65e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5acb554da65e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5acb55a939de - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5acb55a939de - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5acb55a936fa - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5acb55a8db89 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5acb55a74f5d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5acb55ad1c60 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5acb5549eefc - moodle_ai_processor::tests::test_process_request_error_handling::{{closure}}::hd9bb1dbcb0d91f4e [INFO] [stdout] at /opt/rustwide/workdir/packages/rust_processor/src/main.rs:655:9 [INFO] [stdout] 20: 0x5acb554a24f2 - as core::future::future::Future>::poll::h8a05289e98122bcf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/future/future.rs:133:9 [INFO] [stdout] 21: 0x5acb554a24ad - as core::future::future::Future>::poll::h56ec1b8136c71217 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/future/future.rs:133:9 [INFO] [stdout] 22: 0x5acb55498ffd - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hceaba92e815db89e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:742:70 [INFO] [stdout] 23: 0x5acb55498dbb - tokio::task::coop::with_budget::hcb2fa40105ae0034 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/task/coop/mod.rs:167:5 [INFO] [stdout] 24: 0x5acb55498dbb - tokio::task::coop::budget::hbd61a9cb10af5779 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/task/coop/mod.rs:133:5 [INFO] [stdout] 25: 0x5acb55498dbb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h89270b3ac7d8b00c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:742:25 [INFO] [stdout] 26: 0x5acb554963b0 - tokio::runtime::scheduler::current_thread::Context::enter::h9c434615bce85f8f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 27: 0x5acb554979dd - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hab097ed700328d48 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:741:44 [INFO] [stdout] 28: 0x5acb554976a4 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::he5e5c39c8c095659 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:829:68 [INFO] [stdout] 29: 0x5acb554950fb - tokio::runtime::context::scoped::Scoped::set::h9accbbedb96f6fa3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 30: 0x5acb554a0e19 - tokio::runtime::context::set_scheduler::{{closure}}::h9627cd379fbec0a3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/context.rs:176:38 [INFO] [stdout] 31: 0x5acb5547e152 - std::thread::local::LocalKey::try_with::hfd249962395711ee [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 32: 0x5acb5547d17e - std::thread::local::LocalKey::with::h4e34e907a8b85c22 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 33: 0x5acb554a0d8d - tokio::runtime::context::set_scheduler::he300238c360827ff [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/context.rs:176:17 [INFO] [stdout] 34: 0x5acb55497430 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h698a268a211f20a5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:829:27 [INFO] [stdout] 35: 0x5acb554976c3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::hc6818aa2c2c996c7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:729:24 [INFO] [stdout] 36: 0x5acb55495660 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h1bc3d7bbf4c9b9bf [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 37: 0x5acb554a1500 - tokio::runtime::context::runtime::enter_runtime::hf50ff4ed64d1b4f5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 38: 0x5acb55495371 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h81019c4eb894d13a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 39: 0x5acb554a1e74 - tokio::runtime::runtime::Runtime::block_on_inner::h984a0cfffbd8d2ba [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/runtime.rs:356:52 [INFO] [stdout] 40: 0x5acb554a203c - tokio::runtime::runtime::Runtime::block_on::hee1eeb1ec4c844da [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/runtime.rs:330:18 [INFO] [stdout] 41: 0x5acb5549e5b1 - moodle_ai_processor::tests::test_process_request_error_handling::h08de415b1aae99c3 [INFO] [stdout] at /opt/rustwide/workdir/packages/rust_processor/src/main.rs:659:10 [INFO] [stdout] 42: 0x5acb5549e647 - moodle_ai_processor::tests::test_process_request_error_handling::{{closure}}::h3545339e4503ee08 [INFO] [stdout] at /opt/rustwide/workdir/packages/rust_processor/src/main.rs:635:51 [INFO] [stdout] 43: 0x5acb554ad6d6 - core::ops::function::FnOnce::call_once::hfa61e118e6e0707e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x5acb554da4cb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x5acb554da4cb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 46: 0x5acb554eff25 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 47: 0x5acb554eff25 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 48: 0x5acb554eff25 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 49: 0x5acb554eff25 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 50: 0x5acb554eff25 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 51: 0x5acb554eff25 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 52: 0x5acb554eff25 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 53: 0x5acb554c68f4 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 54: 0x5acb554c68f4 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 55: 0x5acb554ca1da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 56: 0x5acb554ca1da - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 57: 0x5acb554ca1da - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 58: 0x5acb554ca1da - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 59: 0x5acb554ca1da - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 60: 0x5acb554ca1da - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 61: 0x5acb554ca1da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 62: 0x5acb55a87caf - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 63: 0x5acb55a87caf - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 64: 0x76790183daa4 - [INFO] [stdout] 65: 0x7679018caa34 - clone [INFO] [stdout] 66: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_process_request_error_handling [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p moodle-ai-processor --bin moodle-ai-processor` [INFO] running `Command { std: "docker" "inspect" "3107e165014406de38240fc2fd3b674d753459968e0dd9d1f294abe612861700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3107e165014406de38240fc2fd3b674d753459968e0dd9d1f294abe612861700", kill_on_drop: false }` [INFO] [stdout] 3107e165014406de38240fc2fd3b674d753459968e0dd9d1f294abe612861700