[INFO] cloning repository https://github.com/songpengfei159/DeviceParamsPost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/songpengfei159/DeviceParamsPost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongpengfei159%2FDeviceParamsPost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongpengfei159%2FDeviceParamsPost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5f834d523e2a5c18db25fa6f07d8b5437d377b8 [INFO] testing songpengfei159/DeviceParamsPost against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongpengfei159%2FDeviceParamsPost" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/songpengfei159/DeviceParamsPost [INFO] finished tweaking git repo https://github.com/songpengfei159/DeviceParamsPost [INFO] tweaked toml for git repo https://github.com/songpengfei159/DeviceParamsPost written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/songpengfei159/DeviceParamsPost on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/songpengfei159/DeviceParamsPost 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.105 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.105 [INFO] [stderr] Downloaded wasm-bindgen v0.2.105 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Downloaded const_fn v0.4.11 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded mysql v20.1.0 [INFO] [stderr] Downloaded named_pipe v0.4.1 [INFO] [stderr] Downloaded time-macros-impl v0.1.2 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded lru v0.6.6 [INFO] [stderr] Downloaded bufstream v0.1.4 [INFO] [stderr] Downloaded standback v0.2.17 [INFO] [stderr] Downloaded rkyv_derive v0.7.45 [INFO] [stderr] Downloaded derive_utils v0.11.2 [INFO] [stderr] Downloaded codepage v0.1.2 [INFO] [stderr] Downloaded sha2 v0.8.2 [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded io-enum v0.2.6 [INFO] [stderr] Downloaded bigdecimal v0.1.2 [INFO] [stderr] Downloaded icu_properties v2.1.1 [INFO] [stderr] Downloaded js-sys v0.3.82 [INFO] [stderr] Downloaded cc v1.2.47 [INFO] [stderr] Downloaded time v0.2.27 [INFO] [stderr] Downloaded mysql_common v0.24.1 [INFO] [stderr] Downloaded calamine v0.21.2 [INFO] [stderr] Downloaded mio v1.1.0 [INFO] [stderr] Downloaded flate2 v1.1.5 [INFO] [stderr] Downloaded zerocopy-derive v0.8.28 [INFO] [stderr] Downloaded lexical v5.2.2 [INFO] [stderr] Downloaded rkyv v0.7.45 [INFO] [stderr] Downloaded rust_decimal v1.39.0 [INFO] [stderr] Downloaded icu_properties_data v2.1.1 [INFO] [stderr] Downloaded quick-xml v0.28.2 [INFO] [stderr] Downloaded redis v0.23.3 [INFO] [stderr] Downloaded nix v0.19.1 [INFO] [stderr] Downloaded zerocopy v0.8.28 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] [stderr] Downloaded libz-sys v1.1.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875 [INFO] running `Command { std: "docker" "start" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling mysql v20.1.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Compiling codepage v0.1.2 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling calamine v0.21.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling mysql_common v0.24.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling redis v0.23.3 [INFO] [stderr] Compiling DeviceParamsPost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | if(!report_inertval.contains_key(&CardID)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 220 - if(!report_inertval.contains_key(&CardID)){ [INFO] [stdout] 220 + if !report_inertval.contains_key(&CardID) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/main.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | Some(NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msisdn` is never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct SimCardInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 44 | msisdn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimCardInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reportTime` should have a snake case name [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | reportTime: i64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `report_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deviceId` should have a snake case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | deviceId: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tenantId` should have a snake case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | tenantId: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tenant_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `serverId` should have a snake case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | serverId: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `requestId` should have a snake case name [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | requestId: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `request_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CardID` should have a snake case name [INFO] [stdout] --> src/main.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | for (CardID, battery, phonenu,TimeStamps) in results { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `card_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TimeStamps` should have a snake case name [INFO] [stdout] --> src/main.rs:204:35 [INFO] [stdout] | [INFO] [stdout] 204 | for (CardID, battery, phonenu,TimeStamps) in results { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `time_stamps` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.23.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling DeviceParamsPost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | if(!report_inertval.contains_key(&CardID)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 220 - if(!report_inertval.contains_key(&CardID)){ [INFO] [stdout] 220 + if !report_inertval.contains_key(&CardID) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/main.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | Some(NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msisdn` is never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct SimCardInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 44 | msisdn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimCardInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reportTime` should have a snake case name [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | reportTime: i64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `report_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deviceId` should have a snake case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | deviceId: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tenantId` should have a snake case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | tenantId: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tenant_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `serverId` should have a snake case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | serverId: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `requestId` should have a snake case name [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | requestId: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `request_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CardID` should have a snake case name [INFO] [stdout] --> src/main.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | for (CardID, battery, phonenu,TimeStamps) in results { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `card_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TimeStamps` should have a snake case name [INFO] [stdout] --> src/main.rs:204:35 [INFO] [stdout] | [INFO] [stdout] 204 | for (CardID, battery, phonenu,TimeStamps) in results { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `time_stamps` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.23.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::thread::sleep` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::sleep; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:220:15 [INFO] [stderr] | [INFO] [stderr] 220 | if(!report_inertval.contains_key(&CardID)){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 220 - if(!report_inertval.contains_key(&CardID)){ [INFO] [stderr] 220 + if !report_inertval.contains_key(&CardID) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/main.rs:111:33 [INFO] [stderr] | [INFO] [stderr] 111 | Some(NaiveDateTime::from_timestamp( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `msisdn` is never read [INFO] [stderr] --> src/main.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 43 | struct SimCardInfo { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 44 | msisdn: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SimCardInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `reportTime` should have a snake case name [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | reportTime: i64, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `report_time` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `deviceId` should have a snake case name [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | deviceId: i32, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `device_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `tenantId` should have a snake case name [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | tenantId: i32, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `tenant_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `serverId` should have a snake case name [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | serverId: Option, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `server_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `requestId` should have a snake case name [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | requestId: String, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `request_id` [INFO] [stderr] [INFO] [stderr] warning: variable `CardID` should have a snake case name [INFO] [stderr] --> src/main.rs:204:10 [INFO] [stderr] | [INFO] [stderr] 204 | for (CardID, battery, phonenu,TimeStamps) in results { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `card_id` [INFO] [stderr] [INFO] [stderr] warning: variable `TimeStamps` should have a snake case name [INFO] [stderr] --> src/main.rs:204:35 [INFO] [stderr] | [INFO] [stderr] 204 | for (CardID, battery, phonenu,TimeStamps) in results { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `time_stamps` [INFO] [stderr] [INFO] [stderr] warning: `DeviceParamsPost` (bin "DeviceParamsPost" test) generated 11 warnings (run `cargo fix --bin "DeviceParamsPost" -p DeviceParamsPost --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.23.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/DeviceParamsPost-83649386062d28a7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875", kill_on_drop: false }` [INFO] [stdout] bde8b3bd533051fd7ac879bd110aa69c105b65b3d9e5a6afecd02fa407d4b875