[INFO] fetching crate hornbill_apilib 0.1.0... [INFO] testing hornbill_apilib-0.1.0 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] extracting crate hornbill_apilib 0.1.0 into /workspace/builds/worker-94/source [INFO] validating manifest of crates.io crate hornbill_apilib 0.1.0 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hornbill_apilib 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate hornbill_apilib 0.1.0 [INFO] tweaked toml for crates.io crate hornbill_apilib 0.1.0 written to /workspace/builds/worker-94/source/Cargo.toml [INFO] crate crates.io crate hornbill_apilib 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da78165e803199ee57211eb8b6977ad1b733044e6bf8e8db87e4bf1841de1589 [INFO] running `Command { std: "docker" "start" "-a" "da78165e803199ee57211eb8b6977ad1b733044e6bf8e8db87e4bf1841de1589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da78165e803199ee57211eb8b6977ad1b733044e6bf8e8db87e4bf1841de1589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da78165e803199ee57211eb8b6977ad1b733044e6bf8e8db87e4bf1841de1589", kill_on_drop: false }` [INFO] [stdout] da78165e803199ee57211eb8b6977ad1b733044e6bf8e8db87e4bf1841de1589 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a305505b21f6df94b78e341101d0c7d5fdbed6b7d58737d94c35715517516562 [INFO] running `Command { std: "docker" "start" "-a" "a305505b21f6df94b78e341101d0c7d5fdbed6b7d58737d94c35715517516562", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling hornbill_apilib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `cluster_fqn` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub cluster_fqn: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Zoneinfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `release_stream` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub release_stream: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Zoneinfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "a305505b21f6df94b78e341101d0c7d5fdbed6b7d58737d94c35715517516562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a305505b21f6df94b78e341101d0c7d5fdbed6b7d58737d94c35715517516562", kill_on_drop: false }` [INFO] [stdout] a305505b21f6df94b78e341101d0c7d5fdbed6b7d58737d94c35715517516562 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60ae832008abfb37518dfcf5e4dc6bbe7d8358e1107925ce18f7760ec0688a77 [INFO] running `Command { std: "docker" "start" "-a" "60ae832008abfb37518dfcf5e4dc6bbe7d8358e1107925ce18f7760ec0688a77", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stdout] warning: field is never read: `cluster_fqn` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub cluster_fqn: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Zoneinfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `release_stream` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub release_stream: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Zoneinfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling serde-xml-rs v0.4.0 [INFO] [stderr] Compiling hornbill_apilib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `cluster_fqn` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub cluster_fqn: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Zoneinfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `release_stream` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub release_stream: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Zoneinfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.88s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/hornbill_apilib-964cef21bb856952) [INFO] running `Command { std: "docker" "inspect" "60ae832008abfb37518dfcf5e4dc6bbe7d8358e1107925ce18f7760ec0688a77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60ae832008abfb37518dfcf5e4dc6bbe7d8358e1107925ce18f7760ec0688a77", kill_on_drop: false }` [INFO] [stdout] 60ae832008abfb37518dfcf5e4dc6bbe7d8358e1107925ce18f7760ec0688a77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ac91f2f5b003308375e46fc37ea40a908f8a57fa3cd8b5e61cf4dbc45c1ff5f [INFO] running `Command { std: "docker" "start" "-a" "0ac91f2f5b003308375e46fc37ea40a908f8a57fa3cd8b5e61cf4dbc45c1ff5f", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `cluster_fqn` [INFO] [stderr] --> src/lib.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub cluster_fqn: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Zoneinfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `release_stream` [INFO] [stderr] --> src/lib.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub release_stream: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Zoneinfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `hornbill_apilib` (lib) generated 2 warnings [INFO] [stderr] warning: `hornbill_apilib` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hornbill_apilib-964cef21bb856952) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_client ... ok [INFO] [stderr] Doc-tests hornbill_apilib [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/lib.rs - Xmlmc::open_element (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::clear_params (line 191) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::close_element (line 162) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::set_apikey (line 236) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::get_params (line 178) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::get_headers (line 291) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::invoke (line 300) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::set_sessionid (line 243) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::get_server_url (line 275) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::set_json_response (line 219) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::set_trace (line 251) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::set_copy_headers (line 259) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::get_status_code (line 268) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::set_param (line 76) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::new (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - get_url_from_name (line 404) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::get_count (line 282) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::close_element (line 158) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::set_user_agent (line 200) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::get_session_id (line 228) ... FAILED [INFO] [stdout] test src/lib.rs - Xmlmc::open_element (line 138) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Xmlmc::open_element (line 142) stdout ---- [INFO] [stdout] error: expected `::`, found `}` [INFO] [stdout] --> src/lib.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 3 | [INFO] [stdout] | - expected `::` [INFO] [stdout] 4 | } _doctest_main_src_lib_rs_142_0() } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::clear_params (line 191) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 3 | c.clear_params() [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::close_element (line 162) stdout ---- [INFO] [stdout] error: expected type, found `/` [INFO] [stdout] --> src/lib.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 3 | [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::set_apikey (line 236) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 3 | c.set_apikey("1234567890"); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::get_params (line 178) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 3 | let xml_output = c.get_params(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::get_headers (line 291) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 3 | let headers = c.get_headers(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::invoke (line 300) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 3 | let headers = c.invoke(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::set_sessionid (line 243) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 3 | c.set_sessionid("1234567890"); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::get_server_url (line 275) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 3 | let server_url = c.get_server_url(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::set_json_response (line 219) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 3 | c.set_json_response(true); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::set_trace (line 251) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 3 | c.set_trace("0987654321zxc"); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::set_copy_headers (line 259) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 3 | c.set_copy_headers(true); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::get_status_code (line 268) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 3 | let status = c.get_status_code(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::set_param (line 76) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 3 | c.set_param("username","admin"); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::new (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Xmlmc` [INFO] [stdout] --> src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Xmlmc::new(&url).expect("Could not create client"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use hornbill_apilib::Xmlmc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/lib.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Xmlmc::new(&url).expect("Could not create client"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - get_url_from_name (line 404) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_url_from_name` in this scope [INFO] [stdout] --> src/lib.rs:405:11 [INFO] [stdout] | [INFO] [stdout] 3 | let url = get_url_from_name("demo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use hornbill_apilib::get_url_from_name; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::get_count (line 282) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 3 | let counter = c.get_count(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::close_element (line 158) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 3 | c.close_element("userObject"); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::set_user_agent (line 200) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 3 | c.set_user_agent("demo_ldapimport/1.1"); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::get_session_id (line 228) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 3 | let session_id = c.get_session_id(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Xmlmc::open_element (line 138) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 3 | c.open_element("userObject"); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Xmlmc::clear_params (line 191) [INFO] [stdout] src/lib.rs - Xmlmc::close_element (line 158) [INFO] [stdout] src/lib.rs - Xmlmc::close_element (line 162) [INFO] [stdout] src/lib.rs - Xmlmc::get_count (line 282) [INFO] [stdout] src/lib.rs - Xmlmc::get_headers (line 291) [INFO] [stdout] src/lib.rs - Xmlmc::get_params (line 178) [INFO] [stdout] src/lib.rs - Xmlmc::get_server_url (line 275) [INFO] [stdout] src/lib.rs - Xmlmc::get_session_id (line 228) [INFO] [stdout] src/lib.rs - Xmlmc::get_status_code (line 268) [INFO] [stdout] src/lib.rs - Xmlmc::invoke (line 300) [INFO] [stdout] src/lib.rs - Xmlmc::new (line 48) [INFO] [stdout] src/lib.rs - Xmlmc::open_element (line 138) [INFO] [stdout] src/lib.rs - Xmlmc::open_element (line 142) [INFO] [stdout] src/lib.rs - Xmlmc::set_apikey (line 236) [INFO] [stdout] src/lib.rs - Xmlmc::set_copy_headers (line 259) [INFO] [stdout] src/lib.rs - Xmlmc::set_json_response (line 219) [INFO] [stdout] src/lib.rs - Xmlmc::set_param (line 76) [INFO] [stdout] src/lib.rs - Xmlmc::set_sessionid (line 243) [INFO] [stdout] src/lib.rs - Xmlmc::set_trace (line 251) [INFO] [stdout] src/lib.rs - Xmlmc::set_user_agent (line 200) [INFO] [stdout] src/lib.rs - get_url_from_name (line 404) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0ac91f2f5b003308375e46fc37ea40a908f8a57fa3cd8b5e61cf4dbc45c1ff5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac91f2f5b003308375e46fc37ea40a908f8a57fa3cd8b5e61cf4dbc45c1ff5f", kill_on_drop: false }` [INFO] [stdout] 0ac91f2f5b003308375e46fc37ea40a908f8a57fa3cd8b5e61cf4dbc45c1ff5f