[INFO] cloning repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawsa2ron%2Faws-iot-device-sdk-embedded-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawsa2ron%2Faws-iot-device-sdk-embedded-rust'... [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 091ede8e38a0b7bf0ef1023847df977e895feba4 [INFO] checking awsa2ron/aws-iot-device-sdk-embedded-rust against master#1673f1450eeaf4a5452e086db0fe2ae274a0144f for pr-99413 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawsa2ron%2Faws-iot-device-sdk-embedded-rust" "/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/awsa2ron/aws-iot-device-sdk-embedded-rust on toolchain 1673f1450eeaf4a5452e086db0fe2ae274a0144f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] finished tweaking git repo https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust [INFO] tweaked toml for git repo https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/awsa2ron/aws-iot-device-sdk-embedded-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6badc28d995b4d28b17b4d7af04d1ff2ea9d6811d54476f288c423162f5a31f7 [INFO] running `Command { std: "docker" "start" "-a" "6badc28d995b4d28b17b4d7af04d1ff2ea9d6811d54476f288c423162f5a31f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6badc28d995b4d28b17b4d7af04d1ff2ea9d6811d54476f288c423162f5a31f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6badc28d995b4d28b17b4d7af04d1ff2ea9d6811d54476f288c423162f5a31f7", kill_on_drop: false }` [INFO] [stdout] 6badc28d995b4d28b17b4d7af04d1ff2ea9d6811d54476f288c423162f5a31f7 [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=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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 804ac792068a0c00b43eb6e5a0d080e876576ec8bc8e3ad52bd1d7f60a5f6728 [INFO] running `Command { std: "docker" "start" "-a" "804ac792068a0c00b43eb6e5a0d080e876576ec8bc8e3ad52bd1d7f60a5f6728", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking aws-iot-device-sdk v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/backoff_algo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/backoff_algo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/backoff_algo.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use rand::random; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-iot-device-sdk` due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-iot-device-sdk` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "804ac792068a0c00b43eb6e5a0d080e876576ec8bc8e3ad52bd1d7f60a5f6728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "804ac792068a0c00b43eb6e5a0d080e876576ec8bc8e3ad52bd1d7f60a5f6728", kill_on_drop: false }` [INFO] [stdout] 804ac792068a0c00b43eb6e5a0d080e876576ec8bc8e3ad52bd1d7f60a5f6728