[INFO] cloning repository https://github.com/indoor-analytics/wifi_tracking_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/indoor-analytics/wifi_tracking_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findoor-analytics%2Fwifi_tracking_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findoor-analytics%2Fwifi_tracking_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e841fbf0e83c88b24882ef84d0f184db8a4d6c5 [INFO] building indoor-analytics/wifi_tracking_api against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findoor-analytics%2Fwifi_tracking_api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/indoor-analytics/wifi_tracking_api [INFO] finished tweaking git repo https://github.com/indoor-analytics/wifi_tracking_api [INFO] tweaked toml for git repo https://github.com/indoor-analytics/wifi_tracking_api written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/indoor-analytics/wifi_tracking_api on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/indoor-analytics/wifi_tracking_api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02f1a8c14d6f49c004b1dffa5998b217bed368977959a56a40cde745d1f06524 [INFO] running `Command { std: "docker" "start" "-a" "02f1a8c14d6f49c004b1dffa5998b217bed368977959a56a40cde745d1f06524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02f1a8c14d6f49c004b1dffa5998b217bed368977959a56a40cde745d1f06524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f1a8c14d6f49c004b1dffa5998b217bed368977959a56a40cde745d1f06524", kill_on_drop: false }` [INFO] [stdout] 02f1a8c14d6f49c004b1dffa5998b217bed368977959a56a40cde745d1f06524 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e0b3333a076fd165703d4cd9f66d14c68af04e7e0b4e5d7547863886e875fe4 [INFO] running `Command { std: "docker" "start" "-a" "4e0b3333a076fd165703d4cd9f66d14c68af04e7e0b4e5d7547863886e875fe4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.135 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde v1.0.135 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling socket2 v0.4.3 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling headers v0.3.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling wifi_tracking_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/controllers/distance.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let packets = unique_sensors_ids.iter().map(|sensor_id| device_data.iter().rfind(|datum| &datum.sensor_id == sensor_id)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/controllers/distance.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let packets = unique_sensors_ids.iter().map(|sensor_id| device_data.iter().rfind(|datum| &datum.sensor_id == sensor_id)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "4e0b3333a076fd165703d4cd9f66d14c68af04e7e0b4e5d7547863886e875fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e0b3333a076fd165703d4cd9f66d14c68af04e7e0b4e5d7547863886e875fe4", kill_on_drop: false }` [INFO] [stdout] 4e0b3333a076fd165703d4cd9f66d14c68af04e7e0b4e5d7547863886e875fe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be6fcc61b256f079d10c2b01dc3557ec662e89fbded82670aecd09a0a3ebaa4b [INFO] running `Command { std: "docker" "start" "-a" "be6fcc61b256f079d10c2b01dc3557ec662e89fbded82670aecd09a0a3ebaa4b", kill_on_drop: false }` [INFO] [stderr] Compiling wifi_tracking_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/controllers/distance.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let packets = unique_sensors_ids.iter().map(|sensor_id| device_data.iter().rfind(|datum| &datum.sensor_id == sensor_id)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/controllers/distance.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let packets = unique_sensors_ids.iter().map(|sensor_id| device_data.iter().rfind(|datum| &datum.sensor_id == sensor_id)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/controllers/distance.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let packets = unique_sensors_ids.iter().map(|sensor_id| device_data.iter().rfind(|datum| &datum.sensor_id == sensor_id)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packets` [INFO] [stdout] --> src/controllers/distance.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let packets = unique_sensors_ids.iter().map(|sensor_id| device_data.iter().rfind(|datum| &datum.sensor_id == sensor_id)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "be6fcc61b256f079d10c2b01dc3557ec662e89fbded82670aecd09a0a3ebaa4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be6fcc61b256f079d10c2b01dc3557ec662e89fbded82670aecd09a0a3ebaa4b", kill_on_drop: false }` [INFO] [stdout] be6fcc61b256f079d10c2b01dc3557ec662e89fbded82670aecd09a0a3ebaa4b