[INFO] fetching crate erniebot-rs 0.4.1...
[INFO] testing erniebot-rs-0.4.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate erniebot-rs 0.4.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate erniebot-rs 0.4.1 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 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e02ef04dfaa1b7b033547ed4f9e0f3b8252279ec3ba39b49552944a5da733599
[INFO] running `Command { std: "docker" "start" "-a" "e02ef04dfaa1b7b033547ed4f9e0f3b8252279ec3ba39b49552944a5da733599", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e02ef04dfaa1b7b033547ed4f9e0f3b8252279ec3ba39b49552944a5da733599", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e02ef04dfaa1b7b033547ed4f9e0f3b8252279ec3ba39b49552944a5da733599", kill_on_drop: false }`
[INFO] [stdout] e02ef04dfaa1b7b033547ed4f9e0f3b8252279ec3ba39b49552944a5da733599
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 73365785bef7efade4f819885fc86f7d46abaffe6ea2d02c176d581efde6aa92
[INFO] running `Command { std: "docker" "start" "-a" "73365785bef7efade4f819885fc86f7d46abaffe6ea2d02c176d581efde6aa92", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling rustls-pki-types v1.4.1
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.49
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling indexmap v2.2.3
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling built v0.7.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling bytemuck v1.14.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling rayon v1.8.1
[INFO] [stderr]    Compiling bitstream-io v2.2.0
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling imgref v1.10.1
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling url v2.5.0
[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 flume v0.11.0
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling half v2.4.0
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling schemars v0.8.16
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling zune-jpeg v0.4.11
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling exr v1.72.0
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling webpki-roots v0.26.1
[INFO] [stderr]    Compiling dyn-clone v1.0.17
[INFO] [stderr]    Compiling strum v0.26.1
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling schemars_derive v0.8.16
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[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 rustls-webpki v0.102.2
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ureq v2.9.6
[INFO] [stderr]    Compiling json_value_merge v2.0.0
[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 h2 v0.4.4
[INFO] [stderr]    Compiling ravif v0.11.5
[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 56.71s
[INFO] running `Command { std: "docker" "inspect" "73365785bef7efade4f819885fc86f7d46abaffe6ea2d02c176d581efde6aa92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73365785bef7efade4f819885fc86f7d46abaffe6ea2d02c176d581efde6aa92", kill_on_drop: false }`
[INFO] [stdout] 73365785bef7efade4f819885fc86f7d46abaffe6ea2d02c176d581efde6aa92
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 402333eae69a539200760fd6e796cce9f3f8a79490c8d323ff150aab4db29b9d
[INFO] running `Command { std: "docker" "start" "-a" "402333eae69a539200760fd6e796cce9f3f8a79490c8d323ff150aab4db29b9d", 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.30s
[INFO] running `Command { std: "docker" "inspect" "402333eae69a539200760fd6e796cce9f3f8a79490c8d323ff150aab4db29b9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "402333eae69a539200760fd6e796cce9f3f8a79490c8d323ff150aab4db29b9d", kill_on_drop: false }`
[INFO] [stdout] 402333eae69a539200760fd6e796cce9f3f8a79490c8d323ff150aab4db29b9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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", kill_on_drop: false }`
[INFO] [stdout] 7eed6f79e9a7e4e31a1c0b75405d1245276d40d2d1dfaf0302fb15450acc08b8
[INFO] running `Command { std: "docker" "start" "-a" "7eed6f79e9a7e4e31a1c0b75405d1245276d40d2d1dfaf0302fb15450acc08b8", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s
[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::endpoint::tests::test_generate_body ... ok
[INFO] [stdout] test chat::function::tests::test_schema ... ok
[INFO] [stdout] test chat::model::tests::test_chat_model_to_string ... ok
[INFO] [stdout] test chat::model::tests::test_chat_model_from_str ... ok
[INFO] [stdout] test chat::message::tests::test_message ... 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 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 embedding::model::tests::test_embedding_model_from_str ... ok
[INFO] [stdout] test chat::function::tests::test_tool_choice ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests erniebot_rs
[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 <https://cloud.baidu.com/doc/WENXINWORKSHOP/s/jlil56u11>,
[INFO] [stderr] 15 | | The "messages" member must not be empty. One member represents a single round of conversation, while multiple members represent mu...
[INFO] [stderr] ...  |
[INFO] [stderr] 49 | | In the example, the role values of the messages are "user", "assistant", "user", "assistant", and "user" respectively. The role va...
[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 0.91s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7eed6f79e9a7e4e31a1c0b75405d1245276d40d2d1dfaf0302fb15450acc08b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7eed6f79e9a7e4e31a1c0b75405d1245276d40d2d1dfaf0302fb15450acc08b8", kill_on_drop: false }`
[INFO] [stdout] 7eed6f79e9a7e4e31a1c0b75405d1245276d40d2d1dfaf0302fb15450acc08b8
