[INFO] fetching crate weixin_rust 0.1.6... [INFO] testing weixin_rust-0.1.6 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate weixin_rust 0.1.6 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate weixin_rust 0.1.6 [INFO] finished tweaking crates.io crate weixin_rust 0.1.6 [INFO] tweaked toml for crates.io crate weixin_rust 0.1.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate weixin_rust 0.1.6 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 174 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 530e1860be7518fd9a4a504c8fb6bbf99e797767e1153e6acfcdd75db98a832d [INFO] running `Command { std: "docker" "start" "-a" "530e1860be7518fd9a4a504c8fb6bbf99e797767e1153e6acfcdd75db98a832d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "530e1860be7518fd9a4a504c8fb6bbf99e797767e1153e6acfcdd75db98a832d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530e1860be7518fd9a4a504c8fb6bbf99e797767e1153e6acfcdd75db98a832d", kill_on_drop: false }` [INFO] [stdout] 530e1860be7518fd9a4a504c8fb6bbf99e797767e1153e6acfcdd75db98a832d [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c4a2fe3ed4b81f28b0e990c41eb927f0d14379d33e1f507a00808845fe546b4 [INFO] running `Command { std: "docker" "start" "-a" "0c4a2fe3ed4b81f28b0e990c41eb927f0d14379d33e1f507a00808845fe546b4", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling weixin_rust v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `WxResponse` is never constructed [INFO] [stdout] --> src/agent/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct WxResponse{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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 30.09s [INFO] running `Command { std: "docker" "inspect" "0c4a2fe3ed4b81f28b0e990c41eb927f0d14379d33e1f507a00808845fe546b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4a2fe3ed4b81f28b0e990c41eb927f0d14379d33e1f507a00808845fe546b4", kill_on_drop: false }` [INFO] [stdout] 0c4a2fe3ed4b81f28b0e990c41eb927f0d14379d33e1f507a00808845fe546b4 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d8d51737edfa46545f97b530ddc7d67bdea10ed1948774bd3dbca249cf43e21 [INFO] running `Command { std: "docker" "start" "-a" "8d8d51737edfa46545f97b530ddc7d67bdea10ed1948774bd3dbca249cf43e21", kill_on_drop: false }` [INFO] [stdout] warning: struct `WxResponse` is never constructed [INFO] [stdout] --> src/agent/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct WxResponse{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling weixin_rust v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WxResponse` is never constructed [INFO] [stdout] --> src/agent/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct WxResponse{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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 1.62s [INFO] running `Command { std: "docker" "inspect" "8d8d51737edfa46545f97b530ddc7d67bdea10ed1948774bd3dbca249cf43e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d8d51737edfa46545f97b530ddc7d67bdea10ed1948774bd3dbca249cf43e21", kill_on_drop: false }` [INFO] [stdout] 8d8d51737edfa46545f97b530ddc7d67bdea10ed1948774bd3dbca249cf43e21 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 35465ce95fd03ce76271a8d029af091e38e7b34674d77438f847bdc69975a596 [INFO] running `Command { std: "docker" "start" "-a" "35465ce95fd03ce76271a8d029af091e38e7b34674d77438f847bdc69975a596", kill_on_drop: false }` [INFO] [stderr] warning: struct `WxResponse` is never constructed [INFO] [stderr] --> src/agent/mod.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct WxResponse{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/lib.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `weixin_rust` (lib) generated 1 warning [INFO] [stderr] warning: `weixin_rust` (lib test) generated 2 warnings (1 duplicate) (run `cargo fix --lib -p weixin_rust --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/weixin_rust-d419180f92c5bb76) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests weixin_rust [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/agent/tools.rs - agent::tools::post_json (line 32) ... FAILED [INFO] [stdout] test src/agent/mod.rs - agent::Agent::get_media_service (line 267) ... FAILED [INFO] [stdout] test src/agent/mod.rs - agent::Agent::get_sync_service (line 181) ... FAILED [INFO] [stdout] test src/agent/mod.rs - agent::Agent::get_tag_service (line 152) ... FAILED [INFO] [stdout] test src/agent/mod.rs - agent::Agent::get_customer_service (line 239) ... FAILED [INFO] [stdout] test src/agent/mod.rs - agent::Agent::get_dept_service (line 124) ... FAILED [INFO] [stdout] test src/agent/mod.rs - agent::Agent::get_user_service (line 95) ... FAILED [INFO] [stdout] test src/agent/mod.rs - agent::Agent::get_message_service (line 210) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/agent/tools.rs - agent::tools::post_json (line 32) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `weixin_rust::tools` [INFO] [stdout] --> src/agent/tools.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | use weixin_rust::tools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `tools` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 35 | use weixin_rust::agent::tools; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/agent/mod.rs - agent::Agent::get_media_service (line 267) stdout ---- [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/agent/mod.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `new` implemented for `Agent`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 273 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 273 + let mut agent=::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0223`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/agent/mod.rs - agent::Agent::get_sync_service (line 181) stdout ---- [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/agent/mod.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `new` implemented for `Agent`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 187 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 187 + let mut agent=::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0223`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/agent/mod.rs - agent::Agent::get_tag_service (line 152) stdout ---- [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/agent/mod.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `new` implemented for `Agent`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 158 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 158 + let mut agent=::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0223`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/agent/mod.rs - agent::Agent::get_customer_service (line 239) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `weixin_rust::customer::CustomService` [INFO] [stdout] --> src/agent/mod.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | use weixin_rust::customer::CustomService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CustomService` in `customer` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 243 | use weixin_rust::customer::CustomerService; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/agent/mod.rs:245:15 [INFO] [stdout] | [INFO] [stdout] 245 | let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `new` implemented for `Agent`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 245 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 245 + let mut agent=::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/agent/mod.rs - agent::Agent::get_dept_service (line 124) stdout ---- [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/agent/mod.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `new` implemented for `Agent`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 130 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 130 + let mut agent=::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0223`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/agent/mod.rs - agent::Agent::get_user_service (line 95) stdout ---- [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/agent/mod.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `new` implemented for `Agent`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 101 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 101 + let mut agent=::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0223`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/agent/mod.rs - agent::Agent::get_message_service (line 210) stdout ---- [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/agent/mod.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `new` implemented for `Agent`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 216 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 216 + let mut agent=::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0223`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/agent/mod.rs - agent::Agent::get_customer_service (line 239) [INFO] [stdout] src/agent/mod.rs - agent::Agent::get_dept_service (line 124) [INFO] [stdout] src/agent/mod.rs - agent::Agent::get_media_service (line 267) [INFO] [stdout] src/agent/mod.rs - agent::Agent::get_message_service (line 210) [INFO] [stdout] src/agent/mod.rs - agent::Agent::get_sync_service (line 181) [INFO] [stdout] src/agent/mod.rs - agent::Agent::get_tag_service (line 152) [INFO] [stdout] src/agent/mod.rs - agent::Agent::get_user_service (line 95) [INFO] [stdout] src/agent/tools.rs - agent::tools::post_json (line 32) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "35465ce95fd03ce76271a8d029af091e38e7b34674d77438f847bdc69975a596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35465ce95fd03ce76271a8d029af091e38e7b34674d77438f847bdc69975a596", kill_on_drop: false }` [INFO] [stdout] 35465ce95fd03ce76271a8d029af091e38e7b34674d77438f847bdc69975a596