[INFO] cloning repository https://github.com/SnakeSolid/rust-sim800-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SnakeSolid/rust-sim800-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnakeSolid%2Frust-sim800-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnakeSolid%2Frust-sim800-reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 593cb1f64ceb88ec152a29c5c96bf97d5502bb41 [INFO] checking SnakeSolid/rust-sim800-reader against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnakeSolid%2Frust-sim800-reader" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SnakeSolid/rust-sim800-reader [INFO] finished tweaking git repo https://github.com/SnakeSolid/rust-sim800-reader [INFO] tweaked toml for git repo https://github.com/SnakeSolid/rust-sim800-reader written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SnakeSolid/rust-sim800-reader on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SnakeSolid/rust-sim800-reader 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b13a9a6ec82ac9aa0642de19901356df8a8711f573361f14ef3c0261aed627d9 [INFO] running `Command { std: "docker" "start" "b13a9a6ec82ac9aa0642de19901356df8a8711f573361f14ef3c0261aed627d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b13a9a6ec82ac9aa0642de19901356df8a8711f573361f14ef3c0261aed627d9", 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" "b13a9a6ec82ac9aa0642de19901356df8a8711f573361f14ef3c0261aed627d9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b13a9a6ec82ac9aa0642de19901356df8a8711f573361f14ef3c0261aed627d9", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b13a9a6ec82ac9aa0642de19901356df8a8711f573361f14ef3c0261aed627d9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking jiff v0.2.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking unescaper v0.1.6 [INFO] [stderr] Checking serialport v4.7.2 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Checking sim800-reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 316 | Error(MobileEquipmentError), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 316 - Error(MobileEquipmentError), [INFO] [stdout] 316 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode`, `format`, and `operator` are never read [INFO] [stdout] --> src/parser.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 317 | OperatorSelection { [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 318 | mode: OperatorSelectionMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 319 | format: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 320 | operator: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode`, `location`, and `cell_id` are never read [INFO] [stdout] --> src/parser.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 322 | NetworkRegistration { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 323 | mode: NetworkRegistrationMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 324 | status: NetworkRegistrationStatus, [INFO] [stdout] 325 | location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 326 | cell_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/parser.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 328 | PhoneActivityStatus { [INFO] [stdout] | ------------------- field in this variant [INFO] [stdout] 329 | status: PhoneActivityStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rssi` and `error_rate` are never read [INFO] [stdout] --> src/parser.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 331 | SignalQuality { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 332 | rssi: SignalQualityRssi, [INFO] [stdout] | ^^^^ [INFO] [stdout] 333 | error_rate: SignalQualityErrorRate, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `level`, and `voltage` are never read [INFO] [stdout] --> src/parser.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 335 | BatteryCharge { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 336 | status: BatteryChargeStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 337 | level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 338 | voltage: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address_text` is never read [INFO] [stdout] --> src/parser.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 340 | ListSmsMessage { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 344 | address_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `address`, `address_text`, `timestamp`, and `text` are never read [INFO] [stdout] --> src/parser.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 348 | ReadSmsMessage { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 349 | status: SmsMessageStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 350 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 351 | address_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 352 | timestamp: OffsetDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 353 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage` and `index` are never read [INFO] [stdout] --> src/parser.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 355 | NewSmsMessage { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 356 | storage: SmsMessageStorage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 357 | index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 359 | ListCurrentCalls { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 360 | index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 361 | direction: CallDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 362 | state: CallState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 363 | mode: CallMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 364 | multiparty: CallMultiparty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 365 | number: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 366 | number_type: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 367 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `port`, `command_write`, and `response_read` are never read [INFO] [stdout] --> src/sim800/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sim800 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | port: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | command_write: JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | response_read: JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sim800` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `join` is never used [INFO] [stdout] --> src/sim800/mod.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Sim800 { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn join(self) -> Result<(), Sim800Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/parser.rs:611:26 [INFO] [stdout] | [INFO] [stdout] 611 | address: address.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 611 - address: address.into(), [INFO] [stdout] 611 + address: address, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 611 - address: address.into(), [INFO] [stdout] 611 + address: >::into(address), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/parser.rs:639:26 [INFO] [stdout] | [INFO] [stdout] 639 | address: address.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 639 - address: address.into(), [INFO] [stdout] 639 + address: address, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 639 - address: address.into(), [INFO] [stdout] 639 + address: >::into(address), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sim800-reader` (bin "sim800-reader") due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 316 | Error(MobileEquipmentError), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 316 - Error(MobileEquipmentError), [INFO] [stdout] 316 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode`, `format`, and `operator` are never read [INFO] [stdout] --> src/parser.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 317 | OperatorSelection { [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 318 | mode: OperatorSelectionMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 319 | format: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 320 | operator: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode`, `location`, and `cell_id` are never read [INFO] [stdout] --> src/parser.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 322 | NetworkRegistration { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 323 | mode: NetworkRegistrationMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 324 | status: NetworkRegistrationStatus, [INFO] [stdout] 325 | location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 326 | cell_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/parser.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 328 | PhoneActivityStatus { [INFO] [stdout] | ------------------- field in this variant [INFO] [stdout] 329 | status: PhoneActivityStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rssi` and `error_rate` are never read [INFO] [stdout] --> src/parser.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 331 | SignalQuality { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 332 | rssi: SignalQualityRssi, [INFO] [stdout] | ^^^^ [INFO] [stdout] 333 | error_rate: SignalQualityErrorRate, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `level`, and `voltage` are never read [INFO] [stdout] --> src/parser.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 335 | BatteryCharge { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 336 | status: BatteryChargeStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 337 | level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 338 | voltage: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address_text` is never read [INFO] [stdout] --> src/parser.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 340 | ListSmsMessage { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 344 | address_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `address`, `address_text`, `timestamp`, and `text` are never read [INFO] [stdout] --> src/parser.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 348 | ReadSmsMessage { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 349 | status: SmsMessageStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 350 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 351 | address_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 352 | timestamp: OffsetDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 353 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage` and `index` are never read [INFO] [stdout] --> src/parser.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 355 | NewSmsMessage { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 356 | storage: SmsMessageStorage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 357 | index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 359 | ListCurrentCalls { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 360 | index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 361 | direction: CallDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 362 | state: CallState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 363 | mode: CallMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 364 | multiparty: CallMultiparty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 365 | number: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 366 | number_type: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 367 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `port`, `command_write`, and `response_read` are never read [INFO] [stdout] --> src/sim800/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sim800 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | port: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | command_write: JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | response_read: JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sim800` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `join` is never used [INFO] [stdout] --> src/sim800/mod.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Sim800 { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn join(self) -> Result<(), Sim800Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/parser.rs:611:26 [INFO] [stdout] | [INFO] [stdout] 611 | address: address.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 611 - address: address.into(), [INFO] [stdout] 611 + address: address, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 611 - address: address.into(), [INFO] [stdout] 611 + address: >::into(address), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/parser.rs:639:26 [INFO] [stdout] | [INFO] [stdout] 639 | address: address.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 639 - address: address.into(), [INFO] [stdout] 639 + address: address, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 639 - address: address.into(), [INFO] [stdout] 639 + address: >::into(address), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sim800-reader` (bin "sim800-reader" test) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b13a9a6ec82ac9aa0642de19901356df8a8711f573361f14ef3c0261aed627d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13a9a6ec82ac9aa0642de19901356df8a8711f573361f14ef3c0261aed627d9", kill_on_drop: false }` [INFO] [stdout] b13a9a6ec82ac9aa0642de19901356df8a8711f573361f14ef3c0261aed627d9