[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdamienpontifex%2Fazure-iot-sdk-rs" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/damienpontifex/azure-iot-sdk-rs on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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] 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-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69fe7803ff9a814dab83480b23b467a94e2f85d3510e55f90b97c6877b9979b8 [INFO] running `Command { std: "docker" "start" "-a" "69fe7803ff9a814dab83480b23b467a94e2f85d3510e55f90b97c6877b9979b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69fe7803ff9a814dab83480b23b467a94e2f85d3510e55f90b97c6877b9979b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69fe7803ff9a814dab83480b23b467a94e2f85d3510e55f90b97c6877b9979b8", kill_on_drop: false }` [INFO] [stdout] 69fe7803ff9a814dab83480b23b467a94e2f85d3510e55f90b97c6877b9979b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de6f83926c326959f1c69b34cad3fbaeb698e0561f4af9043c4d09f1bbd92a9 [INFO] running `Command { std: "docker" "start" "-a" "7de6f83926c326959f1c69b34cad3fbaeb698e0561f4af9043c4d09f1bbd92a9", 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 proc-macro2 v1.0.36 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling mio v0.8.0 [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 quote v1.0.15 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling chrono v0.4.19 [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 tokio-native-tls v0.3.0 [INFO] [stderr] Compiling mqtt-protocol v0.11.2 [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 33.92s [INFO] running `Command { std: "docker" "inspect" "7de6f83926c326959f1c69b34cad3fbaeb698e0561f4af9043c4d09f1bbd92a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de6f83926c326959f1c69b34cad3fbaeb698e0561f4af9043c4d09f1bbd92a9", kill_on_drop: false }` [INFO] [stdout] 7de6f83926c326959f1c69b34cad3fbaeb698e0561f4af9043c4d09f1bbd92a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 658b82084829bee06a62ff1eb89a1a86a0f3502e94e78c5dcc2156d8f29ffe26 [INFO] running `Command { std: "docker" "start" "-a" "658b82084829bee06a62ff1eb89a1a86a0f3502e94e78c5dcc2156d8f29ffe26", 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 log v0.4.14 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.17.0 [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 mqtt-protocol v0.11.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [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 11.97s [INFO] running `Command { std: "docker" "inspect" "658b82084829bee06a62ff1eb89a1a86a0f3502e94e78c5dcc2156d8f29ffe26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "658b82084829bee06a62ff1eb89a1a86a0f3502e94e78c5dcc2156d8f29ffe26", kill_on_drop: false }` [INFO] [stdout] 658b82084829bee06a62ff1eb89a1a86a0f3502e94e78c5dcc2156d8f29ffe26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 954be956ece0f0a1f9f816331a533ea3efb4d7e17b4d0c9b822d9405562dd163 [INFO] running `Command { std: "docker" "start" "-a" "954be956ece0f0a1f9f816331a533ea3efb4d7e17b4d0c9b822d9405562dd163", 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.24s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/azure_iot_sdk-6011f34015eeb34a) [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 mqtt_transport::tests::app_properties_are_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 provision::tests::test_provision_sas ... ok [INFO] [stdout] test mqtt_transport::tests::no_system_properties ... ok [INFO] [stdout] test mqtt_transport::tests::message_id_is_appended_to_topic_name ... ok [INFO] [stdout] test mqtt_transport::tests::content_type_is_appended_to_topic_name ... ok [INFO] [stdout] test token::tests::test_sas_source ... 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-21588f0a9bbec2e5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--test integration_tests' [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: 0x55e66843f18c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e66843f18c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e66843f18c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e66843f18c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e66846546c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e668437d98 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e668441767 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e668441767 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e668441767 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e66844149b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e668441eba - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e668441ba7 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e66843f654 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e6684418b9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e66810c7b3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e66810c8a3 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e66810d61c - core::result::Result::unwrap::h6f77240a0f688dcc [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e66810ed9f - integration_tests::test_config::h8fbd5648e5aaf5d9 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:7:9 [INFO] [stdout] 18: 0x55e66810ef55 - integration_tests::client::{{closure}}::h49881d94c571c135 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:13:45 [INFO] [stdout] 19: 0x55e66811ef29 - as core::future::future::Future>::poll::h4a2aad66d2320436 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/future/mod.rs:84:19 [INFO] [stdout] 20: 0x55e66810f8f4 - integration_tests::test_connect::{{closure}}::hfa767eab20132638 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:20:26 [INFO] [stdout] 21: 0x55e66811f97b - as core::future::future::Future>::poll::hf8ea4c109c43ea3e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/future/mod.rs:84:19 [INFO] [stdout] 22: 0x55e66811358a - as core::future::future::Future>::poll::h7431f09588b879cc [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/future/future.rs:123:9 [INFO] [stdout] 23: 0x55e668115420 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::haa08c830316095a0 [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: 0x55e66811fed0 - tokio::coop::with_budget::{{closure}}::h54b4c4551a5f8f16 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/coop.rs:102:9 [INFO] [stdout] 25: 0x55e66811d938 - std::thread::local::LocalKey::try_with::h56bdfd38dcab7b16 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/local.rs:413:16 [INFO] [stdout] 26: 0x55e66811d67d - std::thread::local::LocalKey::with::hd63389f7db29668e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/local.rs:389:9 [INFO] [stdout] 27: 0x55e668115395 - tokio::coop::with_budget::h7d07c53f5d3c588c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/coop.rs:95:5 [INFO] [stdout] 28: 0x55e668115395 - tokio::coop::budget::h8b4c30e4bcd2fc34 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/coop.rs:72:5 [INFO] [stdout] 29: 0x55e668115395 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::h59a447f7ec471458 [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: 0x55e6681149d1 - tokio::runtime::basic_scheduler::Context::enter::hdfaa76038c1cc069 [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: 0x55e668114e2d - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::hc1d990b723c078a5 [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: 0x55e66811587b - tokio::runtime::basic_scheduler::CoreGuard::enter::{{closure}}::h92e613aaac354add [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: 0x55e668116867 - tokio::macros::scoped_tls::ScopedKey::set::h3622d12481bcd636 [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: 0x55e668115630 - tokio::runtime::basic_scheduler::CoreGuard::enter::h13b73f34df87b977 [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: 0x55e668114ba0 - tokio::runtime::basic_scheduler::CoreGuard::block_on::heb6a79faa6e46946 [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: 0x55e668113fd5 - tokio::runtime::basic_scheduler::BasicScheduler::block_on::hc61d666feba30018 [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: 0x55e66811e6cd - tokio::runtime::Runtime::block_on::ha54d0a2a87705d13 [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: 0x55e66810f6dc - integration_tests::test_connect::ha05f76810d1cc72a [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:21:5 [INFO] [stdout] 39: 0x55e66810f59a - integration_tests::test_connect::{{closure}}::h903e8b5aac7ed587 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:19:7 [INFO] [stdout] 40: 0x55e668118b2e - core::ops::function::FnOnce::call_once::h45634f9ff799e97e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 41: 0x55e6681520a3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x55e6681520a3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 43: 0x55e668150dd1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 44: 0x55e668150dd1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 45: 0x55e668150dd1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 46: 0x55e668150dd1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 47: 0x55e668150dd1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 48: 0x55e668150dd1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 49: 0x55e668150dd1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 50: 0x55e66815a6b1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 51: 0x55e66815a6b1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 52: 0x55e668126e0f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 53: 0x55e668126e0f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 54: 0x55e668126e0f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 55: 0x55e668126e0f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 56: 0x55e668126e0f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 57: 0x55e668126e0f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 58: 0x55e668126e0f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 59: 0x55e668447e93 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 60: 0x55e668447e93 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 61: 0x55e668447e93 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 62: 0x7f645c9ff609 - start_thread [INFO] [stdout] 63: 0x7f645c7cf293 - 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.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "954be956ece0f0a1f9f816331a533ea3efb4d7e17b4d0c9b822d9405562dd163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "954be956ece0f0a1f9f816331a533ea3efb4d7e17b4d0c9b822d9405562dd163", kill_on_drop: false }` [INFO] [stdout] 954be956ece0f0a1f9f816331a533ea3efb4d7e17b4d0c9b822d9405562dd163