[INFO] fetching crate weixin_rust 0.1.6... [INFO] testing weixin_rust-0.1.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate weixin_rust 0.1.6 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate weixin_rust 0.1.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 173 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98afe8190560b325697bbd098d73edccec66881e1d8cd991d490c79822e9ba7a [INFO] running `Command { std: "docker" "start" "-a" "98afe8190560b325697bbd098d73edccec66881e1d8cd991d490c79822e9ba7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98afe8190560b325697bbd098d73edccec66881e1d8cd991d490c79822e9ba7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98afe8190560b325697bbd098d73edccec66881e1d8cd991d490c79822e9ba7a", kill_on_drop: false }` [INFO] [stdout] 98afe8190560b325697bbd098d73edccec66881e1d8cd991d490c79822e9ba7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 014f2c438682b9bc7451224d51cd8f8b8d4bac56caff431cec0b4bc5f2bcbcd0 [INFO] running `Command { std: "docker" "start" "-a" "014f2c438682b9bc7451224d51cd8f8b8d4bac56caff431cec0b4bc5f2bcbcd0", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [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 21.21s [INFO] running `Command { std: "docker" "inspect" "014f2c438682b9bc7451224d51cd8f8b8d4bac56caff431cec0b4bc5f2bcbcd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "014f2c438682b9bc7451224d51cd8f8b8d4bac56caff431cec0b4bc5f2bcbcd0", kill_on_drop: false }` [INFO] [stdout] 014f2c438682b9bc7451224d51cd8f8b8d4bac56caff431cec0b4bc5f2bcbcd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee852061746c5e08ec77325afc4c4d468371c0c9368c2c9b8f8908313ccee778 [INFO] running `Command { std: "docker" "start" "-a" "ee852061746c5e08ec77325afc4c4d468371c0c9368c2c9b8f8908313ccee778", kill_on_drop: false }` [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] [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.15s [INFO] running `Command { std: "docker" "inspect" "ee852061746c5e08ec77325afc4c4d468371c0c9368c2c9b8f8908313ccee778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee852061746c5e08ec77325afc4c4d468371c0c9368c2c9b8f8908313ccee778", kill_on_drop: false }` [INFO] [stdout] ee852061746c5e08ec77325afc4c4d468371c0c9368c2c9b8f8908313ccee778 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 86ac8a8acd6158588523f32c2684f501f3b394ab3498a66f4ca59a2c38c81654 [INFO] running `Command { std: "docker" "start" "-a" "86ac8a8acd6158588523f32c2684f501f3b394ab3498a66f4ca59a2c38c81654", 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.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/weixin_rust-85474913228cbeab) [INFO] [stdout] [INFO] [stderr] Doc-tests weixin_rust [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] [stdout] [INFO] [stdout] running 8 tests [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_user_service (line 95) ... 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_dept_service (line 124) ... 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_message_service (line 210) ... 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_tag_service (line 152) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 9 | 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] 9 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 9 + 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] 9 | 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] 9 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 9 + 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/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] 6 | 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] 6 | 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_dept_service (line 124) stdout ---- [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/agent/mod.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 9 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 9 + 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] 9 | 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] 9 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 9 + 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] 9 | 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] 9 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 9 + 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] 7 | use weixin_rust::customer::CustomService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `CustomerService` [INFO] [stdout] | no `CustomService` in `customer` [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/agent/mod.rs:245:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 9 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 9 + 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_tag_service (line 152) stdout ---- [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/agent/mod.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 9 - let mut agent=Agent::new{corpid:"".to_string(),agent_secret:"".to_string()}; [INFO] [stdout] 9 + 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.39s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "86ac8a8acd6158588523f32c2684f501f3b394ab3498a66f4ca59a2c38c81654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86ac8a8acd6158588523f32c2684f501f3b394ab3498a66f4ca59a2c38c81654", kill_on_drop: false }` [INFO] [stdout] 86ac8a8acd6158588523f32c2684f501f3b394ab3498a66f4ca59a2c38c81654