[INFO] fetching crate rustot 0.4.1... [INFO] testing rustot-0.4.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rustot 0.4.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rustot 0.4.1 [INFO] finished tweaking crates.io crate rustot 0.4.1 [INFO] tweaked toml for crates.io crate rustot 0.4.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustot 0.4.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 175 packages to latest compatible versions [INFO] [stderr] Adding defmt v0.3.100 (available: v1.0.1) [INFO] [stderr] Adding dns-lookup v1.0.8 (available: v3.0.1) [INFO] [stderr] Adding ecdsa v0.13.4 (available: v0.16.9) [INFO] [stderr] Adding embedded-nal v0.6.0 (available: v0.9.0) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.10) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.9.2) [INFO] [stderr] Adding no-std-net v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding p256 v0.10.1 (available: v0.13.2) [INFO] [stderr] Adding pkcs8 v0.8.0 (available: v0.10.2) [INFO] [stderr] Adding serde-json-core v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding sha2 v0.10.9 (available: v0.11.0) [INFO] [stderr] Adding signature v1.4.0 (available: v1.6.4) [INFO] [stderr] Adding smlang v0.5.1 (available: v0.8.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa757e7c52fc77cc524187ce933affd17f169824d64eb7e56671c91c01613cd1 [INFO] running `Command { std: "docker" "start" "-a" "fa757e7c52fc77cc524187ce933affd17f169824d64eb7e56671c91c01613cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa757e7c52fc77cc524187ce933affd17f169824d64eb7e56671c91c01613cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa757e7c52fc77cc524187ce933affd17f169824d64eb7e56671c91c01613cd1", kill_on_drop: false }` [INFO] [stdout] fa757e7c52fc77cc524187ce933affd17f169824d64eb7e56671c91c01613cd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3402295bc81be2901c8197edea21eb4e3569001f274999d40d8dbb30d562b29 [INFO] running `Command { std: "docker" "start" "-a" "e3402295bc81be2901c8197edea21eb4e3569001f274999d40d8dbb30d562b29", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling embedded-storage v0.3.1 [INFO] [stderr] Compiling bitmaps v3.2.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling fugit v0.3.9 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling fugit-timer v0.1.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling smlang-macros v0.5.1 [INFO] [stderr] Compiling shadow-derive v0.2.1 [INFO] [stderr] Compiling smlang v0.5.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde-json-core v0.4.0 [INFO] [stderr] Compiling mqttrust v0.6.0 [INFO] [stderr] Compiling rustot v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ota/state.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | let file_ctx = if let Some(mut file_ctx) = cur_file_ctx { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/fmt.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Try` is never used [INFO] [stdout] --> src/fmt.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub trait Try { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jobs/mod.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn update(job_id: &str, status: JobStatus) -> Update { [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] 272 | pub fn update(job_id: &str, status: JobStatus) -> Update<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.43s [INFO] running `Command { std: "docker" "inspect" "e3402295bc81be2901c8197edea21eb4e3569001f274999d40d8dbb30d562b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3402295bc81be2901c8197edea21eb4e3569001f274999d40d8dbb30d562b29", kill_on_drop: false }` [INFO] [stdout] e3402295bc81be2901c8197edea21eb4e3569001f274999d40d8dbb30d562b29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 229ef7d87d46faa0f7ea725374775cbcf8b7bf38f8804eae6c48220f594792b3 [INFO] running `Command { std: "docker" "start" "-a" "229ef7d87d46faa0f7ea725374775cbcf8b7bf38f8804eae6c48220f594792b3", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling bbqueue v0.5.1 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling pbkdf2 v0.9.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling salsa20 v0.9.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling dns-lookup v1.0.8 [INFO] [stderr] Compiling pulse v0.5.3 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling ff v0.11.1 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling scrypt v0.8.1 [INFO] [stderr] Compiling timebomb v0.1.2 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling pkcs5 v0.4.0 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rfc6979 v0.1.0 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling elliptic-curve v0.11.12 [INFO] [stderr] Compiling ecdsa v0.13.4 [INFO] [stderr] Compiling p256 v0.10.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling no-std-net v0.5.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling mqttrust v0.6.0 [INFO] [stderr] Compiling serde-json-core v0.4.0 [INFO] [stderr] Compiling embedded-nal v0.6.0 [INFO] [stderr] Compiling mqttrust_core v0.6.0 [INFO] [stderr] Compiling rustot v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ota/state.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | let file_ctx = if let Some(mut file_ctx) = cur_file_ctx { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/fmt.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Try` is never used [INFO] [stdout] --> src/fmt.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub trait Try { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jobs/mod.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn update(job_id: &str, status: JobStatus) -> Update { [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] 272 | pub fn update(job_id: &str, status: JobStatus) -> Update<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/common/file_handler.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | log::debug!( [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/common/network.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | log::error!("{:?}", e); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | log::info!("Starting OTA test..."); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | log::info!("Successfully connected to broker"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | log::debug!("Received job! Starting OTA! {:?}", job_doc.streamname); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:161:57 [INFO] [stdout] | [INFO] [stdout] 161 | ... States::CreatingFile => log::info!("State: CreatingFile"), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:162:50 [INFO] [stdout] | [INFO] [stdout] 162 | ... States::Ready => log::info!("State: Ready"), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:164:37 [INFO] [stdout] | [INFO] [stdout] 164 | ... log::info!("State: RequestingFileBlock") [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:166:58 [INFO] [stdout] | [INFO] [stdout] 166 | ... States::RequestingJob => log::info!("State: RequestingJob"), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:167:55 [INFO] [stdout] | [INFO] [stdout] 167 | ... States::Restarting => log::info!("State: Restarting"), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:168:54 [INFO] [stdout] | [INFO] [stdout] 168 | ... States::Suspended => log::info!("State: Suspended"), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | ... log::info!("State: WaitingForFileBlock") [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:172:58 [INFO] [stdout] | [INFO] [stdout] 172 | ... States::WaitingForJob => log::info!("State: WaitingForJob"), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | log::trace!("{:?}", n); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/ota.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | log::info!( [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/common/file_handler.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | log::debug!( [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/common/network.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | log::error!("{:?}", e); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/provisioning.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | log::info!("Successfully connected to broker with claim credentials"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/provisioning.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | log::info!("Got credentials! {:?}", credentials); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/provisioning.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | log::info!("Got device config! {:?}", config); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/provisioning.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | log::error!("Got provision error! {:?}", e); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/provisioning.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | log::info!("Starting provisioning"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/provisioning.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | log::trace!("{:?}", n); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/provisioning.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | log::info!("Starting provisioning test..."); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/common/file_handler.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | log::debug!( [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/common/network.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | log::error!("{:?}", e); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/shadows.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | log::info!("State: {:?}", self.state()); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/shadows.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | log::debug!("Update from cloud: {:?}", payload); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/shadows.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | log::warn!("TOPIC: {}", publish.topic_name); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/shadows.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | log::info!("Starting shadows test..."); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> tests/shadows.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | log::info!("Successfully connected to broker"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustot` (test "provisioning") due to 9 previous errors [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 `rustot` (test "ota") due to 15 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustot` (test "shadows") due to 7 previous errors [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ota/state.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | let file_ctx = if let Some(mut file_ctx) = cur_file_ctx { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/fmt.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Try` is never used [INFO] [stdout] --> src/fmt.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub trait Try { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jobs/mod.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn update(job_id: &str, status: JobStatus) -> Update { [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] 272 | pub fn update(job_id: &str, status: JobStatus) -> Update<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "229ef7d87d46faa0f7ea725374775cbcf8b7bf38f8804eae6c48220f594792b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "229ef7d87d46faa0f7ea725374775cbcf8b7bf38f8804eae6c48220f594792b3", kill_on_drop: false }` [INFO] [stdout] 229ef7d87d46faa0f7ea725374775cbcf8b7bf38f8804eae6c48220f594792b3