[INFO] fetching crate erniebot-rs 0.4.1... [INFO] testing erniebot-rs-0.4.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate erniebot-rs 0.4.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate erniebot-rs 0.4.1 [INFO] finished tweaking crates.io crate erniebot-rs 0.4.1 [INFO] tweaked toml for crates.io crate erniebot-rs 0.4.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate erniebot-rs 0.4.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate erniebot-rs 0.4.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 554f1b7ec7dad1aa18d3aa8d42b65823d414453340db563cfaba55f93403e458 [INFO] running `Command { std: "docker" "start" "-a" "554f1b7ec7dad1aa18d3aa8d42b65823d414453340db563cfaba55f93403e458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "554f1b7ec7dad1aa18d3aa8d42b65823d414453340db563cfaba55f93403e458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "554f1b7ec7dad1aa18d3aa8d42b65823d414453340db563cfaba55f93403e458", kill_on_drop: false }` [INFO] [stdout] 554f1b7ec7dad1aa18d3aa8d42b65823d414453340db563cfaba55f93403e458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 582f61dec1dc3f5339fbeb0f8b9cf42a3f32117fb56571218488796ca1e544c1 [INFO] running `Command { std: "docker" "start" "-a" "582f61dec1dc3f5339fbeb0f8b9cf42a3f32117fb56571218488796ca1e544c1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustls-pki-types v1.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling strum v0.26.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling image-webp v0.1.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling rustls-webpki v0.102.2 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling json_value_merge v2.0.0 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling ureq v2.9.6 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.3 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling erniebot-rs v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.78s [INFO] running `Command { std: "docker" "inspect" "582f61dec1dc3f5339fbeb0f8b9cf42a3f32117fb56571218488796ca1e544c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582f61dec1dc3f5339fbeb0f8b9cf42a3f32117fb56571218488796ca1e544c1", kill_on_drop: false }` [INFO] [stdout] 582f61dec1dc3f5339fbeb0f8b9cf42a3f32117fb56571218488796ca1e544c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ece581172b4b6c70af6d99458b4fc6740cd03d1d78bf3bfb4643f8321e773e7e [INFO] running `Command { std: "docker" "start" "-a" "ece581172b4b6c70af6d99458b4fc6740cd03d1d78bf3bfb4643f8321e773e7e", kill_on_drop: false }` [INFO] [stderr] Compiling erniebot-rs v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.44s [INFO] running `Command { std: "docker" "inspect" "ece581172b4b6c70af6d99458b4fc6740cd03d1d78bf3bfb4643f8321e773e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece581172b4b6c70af6d99458b4fc6740cd03d1d78bf3bfb4643f8321e773e7e", kill_on_drop: false }` [INFO] [stdout] ece581172b4b6c70af6d99458b4fc6740cd03d1d78bf3bfb4643f8321e773e7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 383f4d1c07dc102e988d7c5876209eb1825da9e8b4d276c7785cb0100b94576d [INFO] running `Command { std: "docker" "start" "-a" "383f4d1c07dc102e988d7c5876209eb1825da9e8b4d276c7785cb0100b94576d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/erniebot_rs-22b138808925a660) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test chat::model::tests::test_chat_model_to_string ... ok [INFO] [stdout] test text2image::option::tests::test_size ... ok [INFO] [stdout] test utils::tests::test_get_access_token ... ok [INFO] [stdout] test embedding::model::tests::test_embedding_model_to_string ... ok [INFO] [stdout] test text2image::model::tests::test_text2image_model_from_str ... ok [INFO] [stdout] test text2image::model::tests::test_text2image_model_to_string ... ok [INFO] [stdout] test chat::endpoint::tests::test_generate_body ... ok [INFO] [stdout] test chat::function::tests::test_tool_choice ... ok [INFO] [stdout] test chat::model::tests::test_chat_model_from_str ... ok [INFO] [stdout] test embedding::model::tests::test_embedding_model_from_str ... ok [INFO] [stdout] test chat::message::tests::test_message ... ok [INFO] [stdout] test chat::function::tests::test_schema ... ok [INFO] [stderr] Doc-tests erniebot_rs [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] warning: expected `=`, found `,` [INFO] [stderr] --> src/chat/message.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / /** Definition of the message structure [INFO] [stderr] 13 | | [INFO] [stderr] 14 | | as metioned in , [INFO] [stderr] 15 | | The "messages" member must not be empty. One member represents a single round of conversation, while multiple members represent multiple ... [INFO] [stderr] ... | [INFO] [stderr] 49 | | In the example, the role values of the messages are "user", "assistant", "user", "assistant", and "user" respectively. The role values of... [INFO] [stderr] 50 | | */ [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/chat/message.rs - chat::message::Message (line 17) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "383f4d1c07dc102e988d7c5876209eb1825da9e8b4d276c7785cb0100b94576d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "383f4d1c07dc102e988d7c5876209eb1825da9e8b4d276c7785cb0100b94576d", kill_on_drop: false }` [INFO] [stdout] 383f4d1c07dc102e988d7c5876209eb1825da9e8b4d276c7785cb0100b94576d