[INFO] fetching crate rsiot-redis-publisher 0.0.28... [INFO] checking rsiot-redis-publisher-0.0.28 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rsiot-redis-publisher 0.0.28 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rsiot-redis-publisher 0.0.28 [INFO] finished tweaking crates.io crate rsiot-redis-publisher 0.0.28 [INFO] tweaked toml for crates.io crate rsiot-redis-publisher 0.0.28 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsiot-redis-publisher 0.0.28 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rsiot-redis-publisher 0.0.28 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rsiot-component-core v0.0.28 [INFO] [stderr] Downloaded rsiot-extra-components v0.0.28 [INFO] [stderr] Downloaded rsiot-components-config v0.0.28 [INFO] [stderr] Downloaded rsiot-messages-core v0.0.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e42c96b316888885bfeba1ec81b046087b790a5a9517ca7d08b35fac3b20a82 [INFO] running `Command { std: "docker" "start" "-a" "2e42c96b316888885bfeba1ec81b046087b790a5a9517ca7d08b35fac3b20a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e42c96b316888885bfeba1ec81b046087b790a5a9517ca7d08b35fac3b20a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e42c96b316888885bfeba1ec81b046087b790a5a9517ca7d08b35fac3b20a82", kill_on_drop: false }` [INFO] [stdout] 2e42c96b316888885bfeba1ec81b046087b790a5a9517ca7d08b35fac3b20a82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce892d4e9bec956efa05961c712de6c615155538a3989e835eb3ce209eaf7279 [INFO] running `Command { std: "docker" "start" "-a" "ce892d4e9bec956efa05961c712de6c615155538a3989e835eb3ce209eaf7279", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling async-trait v0.1.75 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking rsiot-messages-core v0.0.26 [INFO] [stderr] Checking rsiot-component-core v0.0.28 [INFO] [stderr] Checking rsiot-extra-components v0.0.28 [INFO] [stderr] Checking rsiot-components-config v0.0.28 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking rsiot-redis-publisher v0.0.28 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/fn_process.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / async fn task_main( [INFO] [stdout] 36 | | mut input: ComponentInput, [INFO] [stdout] 37 | | config: Config, [INFO] [stdout] 38 | | ) -> Result<(), Error> [INFO] [stdout] 39 | | where [INFO] [stdout] 40 | | TMessage: IMessage, [INFO] [stdout] 41 | | TMessageChannel: IMessageChannel, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/fn_process.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | connection.hset(&channel, msg.key(), &json).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 50 ~ connection.hset::<_, _, _, ()>(&channel, msg.key(), &json).await?; [INFO] [stdout] 51 ~ connection.publish::<_, _, ()>(&channel, &json).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/fn_process.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / async fn task_main( [INFO] [stdout] 36 | | mut input: ComponentInput, [INFO] [stdout] 37 | | config: Config, [INFO] [stdout] 38 | | ) -> Result<(), Error> [INFO] [stdout] 39 | | where [INFO] [stdout] 40 | | TMessage: IMessage, [INFO] [stdout] 41 | | TMessageChannel: IMessageChannel, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/fn_process.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | connection.hset(&channel, msg.key(), &json).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 50 ~ connection.hset::<_, _, _, ()>(&channel, msg.key(), &json).await?; [INFO] [stdout] 51 ~ connection.publish::<_, _, ()>(&channel, &json).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | RedisConnectionError(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 8 - RedisConnectionError(String), [INFO] [stdout] 8 + RedisConnectionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | Serialization(MessagesError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 10 - Serialization(MessagesError), [INFO] [stdout] 10 + Serialization(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | RedisConnectionError(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 8 - RedisConnectionError(String), [INFO] [stdout] 8 + RedisConnectionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | Serialization(MessagesError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 10 - Serialization(MessagesError), [INFO] [stdout] 10 + Serialization(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> examples/ex1.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing_subscriber::fmt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url` [INFO] [stdout] --> examples/ex1.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use url::Url; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `url` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rsiot_extra_components` [INFO] [stdout] --> examples/ex1.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rsiot_extra_components::{cmp_inject_periodic, cmp_logger}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rsiot_extra_components` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rsiot_extra_components`, use `cargo add rsiot_extra_components` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsiot-redis-publisher` (example "ex1") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ce892d4e9bec956efa05961c712de6c615155538a3989e835eb3ce209eaf7279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce892d4e9bec956efa05961c712de6c615155538a3989e835eb3ce209eaf7279", kill_on_drop: false }` [INFO] [stdout] ce892d4e9bec956efa05961c712de6c615155538a3989e835eb3ce209eaf7279