[INFO] fetching crate mqttrust_core 0.6.0... [INFO] testing mqttrust_core-0.6.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mqttrust_core 0.6.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate mqttrust_core 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mqttrust_core 0.6.0 [INFO] tweaked toml for crates.io crate mqttrust_core 0.6.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mqttrust_core 0.6.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mqttrust_core 0.6.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f563962ad18261acb42631a17d43fbc9ded3963f66e2f0a5dfdb646c086cd7d [INFO] running `Command { std: "docker" "start" "-a" "2f563962ad18261acb42631a17d43fbc9ded3963f66e2f0a5dfdb646c086cd7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f563962ad18261acb42631a17d43fbc9ded3963f66e2f0a5dfdb646c086cd7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f563962ad18261acb42631a17d43fbc9ded3963f66e2f0a5dfdb646c086cd7d", kill_on_drop: false }` [INFO] [stdout] 2f563962ad18261acb42631a17d43fbc9ded3963f66e2f0a5dfdb646c086cd7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df46a8a0a16ab658e3025277c9256ef66adb11479e6a2cee804ee19337cc98f5 [INFO] running `Command { std: "docker" "start" "-a" "df46a8a0a16ab658e3025277c9256ef66adb11479e6a2cee804ee19337cc98f5", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling no-std-net v0.5.0 [INFO] [stderr] Compiling bbqueue v0.5.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling gcd v2.1.0 [INFO] [stderr] Compiling fugit v0.3.6 [INFO] [stderr] Compiling fugit-timer v0.1.3 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Compiling embedded-nal v0.6.0 [INFO] [stderr] Compiling mqttrust v0.6.0 [INFO] [stderr] Compiling mqttrust_core v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/fmt.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Try` is never used [INFO] [stdout] --> src/fmt.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub trait Try { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/options.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn broker(&self) -> (Broker, u16) { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn broker(&self) -> (Broker<'_>, u16) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/state.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 84 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.77s [INFO] running `Command { std: "docker" "inspect" "df46a8a0a16ab658e3025277c9256ef66adb11479e6a2cee804ee19337cc98f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df46a8a0a16ab658e3025277c9256ef66adb11479e6a2cee804ee19337cc98f5", kill_on_drop: false }` [INFO] [stdout] df46a8a0a16ab658e3025277c9256ef66adb11479e6a2cee804ee19337cc98f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bed8c972b17b281fb615d0eaa77465b9a7080a1c0141d0b809dfbd9e263ef75e [INFO] running `Command { std: "docker" "start" "-a" "bed8c972b17b281fb615d0eaa77465b9a7080a1c0141d0b809dfbd9e263ef75e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/fmt.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.8 [INFO] [stdout] warning: trait `Try` is never used [INFO] [stdout] --> src/fmt.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub trait Try { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/options.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn broker(&self) -> (Broker, u16) { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn broker(&self) -> (Broker<'_>, u16) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/state.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 84 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling dns-lookup v1.0.8 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling env_logger v0.9.1 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling mqttrust_core v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/fmt.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Try` is never used [INFO] [stdout] --> src/fmt.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub trait Try { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/eventloop.rs:670:37 [INFO] [stdout] | [INFO] [stdout] 670 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 670 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/eventloop.rs:719:37 [INFO] [stdout] | [INFO] [stdout] 719 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 719 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/eventloop.rs:769:32 [INFO] [stdout] | [INFO] [stdout] 769 | let (_p, c) = unsafe { Q.try_split_framed().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/options.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn broker(&self) -> (Broker, u16) { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn broker(&self) -> (Broker<'_>, u16) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/state.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 84 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/state.rs:517:37 [INFO] [stdout] | [INFO] [stdout] 517 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 517 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.51s [INFO] running `Command { std: "docker" "inspect" "bed8c972b17b281fb615d0eaa77465b9a7080a1c0141d0b809dfbd9e263ef75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bed8c972b17b281fb615d0eaa77465b9a7080a1c0141d0b809dfbd9e263ef75e", kill_on_drop: false }` [INFO] [stdout] bed8c972b17b281fb615d0eaa77465b9a7080a1c0141d0b809dfbd9e263ef75e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 391e16d8a6c138bcda851bde9287e88aa926cd41a3e9881efdc2ad6c83ec6d14 [INFO] running `Command { std: "docker" "start" "-a" "391e16d8a6c138bcda851bde9287e88aa926cd41a3e9881efdc2ad6c83ec6d14", kill_on_drop: false }` [INFO] [stderr] warning: struct `NoneError` is never constructed [INFO] [stderr] --> src/fmt.rs:221:12 [INFO] [stderr] | [INFO] [stderr] 221 | pub struct NoneError; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Try` is never used [INFO] [stderr] --> src/fmt.rs:223:11 [INFO] [stderr] | [INFO] [stderr] 223 | pub trait Try { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/options.rs:76:19 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn broker(&self) -> (Broker, u16) { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn broker(&self) -> (Broker<'_>, u16) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/state.rs:84:41 [INFO] [stderr] | [INFO] [stderr] 84 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 84 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `mqttrust_core` (lib) generated 4 warnings (run `cargo fix --lib -p mqttrust_core` to apply 1 suggestion) [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/eventloop.rs:670:37 [INFO] [stderr] | [INFO] [stderr] 670 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 670 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/eventloop.rs:719:37 [INFO] [stderr] | [INFO] [stderr] 719 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 719 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/eventloop.rs:769:32 [INFO] [stderr] | [INFO] [stderr] 769 | let (_p, c) = unsafe { Q.try_split_framed().unwrap() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/state.rs:84:41 [INFO] [stderr] | [INFO] [stderr] 84 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 84 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/state.rs:517:37 [INFO] [stderr] | [INFO] [stderr] 517 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 517 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `mqttrust_core` (lib test) generated 8 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mqttrust_core-2fefddef24cecc6a) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test eventloop::tests::retry_behaviour ... ok [INFO] [stdout] test eventloop::tests::success_receive_multiple_packets ... ok [INFO] [stdout] test options::test::clean_session ... ok [INFO] [stdout] test options::test::broker ... ok [INFO] [stdout] test options::test::credentials ... ok [INFO] [stdout] test options::test::keep_alive_ms ... ok [INFO] [stdout] test options::test::last_will ... ok [INFO] [stdout] test eventloop::tests::failure_receive_multiple_packets ... ok [INFO] [stdout] test state::test::incoming_qos2_publish_should_send_rec_to_network_and_publish_to_user ... ok [INFO] [stdout] test packet::tests::set_publish_pid ... ok [INFO] [stdout] test packet::tests::set_subscribe_pid ... ok [INFO] [stdout] test state::test::handle_outgoing_requests ... ok [INFO] [stdout] test state::test::incoming_puback_should_remove_correct_publish_from_queue ... ok [INFO] [stdout] test state::test::incoming_pubcomp_should_release_correct_pid_from_release_queue ... ok [INFO] [stdout] test state::test::incoming_pubrec_should_release_correct_publish_from_queue_and_add_releaseid_to_rel_queue ... ok [INFO] [stdout] test state::test::incoming_pubrec_should_send_release_to_network_and_nothing_to_user ... ok [INFO] [stdout] test state::test::incoming_pubrel_should_send_comp_to_network_and_nothing_to_user ... ok [INFO] [stdout] test state::test::outgoing_ping_handle_should_succeed_if_pingresp_is_received ... ok [INFO] [stdout] test state::test::outgoing_ping_handle_should_throw_errors_for_no_pingresp ... ok [INFO] [stdout] test state::test::outgoing_publish_handle_should_set_pid_correctly_and_add_publish_to_queue_correctly ... ok [INFO] [stdout] test options::test::client_id ... ok [INFO] [stdout] test state::test::incoming_publish_should_be_added_to_queue_correctly ... ok [INFO] [stdout] test options::test::client_id_starts_with_space - should panic ... ok [INFO] [stderr] Doc-tests mqttrust_core [INFO] [stdout] test options::test::keep_alive_panic - should panic ... ok [INFO] [stdout] test options::test::no_client_id - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [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" "391e16d8a6c138bcda851bde9287e88aa926cd41a3e9881efdc2ad6c83ec6d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "391e16d8a6c138bcda851bde9287e88aa926cd41a3e9881efdc2ad6c83ec6d14", kill_on_drop: false }` [INFO] [stdout] 391e16d8a6c138bcda851bde9287e88aa926cd41a3e9881efdc2ad6c83ec6d14