[INFO] fetching crate rustot 0.4.1... [INFO] testing rustot-0.4.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rustot 0.4.1 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustot 0.4.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 153 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.0) [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.8) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.9.1) [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 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e60a068b57b11f200c62d0660f24df68a43b241caa4881a470030fd098d041c6 [INFO] running `Command { std: "docker" "start" "-a" "e60a068b57b11f200c62d0660f24df68a43b241caa4881a470030fd098d041c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e60a068b57b11f200c62d0660f24df68a43b241caa4881a470030fd098d041c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e60a068b57b11f200c62d0660f24df68a43b241caa4881a470030fd098d041c6", kill_on_drop: false }` [INFO] [stdout] e60a068b57b11f200c62d0660f24df68a43b241caa4881a470030fd098d041c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9e1d4280bd0f4804d93e9e5e39c9b060d86054dc54787fd1b671856501655be [INFO] running `Command { std: "docker" "start" "-a" "f9e1d4280bd0f4804d93e9e5e39c9b060d86054dc54787fd1b671856501655be", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling embedded-storage v0.3.1 [INFO] [stderr] Compiling bitmaps v3.2.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling fugit-timer v0.1.3 [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.61s [INFO] running `Command { std: "docker" "inspect" "f9e1d4280bd0f4804d93e9e5e39c9b060d86054dc54787fd1b671856501655be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9e1d4280bd0f4804d93e9e5e39c9b060d86054dc54787fd1b671856501655be", kill_on_drop: false }` [INFO] [stdout] f9e1d4280bd0f4804d93e9e5e39c9b060d86054dc54787fd1b671856501655be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b254f1f52eba3b658dd7a50d4d847843c908e015f7168df67fd79bf5c0b32809 [INFO] running `Command { std: "docker" "start" "-a" "b254f1f52eba3b658dd7a50d4d847843c908e015f7168df67fd79bf5c0b32809", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-mac v0.11.1 [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 ff v0.11.1 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.9.0 [INFO] [stderr] Compiling pulse v0.5.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling bbqueue v0.5.1 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling dns-lookup v1.0.8 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling scrypt v0.8.1 [INFO] [stderr] Compiling rfc6979 v0.1.0 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling pkcs5 v0.4.0 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling elliptic-curve v0.11.12 [INFO] [stderr] Compiling timebomb v0.1.2 [INFO] [stderr] Compiling ecdsa v0.13.4 [INFO] [stderr] Compiling p256 v0.10.1 [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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]: failed to resolve: use of unresolved module or unlinked crate `log` [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] For more information about this error, try `rustc --explain E0433`. [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" "b254f1f52eba3b658dd7a50d4d847843c908e015f7168df67fd79bf5c0b32809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b254f1f52eba3b658dd7a50d4d847843c908e015f7168df67fd79bf5c0b32809", kill_on_drop: false }` [INFO] [stdout] b254f1f52eba3b658dd7a50d4d847843c908e015f7168df67fd79bf5c0b32809