[INFO] fetching crate hawkbit 0.6.0... [INFO] checking hawkbit-0.6.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate hawkbit 0.6.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate hawkbit 0.6.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] crate crates.io crate hawkbit 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecab94727ca315ae7a0d3504efa0362d489d7072fe819d29da7cad2c110b80b9 [INFO] running `Command { std: "docker" "start" "-a" "ecab94727ca315ae7a0d3504efa0362d489d7072fe819d29da7cad2c110b80b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecab94727ca315ae7a0d3504efa0362d489d7072fe819d29da7cad2c110b80b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecab94727ca315ae7a0d3504efa0362d489d7072fe819d29da7cad2c110b80b9", kill_on_drop: false }` [INFO] [stdout] ecab94727ca315ae7a0d3504efa0362d489d7072fe819d29da7cad2c110b80b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccd86272d32bf73e6de5c32566652280b79197dcc3ab3a6b51d92f5200464478 [INFO] running `Command { std: "docker" "start" "-a" "ccd86272d32bf73e6de5c32566652280b79197dcc3ab3a6b51d92f5200464478", 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 memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking hawkbit v0.6.0 (/opt/rustwide/workdir) [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: use of undeclared crate or module `hawkbit_mock` [INFO] [stdout] --> tests/tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hawkbit_mock::ddi::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `hawkbit_mock` [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 `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] 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] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [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` due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder` [INFO] [stdout] --> tests/tests.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let server = ServerBuilder::default().tenant("my-tenant").build(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder` [INFO] [stdout] --> tests/tests.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | let server = ServerBuilder::default().build(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeploymentBuilder` [INFO] [stdout] --> tests/tests.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | DeploymentBuilder::new("10", Type::Forced, Type::Attempt) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DeploymentBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChunkProtocol` [INFO] [stdout] --> tests/tests.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | ChunkProtocol::BOTH, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ChunkProtocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChunkProtocol` [INFO] [stdout] --> tests/tests.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | ChunkProtocol::HTTP, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ChunkProtocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChunkProtocol` [INFO] [stdout] --> tests/tests.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | ChunkProtocol::HTTPS, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ChunkProtocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder` [INFO] [stdout] --> tests/tests.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | let server = ServerBuilder::default().build(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChunkProtocol` [INFO] [stdout] --> tests/tests.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | ChunkProtocol::BOTH, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ChunkProtocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChunkProtocol` [INFO] [stdout] --> tests/tests.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | ChunkProtocol::HTTP, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ChunkProtocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChunkProtocol` [INFO] [stdout] --> tests/tests.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | ChunkProtocol::HTTPS, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ChunkProtocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChunkProtocol` [INFO] [stdout] --> tests/tests.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | ChunkProtocol::BOTH => "app-both", [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ChunkProtocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChunkProtocol` [INFO] [stdout] --> tests/tests.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | ChunkProtocol::HTTP => "app-http", [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ChunkProtocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChunkProtocol` [INFO] [stdout] --> tests/tests.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | ChunkProtocol::HTTPS => "app-https", [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ChunkProtocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder` [INFO] [stdout] --> tests/tests.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | let server = ServerBuilder::default().build(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder` [INFO] [stdout] --> tests/tests.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | let server = ServerBuilder::default().build(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder` [INFO] [stdout] --> tests/tests.rs:324:18 [INFO] [stdout] | [INFO] [stdout] 324 | let server = ServerBuilder::default().build(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder` [INFO] [stdout] --> tests/tests.rs:468:18 [INFO] [stdout] | [INFO] [stdout] 468 | let server = ServerBuilder::default().build(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Server` in this scope [INFO] [stdout] --> tests/tests.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn add_target(server: &Server, name: &str) -> (Client, Target) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Target` in this scope [INFO] [stdout] --> tests/tests.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | fn add_target(server: &Server, name: &str) -> (Client, Target) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use env_logger::Target; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Deployment` in this scope [INFO] [stdout] --> tests/tests.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | fn get_deployment(valid_checksums: bool) -> Deployment { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ccd86272d32bf73e6de5c32566652280b79197dcc3ab3a6b51d92f5200464478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd86272d32bf73e6de5c32566652280b79197dcc3ab3a6b51d92f5200464478", kill_on_drop: false }` [INFO] [stdout] ccd86272d32bf73e6de5c32566652280b79197dcc3ab3a6b51d92f5200464478