[INFO] fetching crate weixin_rust 0.1.6... [INFO] testing weixin_rust-0.1.6 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate weixin_rust 0.1.6 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate weixin_rust 0.1.6 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f41a71cd0f81a6658f07b8d2145fbbfd0a0fafa3bf5352ebeb0d368162756de2 [INFO] running `Command { std: "docker" "start" "-a" "f41a71cd0f81a6658f07b8d2145fbbfd0a0fafa3bf5352ebeb0d368162756de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f41a71cd0f81a6658f07b8d2145fbbfd0a0fafa3bf5352ebeb0d368162756de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41a71cd0f81a6658f07b8d2145fbbfd0a0fafa3bf5352ebeb0d368162756de2", kill_on_drop: false }` [INFO] [stdout] f41a71cd0f81a6658f07b8d2145fbbfd0a0fafa3bf5352ebeb0d368162756de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37d5adff7a89813b41b5af016e48d8a59625885febd8f838125f0d4d940b0c39 [INFO] running `Command { std: "docker" "start" "-a" "37d5adff7a89813b41b5af016e48d8a59625885febd8f838125f0d4d940b0c39", 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 serde v1.0.228 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [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 26.22s [INFO] running `Command { std: "docker" "inspect" "37d5adff7a89813b41b5af016e48d8a59625885febd8f838125f0d4d940b0c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d5adff7a89813b41b5af016e48d8a59625885febd8f838125f0d4d940b0c39", kill_on_drop: false }` [INFO] [stdout] 37d5adff7a89813b41b5af016e48d8a59625885febd8f838125f0d4d940b0c39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bea53ca31eacfe780a861ef2b8a556742e36fe1dbabc1a42021cd35800d9ae1a [INFO] running `Command { std: "docker" "start" "-a" "bea53ca31eacfe780a861ef2b8a556742e36fe1dbabc1a42021cd35800d9ae1a", 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 0.82s [INFO] running `Command { std: "docker" "inspect" "bea53ca31eacfe780a861ef2b8a556742e36fe1dbabc1a42021cd35800d9ae1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bea53ca31eacfe780a861ef2b8a556742e36fe1dbabc1a42021cd35800d9ae1a", kill_on_drop: false }` [INFO] [stdout] bea53ca31eacfe780a861ef2b8a556742e36fe1dbabc1a42021cd35800d9ae1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 158b3b29a6b1d26b7b2171db258718a5a33e646c7850b560129d86ef95de8c20 [INFO] running `Command { std: "docker" "start" "-a" "158b3b29a6b1d26b7b2171db258718a5a33e646c7850b560129d86ef95de8c20", 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/mod.rs - agent::Agent::get_user_service (line 95) ... 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_media_service (line 267) ... FAILED [INFO] [stdout] test src/agent/mod.rs - agent::Agent::get_customer_service (line 239) ... FAILED [INFO] [stdout] test src/agent/tools.rs - agent::tools::post_json (line 32) ... FAILED [INFO] [stdout] test src/agent/mod.rs - agent::Agent::get_message_service (line 210) ... 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_tag_service (line 152) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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_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_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_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/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_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] ---- 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_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] [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.47s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "158b3b29a6b1d26b7b2171db258718a5a33e646c7850b560129d86ef95de8c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158b3b29a6b1d26b7b2171db258718a5a33e646c7850b560129d86ef95de8c20", kill_on_drop: false }` [INFO] [stdout] 158b3b29a6b1d26b7b2171db258718a5a33e646c7850b560129d86ef95de8c20