[INFO] cloning repository https://github.com/liziyi0914/xtranslator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liziyi0914/xtranslator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliziyi0914%2Fxtranslator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliziyi0914%2Fxtranslator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36a70fb54852b667cdb6be94efb9b81b0d93c173 [INFO] testing liziyi0914/xtranslator against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliziyi0914%2Fxtranslator" "/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/liziyi0914/xtranslator [INFO] finished tweaking git repo https://github.com/liziyi0914/xtranslator [INFO] tweaked toml for git repo https://github.com/liziyi0914/xtranslator written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liziyi0914/xtranslator on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/liziyi0914/xtranslator 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34522c363b73230f87250158c97a230c80d76493fac14f35e6b8a4e29ddf63c8 [INFO] running `Command { std: "docker" "start" "-a" "34522c363b73230f87250158c97a230c80d76493fac14f35e6b8a4e29ddf63c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34522c363b73230f87250158c97a230c80d76493fac14f35e6b8a4e29ddf63c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34522c363b73230f87250158c97a230c80d76493fac14f35e6b8a4e29ddf63c8", kill_on_drop: false }` [INFO] [stdout] 34522c363b73230f87250158c97a230c80d76493fac14f35e6b8a4e29ddf63c8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc983794355049b6189abfed81f8f37d2594490fa1f8183d821240613daeea9b [INFO] running `Command { std: "docker" "start" "-a" "dc983794355049b6189abfed81f8f37d2594490fa1f8183d821240613daeea9b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling num-modular v0.6.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-order v1.2.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.103.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling handlebars v6.3.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub type GetPluginName = unsafe extern fn() -> *mut c_char; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | pub type CreateTranslator = unsafe extern fn(*const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub type GetSupportedInputLanguages = unsafe extern fn(*mut TranslatorHandle, *mut *mut *const c_char, *mut usize) -> *mut FfiResult<... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | pub type IsSupportedInputLanguage = unsafe extern fn(*mut TranslatorHandle, *const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | pub type GetSupportedOutputLanguages = unsafe extern fn(*mut TranslatorHandle, *mut *mut *const c_char, *mut usize) -> *mut FfiResul... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | pub type IsSupportedOutputLanguage = unsafe extern fn(*mut TranslatorHandle, *const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub type CallTranslate = unsafe extern fn(*mut TranslatorHandle, *const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | pub type CallTranslateStream = unsafe extern fn(*mut TranslatorHandle, *const c_char, StreamCallback, *mut c_void) -> *mut FfiResult... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling all-in-one v0.1.0 (/opt/rustwide/workdir/all-in-one) [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.28.0 [INFO] [stderr] Compiling plugin-youdao-llm v0.1.0 (/opt/rustwide/workdir/plugin-youdao-llm) [INFO] [stderr] Compiling plugin-hunyuan v0.1.0 (/opt/rustwide/workdir/plugin-hunyuan) [INFO] [stderr] Compiling plugin-baidu-fanyi v0.1.0 (/opt/rustwide/workdir/plugin-baidu-fanyi) [INFO] [stderr] Compiling plugin-qwen v0.1.0 (/opt/rustwide/workdir/plugin-qwen) [INFO] [stderr] Compiling plugin-openai v0.1.0 (/opt/rustwide/workdir/plugin-openai) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "dc983794355049b6189abfed81f8f37d2594490fa1f8183d821240613daeea9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc983794355049b6189abfed81f8f37d2594490fa1f8183d821240613daeea9b", kill_on_drop: false }` [INFO] [stdout] dc983794355049b6189abfed81f8f37d2594490fa1f8183d821240613daeea9b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80f5ba3dce00990162a4557b21226e4d7c94b561de57a01bc2c17b7ff26f1422 [INFO] running `Command { std: "docker" "start" "-a" "80f5ba3dce00990162a4557b21226e4d7c94b561de57a01bc2c17b7ff26f1422", kill_on_drop: false }` [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub type GetPluginName = unsafe extern fn() -> *mut c_char; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | pub type CreateTranslator = unsafe extern fn(*const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub type GetSupportedInputLanguages = unsafe extern fn(*mut TranslatorHandle, *mut *mut *const c_char, *mut usize) -> *mut FfiResult<... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | pub type IsSupportedInputLanguage = unsafe extern fn(*mut TranslatorHandle, *const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | pub type GetSupportedOutputLanguages = unsafe extern fn(*mut TranslatorHandle, *mut *mut *const c_char, *mut usize) -> *mut FfiResul... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | pub type IsSupportedOutputLanguage = unsafe extern fn(*mut TranslatorHandle, *const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub type CallTranslate = unsafe extern fn(*mut TranslatorHandle, *const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | pub type CallTranslateStream = unsafe extern fn(*mut TranslatorHandle, *const c_char, StreamCallback, *mut c_void) -> *mut FfiResult... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling all-in-one v0.1.0 (/opt/rustwide/workdir/all-in-one) [INFO] [stderr] Compiling lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub type GetPluginName = unsafe extern fn() -> *mut c_char; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | pub type CreateTranslator = unsafe extern fn(*const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub type GetSupportedInputLanguages = unsafe extern fn(*mut TranslatorHandle, *mut *mut *const c_char, *mut usize) -> *mut FfiResult<... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | pub type IsSupportedInputLanguage = unsafe extern fn(*mut TranslatorHandle, *const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | pub type GetSupportedOutputLanguages = unsafe extern fn(*mut TranslatorHandle, *mut *mut *const c_char, *mut usize) -> *mut FfiResul... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | pub type IsSupportedOutputLanguage = unsafe extern fn(*mut TranslatorHandle, *const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub type CallTranslate = unsafe extern fn(*mut TranslatorHandle, *const c_char) -> *mut FfiResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> lib/src/ffi.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | pub type CallTranslateStream = unsafe extern fn(*mut TranslatorHandle, *const c_char, StreamCallback, *mut c_void) -> *mut FfiResult... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plugin-baidu-fanyi v0.1.0 (/opt/rustwide/workdir/plugin-baidu-fanyi) [INFO] [stderr] Compiling plugin-youdao-llm v0.1.0 (/opt/rustwide/workdir/plugin-youdao-llm) [INFO] [stderr] Compiling plugin-hunyuan v0.1.0 (/opt/rustwide/workdir/plugin-hunyuan) [INFO] [stderr] Compiling plugin-qwen v0.1.0 (/opt/rustwide/workdir/plugin-qwen) [INFO] [stderr] Compiling plugin-openai v0.1.0 (/opt/rustwide/workdir/plugin-openai) [INFO] [stdout] error: environment variable `YOUDAO_API_KEY` not defined at compile time [INFO] [stdout] --> plugin-youdao-llm/src/translator.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | api_key: env!("YOUDAO_API_KEY").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("YOUDAO_API_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `YOUDAO_API_SECRET` not defined at compile time [INFO] [stdout] --> plugin-youdao-llm/src/translator.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | api_secret: env!("YOUDAO_API_SECRET").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("YOUDAO_API_SECRET")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `YOUDAO_API_KEY` not defined at compile time [INFO] [stdout] --> plugin-youdao-llm/src/translator.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | api_key: env!("YOUDAO_API_KEY").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("YOUDAO_API_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `YOUDAO_API_SECRET` not defined at compile time [INFO] [stdout] --> plugin-youdao-llm/src/translator.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | api_secret: env!("YOUDAO_API_SECRET").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("YOUDAO_API_SECRET")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `OPENAI_API_BASE` not defined at compile time [INFO] [stdout] --> plugin-openai/src/translator.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | api_base: env!("OPENAI_API_BASE").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("OPENAI_API_BASE")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `OPENAI_API_KEY` not defined at compile time [INFO] [stdout] --> plugin-openai/src/translator.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | api_key: env!("OPENAI_API_KEY").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("OPENAI_API_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `OPENAI_API_BASE` not defined at compile time [INFO] [stdout] --> plugin-openai/src/translator.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | api_base: env!("OPENAI_API_BASE").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("OPENAI_API_BASE")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `OPENAI_API_KEY` not defined at compile time [INFO] [stdout] --> plugin-openai/src/translator.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | api_key: env!("OPENAI_API_KEY").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("OPENAI_API_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `HUNYUAN_SECRET_ID` not defined at compile time [INFO] [stdout] --> plugin-hunyuan/src/translator.rs:584:20 [INFO] [stdout] | [INFO] [stdout] 584 | secret_id: env!("HUNYUAN_SECRET_ID").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("HUNYUAN_SECRET_ID")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `HUNYUAN_SECRET_KEY` not defined at compile time [INFO] [stdout] --> plugin-hunyuan/src/translator.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | secret_key: env!("HUNYUAN_SECRET_KEY").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("HUNYUAN_SECRET_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `HUNYUAN_SECRET_ID` not defined at compile time [INFO] [stdout] --> plugin-hunyuan/src/translator.rs:596:20 [INFO] [stdout] | [INFO] [stdout] 596 | secret_id: env!("HUNYUAN_SECRET_ID").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("HUNYUAN_SECRET_ID")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `HUNYUAN_SECRET_KEY` not defined at compile time [INFO] [stdout] --> plugin-hunyuan/src/translator.rs:597:21 [INFO] [stdout] | [INFO] [stdout] 597 | secret_key: env!("HUNYUAN_SECRET_KEY").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("HUNYUAN_SECRET_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `QWEN_API_KEY` not defined at compile time [INFO] [stdout] --> plugin-qwen/src/translator.rs:365:18 [INFO] [stdout] | [INFO] [stdout] 365 | api_key: env!("QWEN_API_KEY").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("QWEN_API_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `QWEN_API_KEY` not defined at compile time [INFO] [stdout] --> plugin-qwen/src/translator.rs:375:18 [INFO] [stdout] | [INFO] [stdout] 375 | api_key: env!("QWEN_API_KEY").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("QWEN_API_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BAIDU_FANYI_APP_ID` not defined at compile time [INFO] [stdout] --> plugin-baidu-fanyi/src/translator.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | app_id: env!("BAIDU_FANYI_APP_ID").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("BAIDU_FANYI_APP_ID")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BAIDU_FANYI_SECRET` not defined at compile time [INFO] [stdout] --> plugin-baidu-fanyi/src/translator.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | secret: env!("BAIDU_FANYI_SECRET").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("BAIDU_FANYI_SECRET")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BAIDU_FANYI_APP_ID` not defined at compile time [INFO] [stdout] --> plugin-baidu-fanyi/src/translator.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | app_id: env!("BAIDU_FANYI_APP_ID").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("BAIDU_FANYI_APP_ID")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BAIDU_FANYI_SECRET` not defined at compile time [INFO] [stdout] --> plugin-baidu-fanyi/src/translator.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | secret: env!("BAIDU_FANYI_SECRET").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("BAIDU_FANYI_SECRET")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plugin-youdao-llm` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `plugin-openai` (lib test) due to 4 previous errors [INFO] [stderr] error: could not compile `plugin-baidu-fanyi` (lib test) due to 4 previous errors [INFO] [stderr] error: could not compile `plugin-hunyuan` (lib test) due to 4 previous errors [INFO] [stderr] error: could not compile `plugin-qwen` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "80f5ba3dce00990162a4557b21226e4d7c94b561de57a01bc2c17b7ff26f1422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f5ba3dce00990162a4557b21226e4d7c94b561de57a01bc2c17b7ff26f1422", kill_on_drop: false }` [INFO] [stdout] 80f5ba3dce00990162a4557b21226e4d7c94b561de57a01bc2c17b7ff26f1422