[INFO] cloning repository https://github.com/entropyinf/entropy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/entropyinf/entropy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fentropyinf%2Fentropy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fentropyinf%2Fentropy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2c08924772e1bee75e183cb6b70dae8a504e503 [INFO] checking entropyinf/entropy against try#4949cf2f817beadb9a248d423b6d55d6d2398ffe for pr-142681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fentropyinf%2Fentropy" "/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/entropyinf/entropy [INFO] finished tweaking git repo https://github.com/entropyinf/entropy [INFO] tweaked toml for git repo https://github.com/entropyinf/entropy written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/entropyinf/entropy on toolchain 4949cf2f817beadb9a248d423b6d55d6d2398ffe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/entropyinf/entropy 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" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 420002203ece05bc97d82a06a5bdd5f0f4d7481616534e498b3a21240197652f [INFO] running `Command { std: "docker" "start" "-a" "420002203ece05bc97d82a06a5bdd5f0f4d7481616534e498b3a21240197652f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "420002203ece05bc97d82a06a5bdd5f0f4d7481616534e498b3a21240197652f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420002203ece05bc97d82a06a5bdd5f0f4d7481616534e498b3a21240197652f", kill_on_drop: false }` [INFO] [stdout] 420002203ece05bc97d82a06a5bdd5f0f4d7481616534e498b3a21240197652f [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cabd74789b23754134e38a6e7f574254136f698172e71a066d7d2ee82b0482e5 [INFO] running `Command { std: "docker" "start" "-a" "cabd74789b23754134e38a6e7f574254136f698172e71a066d7d2ee82b0482e5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking borrow-or-share v0.2.2 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking appendlist v1.4.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling rdkafka-sys v4.8.0+2.3.0 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking clap_builder v4.5.34 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking jiff v0.2.5 [INFO] [stderr] Checking rmodbus v0.10.2 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking file-rotate v0.8.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Checking fluent-uri v0.3.2 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking env_logger v0.11.7 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling sea-query-derive v0.4.2 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking clap v4.5.34 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking rumqttc v0.24.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dashmap v7.0.0-rc2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking sea-query v0.32.0 [INFO] [stderr] Checking jsonptr v0.7.1 [INFO] [stderr] Checking boon v0.6.1 [INFO] [stderr] Checking sqlx-core v0.8.2 [INFO] [stderr] Checking axum v0.8.3 [INFO] [stderr] Checking json-patch v4.0.0 [INFO] [stderr] Checking sqlx-postgres v0.8.2 [INFO] [stderr] Checking sqlx-sqlite v0.8.2 [INFO] [stderr] Checking rdkafka v0.37.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking sea-query-binder v0.7.0 [INFO] [stderr] Checking basic v0.1.0 (/opt/rustwide/workdir/basic) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/repository/schema.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | fn r#type(&self) -> FieldType; [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | fn r#type(&self) -> FieldType<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/repository/schema.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | fn r#type(&self) -> FieldType { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | fn r#type(&self) -> FieldType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/service/resources.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn get_resource(&self, name: &str) -> Res> { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn get_resource(&self, name: &str) -> Res> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/service/resources.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn add_resource(&self, res: Resource) -> Res> { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn add_resource(&self, res: Resource) -> Res> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/service/resources.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | async fn create_resource(&self, name: &str, json_schema: Value) -> Res> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | async fn create_resource(&self, name: &str, json_schema: Value) -> Res> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/service/resources.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | async fn update_resource(&self, old: &Value, new: &Value) -> Res> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 69 | async fn update_resource(&self, old: &Value, new: &Value) -> Res> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/repository/schema.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | fn r#type(&self) -> FieldType; [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | fn r#type(&self) -> FieldType<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/repository/schema.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | fn r#type(&self) -> FieldType { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | fn r#type(&self) -> FieldType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/service/resources.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn get_resource(&self, name: &str) -> Res> { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn get_resource(&self, name: &str) -> Res> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/service/resources.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn add_resource(&self, res: Resource) -> Res> { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn add_resource(&self, res: Resource) -> Res> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/service/resources.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | async fn create_resource(&self, name: &str, json_schema: Value) -> Res> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | async fn create_resource(&self, name: &str, json_schema: Value) -> Res> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> basic/src/service/resources.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | async fn update_resource(&self, old: &Value, new: &Value) -> Res> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 69 | async fn update_resource(&self, old: &Value, new: &Value) -> Res> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking model v0.1.0 (/opt/rustwide/workdir/model) [INFO] [stdout] warning: field `data_tx` is never read [INFO] [stdout] --> model/src/device/modbus.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct ModbusCollector { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | data_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction_id` and `unit_id` are never read [INFO] [stdout] --> model/src/device/protocol.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MbapHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 40 | pub transaction_id: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub unit_id: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MbapHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `bytes` are never read [INFO] [stdout] --> model/src/device/protocol.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | ReadCoils { count: u8, bytes: Vec }, [INFO] [stdout] | --------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `input_status` are never read [INFO] [stdout] --> model/src/device/protocol.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | ReadDiscreteInputs { count: u8, input_status: Vec }, [INFO] [stdout] | ------------------ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> model/src/device/protocol.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | ReadHoldingRegisters { count: u8, words: Vec }, [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `words` are never read [INFO] [stdout] --> model/src/device/protocol.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | ReadInputRegisters { count: u8, words: Vec }, [INFO] [stdout] | ------------------ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `value` are never read [INFO] [stdout] --> model/src/device/protocol.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | WriteSingleCoil { address: u16, value: u16 }, [INFO] [stdout] | --------------- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `value` are never read [INFO] [stdout] --> model/src/device/protocol.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | WriteSingleRegister { address: u16, value: u16 }, [INFO] [stdout] | ------------------- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `starting_address` and `quantity` are never read [INFO] [stdout] --> model/src/device/protocol.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | WriteMultipleCoils { starting_address: u16, quantity: u16 }, [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `starting_address` and `quantity` are never read [INFO] [stdout] --> model/src/device/protocol.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | WriteMultipleRegisters { starting_address: u16, quantity: u16 }, [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mbap` and `function_code` are never read [INFO] [stdout] --> model/src/device/protocol.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | Normal { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 61 | mbap: MbapHeader, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | function_code: FunctionCode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mbap` and `function_code` are never read [INFO] [stdout] --> model/src/device/protocol.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | Exception { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 66 | mbap: MbapHeader, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | function_code: FunctionCode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Invalid` is never constructed [INFO] [stdout] --> model/src/device/protocol.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum ModbusResponse { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | Invalid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_tx` is never read [INFO] [stdout] --> model/src/device/modbus.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct ModbusCollector { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | data_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction_id` and `unit_id` are never read [INFO] [stdout] --> model/src/device/protocol.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MbapHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 40 | pub transaction_id: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub unit_id: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MbapHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `bytes` are never read [INFO] [stdout] --> model/src/device/protocol.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | ReadCoils { count: u8, bytes: Vec }, [INFO] [stdout] | --------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `input_status` are never read [INFO] [stdout] --> model/src/device/protocol.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | ReadDiscreteInputs { count: u8, input_status: Vec }, [INFO] [stdout] | ------------------ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> model/src/device/protocol.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | ReadHoldingRegisters { count: u8, words: Vec }, [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `words` are never read [INFO] [stdout] --> model/src/device/protocol.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | ReadInputRegisters { count: u8, words: Vec }, [INFO] [stdout] | ------------------ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `value` are never read [INFO] [stdout] --> model/src/device/protocol.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | WriteSingleCoil { address: u16, value: u16 }, [INFO] [stdout] | --------------- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `value` are never read [INFO] [stdout] --> model/src/device/protocol.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | WriteSingleRegister { address: u16, value: u16 }, [INFO] [stdout] | ------------------- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `starting_address` and `quantity` are never read [INFO] [stdout] --> model/src/device/protocol.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | WriteMultipleCoils { starting_address: u16, quantity: u16 }, [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `starting_address` and `quantity` are never read [INFO] [stdout] --> model/src/device/protocol.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | WriteMultipleRegisters { starting_address: u16, quantity: u16 }, [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mbap` and `function_code` are never read [INFO] [stdout] --> model/src/device/protocol.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | Normal { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 61 | mbap: MbapHeader, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | function_code: FunctionCode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mbap` and `function_code` are never read [INFO] [stdout] --> model/src/device/protocol.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | Exception { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 66 | mbap: MbapHeader, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | function_code: FunctionCode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Invalid` is never constructed [INFO] [stdout] --> model/src/device/protocol.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum ModbusResponse { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | Invalid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "cabd74789b23754134e38a6e7f574254136f698172e71a066d7d2ee82b0482e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cabd74789b23754134e38a6e7f574254136f698172e71a066d7d2ee82b0482e5", kill_on_drop: false }` [INFO] [stdout] cabd74789b23754134e38a6e7f574254136f698172e71a066d7d2ee82b0482e5