[INFO] cloning repository https://github.com/damienpontifex/azure-iot-sdk-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/damienpontifex/azure-iot-sdk-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdamienpontifex%2Fazure-iot-sdk-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdamienpontifex%2Fazure-iot-sdk-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdab4bf046cd8a88eb86151bd41ba81b1f8601a9 [INFO] testing damienpontifex/azure-iot-sdk-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdamienpontifex%2Fazure-iot-sdk-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/damienpontifex/azure-iot-sdk-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/damienpontifex/azure-iot-sdk-rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/damienpontifex/azure-iot-sdk-rs [INFO] tweaked toml for git repo https://github.com/damienpontifex/azure-iot-sdk-rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: example.0.default-features [INFO] [stderr] warning: unused manifest key: example.1.default-features [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum_dispatch v0.3.8 [INFO] [stderr] Downloaded mqtt-protocol v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 05932fb5688d9464c0ecc5526c08ebd75987c785fcc37cd7199b39f75cd6e08f [INFO] running `Command { std: "docker" "start" "-a" "05932fb5688d9464c0ecc5526c08ebd75987c785fcc37cd7199b39f75cd6e08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05932fb5688d9464c0ecc5526c08ebd75987c785fcc37cd7199b39f75cd6e08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05932fb5688d9464c0ecc5526c08ebd75987c785fcc37cd7199b39f75cd6e08f", kill_on_drop: false }` [INFO] [stdout] 05932fb5688d9464c0ecc5526c08ebd75987c785fcc37cd7199b39f75cd6e08f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f125fa8c07e089cfc6bae684381f41ead586a2b7cf2b0e5f955c72f3e09b8ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7f125fa8c07e089cfc6bae684381f41ead586a2b7cf2b0e5f955c72f3e09b8ea", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: example.0.default-features [INFO] [stderr] warning: unused manifest key: example.1.default-features [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum_dispatch v0.3.8 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling mqtt-protocol v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling azure_iot_sdk v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `token_source` [INFO] [stdout] --> src/mqtt_transport.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | token_source: TokenProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MqttTransport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mqtt_transport.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/token.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UsernamePasswordTokenSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Debug, Clone)] [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: missing documentation for an enum [INFO] [stdout] --> src/token.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum TokenProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | #![warn(missing_debug_implementations, rust_2018_idioms, missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/token.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[enum_dispatch(TokenSource)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `enum_dispatch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "7f125fa8c07e089cfc6bae684381f41ead586a2b7cf2b0e5f955c72f3e09b8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f125fa8c07e089cfc6bae684381f41ead586a2b7cf2b0e5f955c72f3e09b8ea", kill_on_drop: false }` [INFO] [stdout] 7f125fa8c07e089cfc6bae684381f41ead586a2b7cf2b0e5f955c72f3e09b8ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 627a363b201b126e402d6edb30ae2a0396a15c62ef99f5c91cfec8f7b8d3aa65 [INFO] running `Command { std: "docker" "start" "-a" "627a363b201b126e402d6edb30ae2a0396a15c62ef99f5c91cfec8f7b8d3aa65", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: example.0.default-features [INFO] [stderr] warning: unused manifest key: example.1.default-features [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling mqtt-protocol v0.11.2 [INFO] [stderr] Compiling azure_iot_sdk v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `token_source` [INFO] [stdout] --> src/mqtt_transport.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | token_source: TokenProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MqttTransport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mqtt_transport.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/token.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UsernamePasswordTokenSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Debug, Clone)] [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: missing documentation for an enum [INFO] [stdout] --> src/token.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum TokenProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | #![warn(missing_debug_implementations, rust_2018_idioms, missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/token.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[enum_dispatch(TokenSource)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `enum_dispatch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_source` [INFO] [stdout] --> src/mqtt_transport.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | token_source: TokenProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MqttTransport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mqtt_transport.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/token.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UsernamePasswordTokenSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Debug, Clone)] [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 46.39s [INFO] running `Command { std: "docker" "inspect" "627a363b201b126e402d6edb30ae2a0396a15c62ef99f5c91cfec8f7b8d3aa65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "627a363b201b126e402d6edb30ae2a0396a15c62ef99f5c91cfec8f7b8d3aa65", kill_on_drop: false }` [INFO] [stdout] 627a363b201b126e402d6edb30ae2a0396a15c62ef99f5c91cfec8f7b8d3aa65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6279f058ff6582662c7f936843609e4c2c3febfeb3a76883a81241c5109e5407 [INFO] running `Command { std: "docker" "start" "-a" "6279f058ff6582662c7f936843609e4c2c3febfeb3a76883a81241c5109e5407", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: example.0.default-features [INFO] [stderr] warning: unused manifest key: example.1.default-features [INFO] [stderr] warning: field is never read: `token_source` [INFO] [stderr] --> src/mqtt_transport.rs:175:5 [INFO] [stderr] | [INFO] [stderr] 175 | token_source: TokenProvider, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `MqttTransport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/mqtt_transport.rs:173:10 [INFO] [stderr] | [INFO] [stderr] 173 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `username` [INFO] [stderr] --> src/token.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 135 | username: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UsernamePasswordTokenSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:133:10 [INFO] [stderr] | [INFO] [stderr] 133 | #[derive(Debug, Clone)] [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: missing documentation for an enum [INFO] [stderr] --> src/token.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | pub enum TokenProvider { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:62:58 [INFO] [stderr] | [INFO] [stderr] 62 | #![warn(missing_debug_implementations, rust_2018_idioms, missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a variant [INFO] [stderr] --> src/token.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | #[enum_dispatch(TokenSource)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the attribute macro `enum_dispatch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `azure_iot_sdk` (lib) generated 4 warnings [INFO] [stderr] warning: `azure_iot_sdk` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/azure_iot_sdk-2be16dde677d2e34) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test message::tests::test_setting_content_encoding ... ok [INFO] [stdout] test message::tests::test_setting_content_type ... ok [INFO] [stdout] test provision::tests::test_provision_sas ... ok [INFO] [stdout] test mqtt_transport::tests::content_type_is_appended_to_topic_name ... ok [INFO] [stdout] test mqtt_transport::tests::content_encoding_is_appended_to_topic_name ... ok [INFO] [stdout] test token::tests::test_key_source ... ok [INFO] [stdout] test token::tests::test_sas_source ... ok [INFO] [stdout] test mqtt_transport::tests::message_id_is_appended_to_topic_name ... ok [INFO] [stdout] test mqtt_transport::tests::no_system_properties ... ok [INFO] [stdout] test mqtt_transport::tests::app_properties_are_appended_to_topic_name ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-1f43218d51f359f8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_connect ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_connect stdout ---- [INFO] [stdout] thread 'test_connect' panicked at 'called `Result::unwrap()` on an `Err` value: NotPresent', tests/integration_tests.rs:7:35 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x559bdc0e8c6d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x559bdc0e8c6d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x559bdc0e8c6d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x559bdc0e8c6d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x559bdc10efcc - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x559bdc0e1868 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x559bdc0eb257 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x559bdc0eb257 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x559bdc0eb257 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x559bdc0eaf8c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x559bdc0eb9a9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x559bdc0eb697 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x559bdc0e9134 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x559bdc0eb3a9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x559bdbdb37b3 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x559bdbdb38a3 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x559bdbdb481c - core::result::Result::unwrap::hf8ba48ea61b527d4 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x559bdbdb5d9f - integration_tests::test_config::h55af26ce474a235d [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:7:9 [INFO] [stdout] 18: 0x559bdbdb5f55 - integration_tests::client::{{closure}}::h2c61dae18c59b585 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:13:45 [INFO] [stdout] 19: 0x559bdbdc67e9 - as core::future::future::Future>::poll::hed42b5aadd3f9d07 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/future/mod.rs:84:19 [INFO] [stdout] 20: 0x559bdbdb68f4 - integration_tests::test_connect::{{closure}}::h300239f90fedb756 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:20:26 [INFO] [stdout] 21: 0x559bdbdc5edb - as core::future::future::Future>::poll::h0e3023729915c1bf [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/future/mod.rs:84:19 [INFO] [stdout] 22: 0x559bdbdba58a - as core::future::future::Future>::poll::h8987e22da34360ce [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/future/future.rs:123:9 [INFO] [stdout] 23: 0x559bdbdbbb10 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h8242363e5411cad7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/basic_scheduler.rs:498:48 [INFO] [stdout] 24: 0x559bdbdc71a0 - tokio::coop::with_budget::{{closure}}::hf2d5368c1154be0c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/coop.rs:102:9 [INFO] [stdout] 25: 0x559bdbdc49f8 - std::thread::local::LocalKey::try_with::h868c096527019b02 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/local.rs:413:16 [INFO] [stdout] 26: 0x559bdbdc454d - std::thread::local::LocalKey::with::ha4d5253c1f8ea6e6 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/local.rs:389:9 [INFO] [stdout] 27: 0x559bdbdbba85 - tokio::coop::with_budget::h2972df8cf02863e9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/coop.rs:95:5 [INFO] [stdout] 28: 0x559bdbdbba85 - tokio::coop::budget::h0bdcf9731c34bd18 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/coop.rs:72:5 [INFO] [stdout] 29: 0x559bdbdbba85 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::hd1389f530b09fd0e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/basic_scheduler.rs:498:25 [INFO] [stdout] 30: 0x559bdbdbb0c1 - tokio::runtime::basic_scheduler::Context::enter::h4529ae504376af3c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/basic_scheduler.rs:356:19 [INFO] [stdout] 31: 0x559bdbdbb51d - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::h593f309ee85a12a7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/basic_scheduler.rs:497:36 [INFO] [stdout] 32: 0x559bdbdbbf6b - tokio::runtime::basic_scheduler::CoreGuard::enter::{{closure}}::h5a507ec4e5ff5f70 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/basic_scheduler.rs:555:57 [INFO] [stdout] 33: 0x559bdbdbd917 - tokio::macros::scoped_tls::ScopedKey::set::h8f10590eb034d7e9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/macros/scoped_tls.rs:61:9 [INFO] [stdout] 34: 0x559bdbdbbd20 - tokio::runtime::basic_scheduler::CoreGuard::enter::haed0eb1a0b5309af [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/basic_scheduler.rs:555:27 [INFO] [stdout] 35: 0x559bdbdbb290 - tokio::runtime::basic_scheduler::CoreGuard::block_on::hbbbf752f7155eff6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/basic_scheduler.rs:488:9 [INFO] [stdout] 36: 0x559bdbdba6c5 - tokio::runtime::basic_scheduler::BasicScheduler::block_on::h243461f87f58fab6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/basic_scheduler.rs:168:24 [INFO] [stdout] 37: 0x559bdbdc560d - tokio::runtime::Runtime::block_on::hafd92232666eac6b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/mod.rs:475:46 [INFO] [stdout] 38: 0x559bdbdb66dc - integration_tests::test_connect::h50a3e2bacd187ca1 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:21:5 [INFO] [stdout] 39: 0x559bdbdb659a - integration_tests::test_connect::{{closure}}::hdd16378a6b6c5126 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:19:7 [INFO] [stdout] 40: 0x559bdbdbfcae - core::ops::function::FnOnce::call_once::hf70408d42da65a0f [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 41: 0x559bdbdf9123 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x559bdbdf9123 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 43: 0x559bdbdf7e04 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 44: 0x559bdbdf7e04 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 45: 0x559bdbdf7e04 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 46: 0x559bdbdf7e04 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 47: 0x559bdbdf7e04 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 48: 0x559bdbdf7e04 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 49: 0x559bdbdf7e04 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 50: 0x559bdbe01721 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 51: 0x559bdbe01721 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 52: 0x559bdbdcdd9f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 53: 0x559bdbdcdd9f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 54: 0x559bdbdcdd9f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 55: 0x559bdbdcdd9f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 56: 0x559bdbdcdd9f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 57: 0x559bdbdcdd9f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 58: 0x559bdbdcdd9f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 59: 0x559bdc0f19d3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 60: 0x559bdc0f19d3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 61: 0x559bdc0f19d3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 62: 0x7fe7a07c3609 - start_thread [INFO] [stdout] 63: 0x7fe7a0591163 - clone [INFO] [stdout] 64: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_connect [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test integration_tests' [INFO] running `Command { std: "docker" "inspect" "6279f058ff6582662c7f936843609e4c2c3febfeb3a76883a81241c5109e5407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6279f058ff6582662c7f936843609e4c2c3febfeb3a76883a81241c5109e5407", kill_on_drop: false }` [INFO] [stdout] 6279f058ff6582662c7f936843609e4c2c3febfeb3a76883a81241c5109e5407