[INFO] fetching crate ziti-sdk 0.1.0... [INFO] testing ziti-sdk-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ziti-sdk 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate ziti-sdk 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ziti-sdk 0.1.0 [INFO] tweaked toml for crates.io crate ziti-sdk 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ziti-sdk 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ziti-sdk 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c57ee5adff7840b471ca249691e0a80f327aeb0be370d69ad0e28d16d19b642d [INFO] running `Command { std: "docker" "start" "-a" "c57ee5adff7840b471ca249691e0a80f327aeb0be370d69ad0e28d16d19b642d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c57ee5adff7840b471ca249691e0a80f327aeb0be370d69ad0e28d16d19b642d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c57ee5adff7840b471ca249691e0a80f327aeb0be370d69ad0e28d16d19b642d", kill_on_drop: false }` [INFO] [stdout] c57ee5adff7840b471ca249691e0a80f327aeb0be370d69ad0e28d16d19b642d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16d2f6c86ffdbe384fc71236712a7812ce838159989d3f0ffcf4b09dc09b5bca [INFO] running `Command { std: "docker" "start" "-a" "16d2f6c86ffdbe384fc71236712a7812ce838159989d3f0ffcf4b09dc09b5bca", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ziti-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.81s [INFO] running `Command { std: "docker" "inspect" "16d2f6c86ffdbe384fc71236712a7812ce838159989d3f0ffcf4b09dc09b5bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d2f6c86ffdbe384fc71236712a7812ce838159989d3f0ffcf4b09dc09b5bca", kill_on_drop: false }` [INFO] [stdout] 16d2f6c86ffdbe384fc71236712a7812ce838159989d3f0ffcf4b09dc09b5bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a43a97cb4dfa8dd40ffb760ec846a578d05ca7b2ab74516681ab65fc202c5d44 [INFO] running `Command { std: "docker" "start" "-a" "a43a97cb4dfa8dd40ffb760ec846a578d05ca7b2ab74516681ab65fc202c5d44", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ziti-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.49s [INFO] running `Command { std: "docker" "inspect" "a43a97cb4dfa8dd40ffb760ec846a578d05ca7b2ab74516681ab65fc202c5d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43a97cb4dfa8dd40ffb760ec846a578d05ca7b2ab74516681ab65fc202c5d44", kill_on_drop: false }` [INFO] [stdout] a43a97cb4dfa8dd40ffb760ec846a578d05ca7b2ab74516681ab65fc202c5d44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1661facbe88e8ba68760f74fae2a4c92e24cc9184360b7bdd4619b3f9a708e96 [INFO] running `Command { std: "docker" "start" "-a" "1661facbe88e8ba68760f74fae2a4c92e24cc9184360b7bdd4619b3f9a708e96", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ziti_sdk-d3d1e59ad50e1da6) [INFO] [stdout] [INFO] [stdout] running 110 tests [INFO] [stdout] test config::options::tests::test_dial_options_clone ... ok [INFO] [stdout] test config::options::tests::test_dial_options_custom ... ok [INFO] [stdout] test config::options::tests::test_dial_options_partial ... ok [INFO] [stdout] test config::options::tests::test_listen_options_custom ... ok [INFO] [stdout] test config::options::tests::test_listen_options_clone ... ok [INFO] [stdout] test config::options::tests::test_listen_options_partial ... ok [INFO] [stdout] test config::settings::tests::test_ziti_config_new ... ok [INFO] [stdout] test config::settings::tests::test_ziti_config_clone ... ok [INFO] [stdout] test config::options::tests::test_listen_options_default ... ok [INFO] [stdout] test config::settings::tests::test_ziti_config_with_custom_values ... ok [INFO] [stdout] test connection::dial::tests::test_edge_router_deserialization ... ok [INFO] [stdout] test connection::dial::tests::test_hello_message_creation ... ok [INFO] [stdout] test connection::stream::tests::test_stream_buffer_operations ... ok [INFO] [stdout] test config::options::tests::test_dial_options_default ... ok [INFO] [stdout] test connection::stream::tests::test_ziti_stream_creation ... ok [INFO] [stdout] test context::builder::tests::test_context_builder_chainable ... ok [INFO] [stdout] test context::builder::tests::test_context_builder_creation ... ok [INFO] [stdout] test context::builder::tests::test_context_builder_fields ... ok [INFO] [stdout] test context::builder::tests::test_context_builder_default ... ok [INFO] [stdout] test context::builder::tests::test_context_builder_types ... ok [INFO] [stdout] test context::builder::tests::test_context_builder_with_duration ... ok [INFO] [stdout] test context::context::tests::test_context_from_managers ... ok [INFO] [stdout] test context::context::tests::test_context_getters ... ok [INFO] [stdout] test context::context::tests::test_edge_router_clone ... ok [INFO] [stdout] test context::context::tests::test_edge_router_debug ... ok [INFO] [stdout] test context::context::tests::test_edge_router_deserialization ... ok [INFO] [stdout] test context::context::tests::test_edge_router_deserialization_with_defaults ... ok [INFO] [stdout] test context::context::tests::test_create_hello_message ... ok [INFO] [stdout] test context::context::tests::test_context_clone ... ok [INFO] [stdout] test context::context::tests::test_create_hello_message_with_special_characters ... ok [INFO] [stdout] test context::context::tests::test_terminators_response_deserialization ... ok [INFO] [stdout] test context::context::tests::test_validate_hello_response_failure ... ok [INFO] [stdout] test context::context::tests::test_validate_hello_response_invalid_json ... ok [INFO] [stdout] test context::context::tests::test_validate_hello_response_missing_status ... ok [INFO] [stdout] test context::context::tests::test_validate_hello_response_success ... ok [INFO] [stdout] test context::context::tests::test_validate_hello_response_success_alternate ... ok [INFO] [stdout] test error::types::tests::test_api_session_expired_error ... ok [INFO] [stdout] test error::types::tests::test_authentication_failed_error ... ok [INFO] [stdout] test error::types::tests::test_config_error ... ok [INFO] [stdout] test error::types::tests::test_connection_failed_error ... ok [INFO] [stdout] test error::types::tests::test_connection_timeout_error ... ok [INFO] [stdout] test error::types::tests::test_protocol_error ... ok [INFO] [stdout] test error::types::tests::test_service_access_denied_error ... ok [INFO] [stdout] test error::types::tests::test_service_not_found_error ... ok [INFO] [stdout] test error::types::tests::test_ziti_result_type ... ok [INFO] [stdout] test identity::config::tests::test_config_clone ... ok [INFO] [stdout] test identity::config::tests::test_config_new ... ok [INFO] [stdout] test identity::config::tests::test_config_path_methods ... ok [INFO] [stdout] test identity::config::tests::test_config_serialization ... ok [INFO] [stdout] test identity::config::tests::test_config_with_zt_api_field_name ... ok [INFO] [stdout] test identity::credentials::tests::test_credentials_clone ... ok [INFO] [stdout] test identity::credentials::tests::test_credentials_new ... ok [INFO] [stdout] test identity::config::tests::test_legacy_identity_config ... ok [INFO] [stdout] test identity::credentials::tests::test_credentials_with_multiple_certificates ... ok [INFO] [stdout] test identity::credentials::tests::test_identity_clone ... ok [INFO] [stdout] test identity::credentials::tests::test_identity_new ... ok [INFO] [stdout] test identity::credentials::tests::test_identity_from_config_and_credentials ... ok [INFO] [stdout] test identity::tests::test_identity_manager_clone ... ok [INFO] [stdout] test identity::tests::test_identity_manager_with_different_values ... ok [INFO] [stdout] test service::discovery::tests::test_serialize_private_key_service ... ok [INFO] [stdout] test identity::credentials::tests::test_identity_with_empty_certificate_chain ... ok [INFO] [stdout] test service::discovery::tests::test_service_clone ... ok [INFO] [stdout] test identity::tests::test_identity_credentials_from_manager ... ok [INFO] [stdout] test service::discovery::tests::test_base64_encode_service_discovery ... ok [INFO] [stdout] test service::discovery::tests::test_service_creation ... ok [INFO] [stdout] test service::discovery::tests::test_service_debug_format ... ok [INFO] [stdout] test service::discovery::tests::test_service_discovery_creation ... ok [INFO] [stdout] test service::discovery::tests::test_service_discovery_default ... ok [INFO] [stdout] test service::discovery::tests::test_service_deserialization ... ok [INFO] [stdout] test service::discovery::tests::test_service_deserialization_with_defaults ... ok [INFO] [stdout] test service::policy::tests::test_policy_engine_creation ... ok [INFO] [stdout] test service::discovery::tests::test_service_with_complex_config ... ok [INFO] [stdout] test service::policy::tests::test_policy_engine_default ... ok [INFO] [stdout] test service::policy::tests::test_policy_engine_multiple_instances ... ok [INFO] [stdout] test service::terminator::tests::test_terminator_manager_default ... ok [INFO] [stdout] test service::terminator::tests::test_terminator_manager_multiple_instances ... ok [INFO] [stdout] test service::discovery::tests::test_services_response_deserialization ... ok [INFO] [stdout] test session::api_session::tests::test_api_session_creation ... ok [INFO] [stdout] test service::discovery::tests::test_serialize_cert_chain_service ... ok [INFO] [stdout] test identity::tests::test_identity_manager_new ... ok [INFO] [stdout] test service::terminator::tests::test_terminator_manager_creation ... ok [INFO] [stdout] test session::api_session::tests::test_api_session_is_expired ... ok [INFO] [stdout] test identity::tests::test_identity_manager_getters ... ok [INFO] [stdout] test session::api_session::tests::test_base64_encode ... ok [INFO] [stdout] test session::api_session::tests::test_api_session_is_expired_with_buffer ... ok [INFO] [stdout] test session::api_session::tests::test_parse_ziti_timestamp ... ok [INFO] [stdout] test session::api_session::tests::test_parse_invalid_timestamp ... ok [INFO] [stdout] test session::api_session::tests::test_serialize_cert_chain ... ok [INFO] [stdout] test session::api_session::tests::test_serialize_private_key ... ok [INFO] [stdout] test session::network_session::tests::test_network_session_with_empty_strings ... ok [INFO] [stdout] test session::network_session::tests::test_network_session_with_special_characters ... ok [INFO] [stdout] test transport::protocol::tests::test_content_type_conversion ... ok [INFO] [stdout] test session::network_session::tests::test_network_session_clone ... ok [INFO] [stdout] test transport::protocol::tests::test_protocol_sequence ... ok [INFO] [stdout] test session::network_session::tests::test_network_session_creation ... ok [INFO] [stdout] test transport::protocol::tests::test_header_serialization ... ok [INFO] [stdout] test session::network_session::tests::test_network_session_debug ... ok [INFO] [stdout] test transport::websocket::tests::test_url_parsing ... ok [INFO] [stdout] test transport::protocol::tests::test_message_serialization ... ok [INFO] [stdout] test transport::tls::tests::test_tls_config_new ... ok [INFO] [stdout] test util::retry::tests::test_retry_policy_custom ... ok [INFO] [stdout] test util::retry::tests::test_retry_policy_default ... ok [INFO] [stdout] test util::retry::tests::test_retry_policy_edge_cases ... ok [INFO] [stdout] test transport::websocket::tests::test_invalid_url ... ok [INFO] [stdout] test util::time::tests::test_timeout_config_custom ... ok [INFO] [stdout] test util::time::tests::test_timeout_config_default ... ok [INFO] [stdout] test util::time::tests::test_timeout_config_edge_cases ... ok [INFO] [stdout] test util::time::tests::test_timeout_config_partial ... ok [INFO] [stdout] test session::api_session::tests::test_auth_response_deserialization ... ok [INFO] [stdout] test session::manager::tests::test_session_manager_default_panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 110 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests ziti_sdk [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test src/config/options.rs - config::options::ListenOptions (line 72) ... ok [INFO] [stdout] test src/config/options.rs - config::options::ListenOptions (line 93) ... ok [INFO] [stdout] test src/config/options.rs - config::options::ListenOptions (line 81) ... ok [INFO] [stdout] test src/config/options.rs - config::options::DialOptions (line 38) ... ok [INFO] [stdout] test src/config/options.rs - config::options::DialOptions (line 26) ... ok [INFO] [stdout] test src/config/options.rs - config::options::DialOptions (line 17) ... ok [INFO] [stdout] test src/connection/listen.rs - connection::listen::ZitiListener (line 170) ... FAILED [INFO] [stdout] test src/connection/stream.rs - connection::stream::ZitiStream (line 31) ... FAILED [INFO] [stdout] test src/connection/listen.rs - connection::listen::listen_with_options (line 74) ... FAILED [INFO] [stdout] test src/connection/stream.rs - connection::stream::ZitiStream::close (line 184) ... FAILED [INFO] [stdout] test src/connection/listen.rs - connection::listen::ZitiListener (line 206) ... FAILED [INFO] [stdout] test src/connection/dial.rs - connection::dial::dial (line 33) ... FAILED [INFO] [stdout] test src/connection/stream.rs - connection::stream::ZitiStream::from_transport (line 101) ... ok [INFO] [stdout] test src/context/context.rs - context::context::Context (line 40) ... FAILED [INFO] [stdout] test src/connection/listen.rs - connection::listen::ZitiListener::terminator_id (line 355) ... FAILED [INFO] [stdout] test src/context/context.rs - context::context::Context::dial (line 184) ... FAILED [INFO] [stdout] test src/connection/listen.rs - connection::listen::ZitiListener::service_name (line 325) ... FAILED [INFO] [stdout] test src/context/context.rs - context::context::Context::from_managers (line 98) ... FAILED [INFO] [stdout] test src/connection/listen.rs - connection::listen::listen (line 34) ... FAILED [INFO] [stdout] test src/connection/listen.rs - connection::listen::ZitiListener::accept (line 271) ... FAILED [INFO] [stdout] test src/connection/stream.rs - connection::stream::ZitiStream (line 57) ... FAILED [INFO] [stdout] test src/context/context.rs - context::context::Context::from_file (line 137) ... FAILED [INFO] [stdout] test src/context/context.rs - context::context::Context::identity_manager (line 349) ... FAILED [INFO] [stdout] test src/context/context.rs - context::context::Context::session_manager (line 375) ... FAILED [INFO] [stdout] test src/context/context.rs - context::context::EdgeRouter (line 493) ... ok [INFO] [stdout] test src/error/types.rs - error::types::ZitiError (line 57) ... ok [INFO] [stdout] test src/context/context.rs - context::context::Context (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) - compile ... ok [INFO] [stdout] test src/context/context.rs - context::context::Context::listen (line 267) ... FAILED [INFO] [stdout] test src/connection/stream.rs - connection::stream::ZitiStream::is_closed (line 147) ... FAILED [INFO] [stdout] test src/context/context.rs - context::context::Context::listen_with_options (line 311) ... FAILED [INFO] [stdout] test src/identity/mod.rs - identity::load (line 90) ... FAILED [INFO] [stdout] test src/service/discovery.rs - service::discovery::list_services (line 57) ... FAILED [INFO] [stdout] test src/error/types.rs - error::types::ZitiError (line 29) ... FAILED [INFO] [stdout] test src/session/api_session.rs - session::api_session::authenticate (line 70) ... FAILED [INFO] [stdout] test src/transport/websocket.rs - transport::websocket::WebSocketTransport::connect (line 42) ... FAILED [INFO] [stdout] test src/session/manager.rs - session::manager::SessionManager::get_api_session (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/connection/listen.rs - connection::listen::ZitiListener (line 170) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/connection/stream.rs - connection::stream::ZitiStream (line 31) stdout ---- [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ZitiError` [INFO] [stdout] --> src/connection/stream.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 13 | stream.write_all(b"Hello, Ziti!").await?; [INFO] [stdout] | ---------------------------------------^ the trait `From` is not implemented for `ZitiError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ZitiError` [INFO] [stdout] --> src/connection/stream.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 14 | stream.flush().await?; [INFO] [stdout] | --------------------^ the trait `From` is not implemented for `ZitiError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ZitiError` [INFO] [stdout] --> src/connection/stream.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 18 | let n = stream.read(&mut buffer).await?; [INFO] [stdout] | ------------------------------^ the trait `From` is not implemented for `ZitiError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection/listen.rs - connection::listen::listen_with_options (line 74) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/connection/stream.rs - connection::stream::ZitiStream::close (line 184) stdout ---- [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ZitiError` [INFO] [stdout] --> src/connection/stream.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 13 | stream.write_all(b"Hello").await?; [INFO] [stdout] | --------------------------------^ the trait `From` is not implemented for `ZitiError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection/listen.rs - connection::listen::ZitiListener (line 206) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/connection/dial.rs - connection::dial::dial (line 33) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/context/context.rs - context::context::Context (line 40) stdout ---- [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ZitiError` [INFO] [stdout] --> src/context/context.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 11 | stream.write_all(b"Hello Ziti!").await?; [INFO] [stdout] | --------------------------------------^ the trait `From` is not implemented for `ZitiError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection/listen.rs - connection::listen::ZitiListener::terminator_id (line 355) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/context/context.rs - context::context::Context::dial (line 184) stdout ---- [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ZitiError` [INFO] [stdout] --> src/context/context.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 13 | stream.write_all(b"Hello, World!").await?; [INFO] [stdout] | ----------------------------------------^ the trait `From` is not implemented for `ZitiError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ZitiError` [INFO] [stdout] --> src/context/context.rs:199:43 [INFO] [stdout] | [INFO] [stdout] 17 | let n = stream.read(&mut buffer).await?; [INFO] [stdout] | ------------------------------^ the trait `From` is not implemented for `ZitiError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection/listen.rs - connection::listen::ZitiListener::service_name (line 325) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/context/context.rs - context::context::Context::from_managers (line 98) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `ziti_sdk::IdentityManager`, `ziti_sdk::SessionManager` [INFO] [stdout] --> src/context/context.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 5 | use ziti_sdk::{Context, IdentityManager, SessionManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `SessionManager` in the root [INFO] [stdout] | | [INFO] [stdout] | no `IdentityManager` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] ziti_sdk::identity::IdentityManager [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] ziti_sdk::session::SessionManager [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/connection/listen.rs - connection::listen::listen (line 34) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/connection/listen.rs - connection::listen::ZitiListener::accept (line 271) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/connection/stream.rs - connection::stream::ZitiStream (line 57) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/context/context.rs - context::context::Context::from_file (line 137) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"./my-identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/context/context.rs - context::context::Context::identity_manager (line 349) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/context/context.rs - context::context::Context::session_manager (line 375) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/context/context.rs - context::context::Context (line 27) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/context/context.rs - context::context::Context::listen (line 267) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/connection/stream.rs - connection::stream::ZitiStream::is_closed (line 147) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/context/context.rs - context::context::Context::listen_with_options (line 311) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/identity/mod.rs - identity::load (line 90) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/service/discovery.rs - service::discovery::list_services (line 57) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/error/types.rs - error::types::ZitiError (line 29) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/session/api_session.rs - session::api_session::authenticate (line 70) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/transport/websocket.rs - transport::websocket::WebSocketTransport::connect (line 42) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConnectionFailed("TCP connection failed: failed to lookup address information: Temporary failure in name resolution") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/session/manager.rs - session::manager::SessionManager::get_api_session (line 38) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ConfigError("Failed to read identity file \"identity.json\": No such file or directory (os error 2)") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/connection/dial.rs - connection::dial::dial (line 33) [INFO] [stdout] src/connection/listen.rs - connection::listen::ZitiListener (line 170) [INFO] [stdout] src/connection/listen.rs - connection::listen::ZitiListener (line 206) [INFO] [stdout] src/connection/listen.rs - connection::listen::ZitiListener::accept (line 271) [INFO] [stdout] src/connection/listen.rs - connection::listen::ZitiListener::service_name (line 325) [INFO] [stdout] src/connection/listen.rs - connection::listen::ZitiListener::terminator_id (line 355) [INFO] [stdout] src/connection/listen.rs - connection::listen::listen (line 34) [INFO] [stdout] src/connection/listen.rs - connection::listen::listen_with_options (line 74) [INFO] [stdout] src/connection/stream.rs - connection::stream::ZitiStream (line 31) [INFO] [stdout] src/connection/stream.rs - connection::stream::ZitiStream (line 57) [INFO] [stdout] src/connection/stream.rs - connection::stream::ZitiStream::close (line 184) [INFO] [stdout] src/connection/stream.rs - connection::stream::ZitiStream::is_closed (line 147) [INFO] [stdout] src/context/context.rs - context::context::Context (line 27) [INFO] [stdout] src/context/context.rs - context::context::Context (line 40) [INFO] [stdout] src/context/context.rs - context::context::Context::dial (line 184) [INFO] [stdout] src/context/context.rs - context::context::Context::from_file (line 137) [INFO] [stdout] src/context/context.rs - context::context::Context::from_managers (line 98) [INFO] [stdout] src/context/context.rs - context::context::Context::identity_manager (line 349) [INFO] [stdout] src/context/context.rs - context::context::Context::listen (line 267) [INFO] [stdout] src/context/context.rs - context::context::Context::listen_with_options (line 311) [INFO] [stdout] src/context/context.rs - context::context::Context::session_manager (line 375) [INFO] [stdout] src/error/types.rs - error::types::ZitiError (line 29) [INFO] [stdout] src/identity/mod.rs - identity::load (line 90) [INFO] [stdout] src/service/discovery.rs - service::discovery::list_services (line 57) [INFO] [stdout] src/session/api_session.rs - session::api_session::authenticate (line 70) [INFO] [stdout] src/session/manager.rs - session::manager::SessionManager::get_api_session (line 38) [INFO] [stdout] src/transport/websocket.rs - transport::websocket::WebSocketTransport::connect (line 42) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 27 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.82s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1661facbe88e8ba68760f74fae2a4c92e24cc9184360b7bdd4619b3f9a708e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1661facbe88e8ba68760f74fae2a4c92e24cc9184360b7bdd4619b3f9a708e96", kill_on_drop: false }` [INFO] [stdout] 1661facbe88e8ba68760f74fae2a4c92e24cc9184360b7bdd4619b3f9a708e96