[INFO] fetching crate hawkbit 0.6.0... [INFO] testing hawkbit-0.6.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate hawkbit 0.6.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate hawkbit 0.6.0 [INFO] finished tweaking crates.io crate hawkbit 0.6.0 [INFO] tweaked toml for crates.io crate hawkbit 0.6.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hawkbit 0.6.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 hawkbit 0.6.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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a360b09ef046e8606e91c2c2403dd66a0c3204e8bb86c12940565c32c929498d [INFO] running `Command { std: "docker" "start" "-a" "a360b09ef046e8606e91c2c2403dd66a0c3204e8bb86c12940565c32c929498d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a360b09ef046e8606e91c2c2403dd66a0c3204e8bb86c12940565c32c929498d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a360b09ef046e8606e91c2c2403dd66a0c3204e8bb86c12940565c32c929498d", kill_on_drop: false }` [INFO] [stdout] a360b09ef046e8606e91c2c2403dd66a0c3204e8bb86c12940565c32c929498d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1a46f7c02f68931d3a17344cf8e11b7ca757177192a902f4f22fea5eb93442b7 [INFO] running `Command { std: "docker" "start" "-a" "1a46f7c02f68931d3a17344cf8e11b7ca757177192a902f4f22fea5eb93442b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling hawkbit v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ddi/cancel_action.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct CancelReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 68 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CancelReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action_history` is never read [INFO] [stdout] --> src/ddi/deployment_base.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Reply { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | action_history: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sha1`, `md5`, and `sha256` are never read [INFO] [stdout] --> src/ddi/deployment_base.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct Hashes { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 112 | sha1: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | md5: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 114 | sha256: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hashes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `md5sum` is never read [INFO] [stdout] --> src/ddi/deployment_base.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 193 | struct Download { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 194 | content: Link, [INFO] [stdout] 195 | md5sum: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Download` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `messages` are never read [INFO] [stdout] --> src/ddi/deployment_base.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct ActionHistory { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 208 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 209 | #[serde(default)] [INFO] [stdout] 210 | messages: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionHistory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hashes` is never read [INFO] [stdout] --> src/ddi/deployment_base.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 507 | pub struct DownloadedArtifact { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 508 | file: PathBuf, [INFO] [stdout] 509 | hashes: Hashes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DownloadedArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ddi/deployment_base.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn chunks(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn chunks(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ddi/deployment_base.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn artifacts(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 339 | pub fn artifacts(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.82s [INFO] running `Command { std: "docker" "inspect" "1a46f7c02f68931d3a17344cf8e11b7ca757177192a902f4f22fea5eb93442b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a46f7c02f68931d3a17344cf8e11b7ca757177192a902f4f22fea5eb93442b7", kill_on_drop: false }` [INFO] [stdout] 1a46f7c02f68931d3a17344cf8e11b7ca757177192a902f4f22fea5eb93442b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] cb93c63da8e127205c0cc43d29fd8e3ed9ef5615bcaf4a92bc02204c74e3d95c [INFO] running `Command { std: "docker" "start" "-a" "cb93c63da8e127205c0cc43d29fd8e3ed9ef5615bcaf4a92bc02204c74e3d95c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ddi/cancel_action.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct CancelReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 68 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CancelReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action_history` is never read [INFO] [stdout] --> src/ddi/deployment_base.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Reply { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | action_history: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sha1`, `md5`, and `sha256` are never read [INFO] [stdout] --> src/ddi/deployment_base.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct Hashes { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 112 | sha1: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | md5: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 114 | sha256: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hashes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `md5sum` is never read [INFO] [stdout] --> src/ddi/deployment_base.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 193 | struct Download { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 194 | content: Link, [INFO] [stdout] 195 | md5sum: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Download` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `messages` are never read [INFO] [stdout] --> src/ddi/deployment_base.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct ActionHistory { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 208 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 209 | #[serde(default)] [INFO] [stdout] 210 | messages: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionHistory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hashes` is never read [INFO] [stdout] --> src/ddi/deployment_base.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 507 | pub struct DownloadedArtifact { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 508 | file: PathBuf, [INFO] [stdout] 509 | hashes: Hashes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DownloadedArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ddi/deployment_base.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn chunks(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn chunks(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ddi/deployment_base.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn artifacts(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 339 | pub fn artifacts(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling hawkbit v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hawkbit_mock` [INFO] [stdout] --> tests/tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hawkbit_mock::ddi::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `hawkbit_mock` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hawkbit_mock`, use `cargo add hawkbit_mock` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/tests.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/tests.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/tests.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/polling.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/tests.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/tests.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/tests.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/tests.rs:464:10 [INFO] [stdout] | [INFO] [stdout] 464 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/polling.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawkbit` (test "tests") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawkbit` (example "polling") due to 2 previous errors [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ddi/cancel_action.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct CancelReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 68 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CancelReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action_history` is never read [INFO] [stdout] --> src/ddi/deployment_base.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Reply { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | action_history: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sha1`, `md5`, and `sha256` are never read [INFO] [stdout] --> src/ddi/deployment_base.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct Hashes { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 112 | sha1: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | md5: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 114 | sha256: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hashes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `md5sum` is never read [INFO] [stdout] --> src/ddi/deployment_base.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 193 | struct Download { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 194 | content: Link, [INFO] [stdout] 195 | md5sum: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Download` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `messages` are never read [INFO] [stdout] --> src/ddi/deployment_base.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct ActionHistory { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 208 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 209 | #[serde(default)] [INFO] [stdout] 210 | messages: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionHistory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hashes` is never read [INFO] [stdout] --> src/ddi/deployment_base.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 507 | pub struct DownloadedArtifact { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 508 | file: PathBuf, [INFO] [stdout] 509 | hashes: Hashes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DownloadedArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ddi/deployment_base.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn chunks(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn chunks(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ddi/deployment_base.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn artifacts(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 339 | pub fn artifacts(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cb93c63da8e127205c0cc43d29fd8e3ed9ef5615bcaf4a92bc02204c74e3d95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb93c63da8e127205c0cc43d29fd8e3ed9ef5615bcaf4a92bc02204c74e3d95c", kill_on_drop: false }` [INFO] [stdout] cb93c63da8e127205c0cc43d29fd8e3ed9ef5615bcaf4a92bc02204c74e3d95c