[INFO] cloning repository https://github.com/frjonsen/ruuvi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frjonsen/ruuvi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrjonsen%2Fruuvi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrjonsen%2Fruuvi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89cafbdb200a75b7098a22268ac2ef3853d0b8e2 [INFO] testing frjonsen/ruuvi against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrjonsen%2Fruuvi" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frjonsen/ruuvi on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frjonsen/ruuvi [INFO] finished tweaking git repo https://github.com/frjonsen/ruuvi [INFO] tweaked toml for git repo https://github.com/frjonsen/ruuvi written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/frjonsen/ruuvi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/deviceplug/btleplug.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-macro v0.3.7 [INFO] [stderr] Downloaded dashmap v3.11.10 [INFO] [stderr] Downloaded futures-executor v0.3.7 [INFO] [stderr] Downloaded num v0.3.0 [INFO] [stderr] Downloaded cc v1.0.61 [INFO] [stderr] Downloaded polling v2.0.2 [INFO] [stderr] Downloaded futures-io v0.3.7 [INFO] [stderr] Downloaded num-rational v0.3.1 [INFO] [stderr] Downloaded async-executor v1.3.0 [INFO] [stderr] Downloaded enumflags2 v0.6.4 [INFO] [stderr] Downloaded enumflags2_derive v0.6.4 [INFO] [stderr] Downloaded async-attributes v1.1.1 [INFO] [stderr] Downloaded futures v0.3.7 [INFO] [stderr] Downloaded futures-task v0.3.7 [INFO] [stderr] Downloaded const-random v0.1.11 [INFO] [stderr] Downloaded futures-sink v0.3.7 [INFO] [stderr] Downloaded futures-channel v0.3.7 [INFO] [stderr] Downloaded futures-util v0.3.7 [INFO] [stderr] Downloaded nb-connect v1.0.2 [INFO] [stderr] Downloaded async-std v1.6.5 [INFO] [stderr] Downloaded const-random-macro v0.1.11 [INFO] [stderr] Downloaded num-bigint v0.3.0 [INFO] [stderr] Downloaded async-global-executor v1.4.3 [INFO] [stderr] Downloaded async-io v1.1.10 [INFO] [stderr] Downloaded futures-core v0.3.7 [INFO] [stderr] Downloaded bluez v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 013c822cd3769d104288fd0f7b422ca431b5cbd3fbbc61897c577451ccf81cc9 [INFO] running `Command { std: "docker" "start" "-a" "013c822cd3769d104288fd0f7b422ca431b5cbd3fbbc61897c577451ccf81cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "013c822cd3769d104288fd0f7b422ca431b5cbd3fbbc61897c577451ccf81cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "013c822cd3769d104288fd0f7b422ca431b5cbd3fbbc61897c577451ccf81cc9", kill_on_drop: false }` [INFO] [stdout] 013c822cd3769d104288fd0f7b422ca431b5cbd3fbbc61897c577451ccf81cc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d0585cba713a54b9a54dea336815c00f50bd6a8d92ea8ce2216d8c2c4193af8 [INFO] running `Command { std: "docker" "start" "-a" "7d0585cba713a54b9a54dea336815c00f50bd6a8d92ea8ce2216d8c2c4193af8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling futures-io v0.3.7 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.7 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.7 [INFO] [stderr] Compiling futures-task v0.3.7 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling winrt v0.6.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-executor v1.3.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling async-io v1.1.10 [INFO] [stderr] Compiling const-random-macro v0.1.11 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling const-random v0.1.11 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling async-std v1.6.5 [INFO] [stderr] Compiling backtrace v0.3.54 [INFO] [stderr] Compiling dashmap v3.11.10 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling num v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.7 [INFO] [stderr] Compiling futures v0.3.7 [INFO] [stderr] Compiling bluez v0.2.0 [INFO] [stderr] Compiling btleplug v0.5.4 (https://github.com/deviceplug/btleplug.git#9c27ef3b) [INFO] [stderr] Compiling ruuvi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data_key` [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let data_key = 0x0499; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let msg = parse_advertisement_message(&data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_format` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | data_format: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temperature` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | temperature: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `humidity` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | humidity: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pressure` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pressure: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc_x` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | acc_x: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc_y` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | acc_y: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc_z` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | acc_z: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `power_info` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | power_info: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `movement_counter` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | movement_counter: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sequence_number` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | sequence_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mac_address` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mac_address: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "7d0585cba713a54b9a54dea336815c00f50bd6a8d92ea8ce2216d8c2c4193af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d0585cba713a54b9a54dea336815c00f50bd6a8d92ea8ce2216d8c2c4193af8", kill_on_drop: false }` [INFO] [stdout] 7d0585cba713a54b9a54dea336815c00f50bd6a8d92ea8ce2216d8c2c4193af8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 461401f71261cf20b4e59cf2b87a85b083e120d983507ccd3ec5ca6bf6bb0398 [INFO] running `Command { std: "docker" "start" "-a" "461401f71261cf20b4e59cf2b87a85b083e120d983507ccd3ec5ca6bf6bb0398", kill_on_drop: false }` [INFO] [stderr] Compiling ruuvi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data_key` [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let data_key = 0x0499; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let msg = parse_advertisement_message(&data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc_x` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | acc_x: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc_y` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | acc_y: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc_z` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | acc_z: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `power_info` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | power_info: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `movement_counter` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | movement_counter: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sequence_number` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | sequence_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mac_address` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mac_address: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "461401f71261cf20b4e59cf2b87a85b083e120d983507ccd3ec5ca6bf6bb0398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461401f71261cf20b4e59cf2b87a85b083e120d983507ccd3ec5ca6bf6bb0398", kill_on_drop: false }` [INFO] [stdout] 461401f71261cf20b4e59cf2b87a85b083e120d983507ccd3ec5ca6bf6bb0398 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f52f0443afdb7d68d103a3f2b26049517c61acbd9af66b3f442c1cae9242d16d [INFO] running `Command { std: "docker" "start" "-a" "f52f0443afdb7d68d103a3f2b26049517c61acbd9af66b3f442c1cae9242d16d", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused variable: `data_key` [INFO] [stdout] running 1 test [INFO] [stderr] --> src/main.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | let data_key = 0x0499; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/main.rs:112:25 [INFO] [stderr] | [INFO] [stderr] 112 | let msg = parse_advertisement_message(&data); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `acc_x` [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | acc_x: i16, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `acc_y` [INFO] [stderr] --> src/main.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | acc_y: i16, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `acc_z` [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | acc_z: i16, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `power_info` [INFO] [stderr] --> src/main.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | power_info: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `movement_counter` [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | movement_counter: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sequence_number` [INFO] [stderr] --> src/main.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | sequence_number: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mac_address` [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | mac_address: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ruuvi` (bin "ruuvi" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ruuvi-42853806a7e8b1fb) [INFO] [stdout] test tests::parse_message ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--bin ruuvi' [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::parse_message stdout ---- [INFO] [stdout] thread 'tests::parse_message' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `53.49`, [INFO] [stdout] right: `53.489998`', src/main.rs:134:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56522e3c5470 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56522e3c5470 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56522e3c5470 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56522e3c5470 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56522e3e896c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x56522e3c23d5 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x56522e3c75eb - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56522e3c75eb - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56522e3c75eb - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56522e3c70fc - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x56522e3c7cb4 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x56522e3c7797 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x56522e3c594c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x56522e3c76f9 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x56522e3703b1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x56522e3e67b8 - core::panicking::assert_failed_inner::h6ded2444c01d76f2 [INFO] [stdout] 16: 0x56522e37248a - core::panicking::assert_failed::h0d4fea42aaac1455 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:117:5 [INFO] [stdout] 17: 0x56522e372169 - ruuvi::tests::parse_message::h430363e71290021a [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:134:9 [INFO] [stdout] 18: 0x56522e371e5a - ruuvi::tests::parse_message::{{closure}}::hc045b69eba692d1e [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:124:5 [INFO] [stdout] 19: 0x56522e371c1e - core::ops::function::FnOnce::call_once::h7150928ec90babd1 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x56522e3a58b3 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x56522e3a58b3 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x56522e3a4328 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x56522e3a4328 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x56522e3a4328 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x56522e3a4328 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x56522e3a4328 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x56522e3a4328 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x56522e3a4328 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x56522e372aad - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x56522e372aad - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x56522e3771d8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x56522e3771d8 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x56522e3771d8 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x56522e3771d8 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x56522e3771d8 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x56522e3771d8 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x56522e3771d8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x56522e3cc827 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x56522e3cc827 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x56522e3cc827 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 41: 0x7f7e5ea45609 - start_thread [INFO] [stdout] 42: 0x7f7e5e815293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::parse_message [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f52f0443afdb7d68d103a3f2b26049517c61acbd9af66b3f442c1cae9242d16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f52f0443afdb7d68d103a3f2b26049517c61acbd9af66b3f442c1cae9242d16d", kill_on_drop: false }` [INFO] [stdout] f52f0443afdb7d68d103a3f2b26049517c61acbd9af66b3f442c1cae9242d16d