[INFO] cloning repository https://github.com/torizon/tzn-mqtt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/torizon/tzn-mqtt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorizon%2Ftzn-mqtt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorizon%2Ftzn-mqtt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 516ce5198a077fffcc2a19d946b3c21814841f01 [INFO] testing torizon/tzn-mqtt against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorizon%2Ftzn-mqtt" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/torizon/tzn-mqtt [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/torizon/tzn-mqtt [INFO] tweaked toml for git repo https://github.com/torizon/tzn-mqtt written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/torizon/tzn-mqtt on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/torizon/tzn-mqtt 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df938ab14bbf796667047adffa0b711a3b456dddedbd0dcf5238cf8e93b02fc7 [INFO] running `Command { std: "docker" "start" "-a" "df938ab14bbf796667047adffa0b711a3b456dddedbd0dcf5238cf8e93b02fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df938ab14bbf796667047adffa0b711a3b456dddedbd0dcf5238cf8e93b02fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df938ab14bbf796667047adffa0b711a3b456dddedbd0dcf5238cf8e93b02fc7", kill_on_drop: false }` [INFO] [stdout] df938ab14bbf796667047adffa0b711a3b456dddedbd0dcf5238cf8e93b02fc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5227a5e53c67031e82b8ad067b2ccf80edcbc466fe70ef0ba7d14a9ff5d66c9 [INFO] running `Command { std: "docker" "start" "-a" "e5227a5e53c67031e82b8ad067b2ccf80edcbc466fe70ef0ba7d14a9ff5d66c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rustls-native-certs v0.7.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling xdg-home v1.2.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling zvariant_utils v2.0.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling webpki-roots v0.26.3 [INFO] [stderr] Compiling rustls-webpki v0.102.5 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling asn1-rs-derive v0.5.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling zvariant_derive v4.1.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling zbus_macros v4.3.1 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling asn1-rs v0.6.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling rumqttc v0.24.0 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling zvariant v4.1.2 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling zbus v4.3.1 [INFO] [stderr] Compiling tzn-mqtt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.81s [INFO] running `Command { std: "docker" "inspect" "e5227a5e53c67031e82b8ad067b2ccf80edcbc466fe70ef0ba7d14a9ff5d66c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5227a5e53c67031e82b8ad067b2ccf80edcbc466fe70ef0ba7d14a9ff5d66c9", kill_on_drop: false }` [INFO] [stdout] e5227a5e53c67031e82b8ad067b2ccf80edcbc466fe70ef0ba7d14a9ff5d66c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1286b8c94efdd38c6b434b1fc4ba485a65096d869c01716a45688f67542e8c3a [INFO] running `Command { std: "docker" "start" "-a" "1286b8c94efdd38c6b434b1fc4ba485a65096d869c01716a45688f67542e8c3a", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling zbus v4.3.1 [INFO] [stderr] Compiling tzn-mqtt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.85s [INFO] running `Command { std: "docker" "inspect" "1286b8c94efdd38c6b434b1fc4ba485a65096d869c01716a45688f67542e8c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1286b8c94efdd38c6b434b1fc4ba485a65096d869c01716a45688f67542e8c3a", kill_on_drop: false }` [INFO] [stdout] 1286b8c94efdd38c6b434b1fc4ba485a65096d869c01716a45688f67542e8c3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 045ed1604ce34c52a40a7240cdfe581d428de8b3b1b7cce659b1cd21c2bb3578 [INFO] running `Command { std: "docker" "start" "-a" "045ed1604ce34c52a40a7240cdfe581d428de8b3b1b7cce659b1cd21c2bb3578", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tzn_mqtt-8ce3175b1c6eb893) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test utils::tests::tests::test_load_cert ... ok [INFO] [stdout] test utils::tests::tests::test_parse_payload ... ok [INFO] [stdout] test utils::tests::tests::test_parse_payload_missing_args ... ok [INFO] [stdout] test utils::tests::tests::test_parse_payload_missing_command ... ok [INFO] [stdout] test utils::tests::tests::test_load_private_key ... ok [INFO] [stdout] test utils::tests::tests::test_read_device_id ... ok [INFO] [stdout] test utils::tests::tests::test_drop_privileges_non_root ... FAILED [INFO] [stdout] test utils::tests::tests::test_drop_privileges_root_user_simulation ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- utils::tests::tests::test_drop_privileges_non_root stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::tests::tests::test_drop_privileges_non_root' (24) panicked at src/utils/tests.rs:69:13: [INFO] [stdout] This test should not be run as root [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5950340ab172 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5950340ab172 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5950340ab172 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5950340ab172 - ::fmt::h8be9aa933f14675f [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5950340bb46f - core::fmt::rt::Argument::fmt::h30ed739d33467c3a [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5950340bb46f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x595034078863 - std::io::default_write_fmt::hd6d24501f2d7f8d3 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x595034078863 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x595034084702 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59503408932f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5950340891c1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x595033f8222e - as core::ops::function::Fn>::call::ha834d5846f91b30b [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x595033f8222e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59503408993f - as core::ops::function::Fn>::call::hbf9b0f7a281291fd [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x59503408993f - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x595034089766 - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x595034084839 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59503406d02d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5950340c33a0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x595033f4deb6 - tzn_mqtt::utils::tests::tests::test_drop_privileges_non_root::hcf3aa2dda97b3b45 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/tests.rs:69:13 [INFO] [stdout] 20: 0x595033f4df87 - tzn_mqtt::utils::tests::tests::test_drop_privileges_non_root::{{closure}}::h83adcea62e6fa7d0 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/tests.rs:66:39 [INFO] [stdout] 21: 0x595033f55736 - core::ops::function::FnOnce::call_once::h81a48f2f8ab67029 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x595033f8202b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x595033f8202b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x595033f9608d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x595033f9608d - as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 26: 0x595033f9608d - std::panicking::catch_unwind::do_call::hc37c563b8a006285 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40 [INFO] [stdout] 27: 0x595033f9608d - std::panicking::catch_unwind::h616b6e2e7a27f612 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19 [INFO] [stdout] 28: 0x595033f9608d - std::panic::catch_unwind::h1e788dd57758e6d8 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x595033f9608d - test::run_test_in_process::hf073c2764f29f8ad [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x595033f9608d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x595033f6f5d4 - test::run_test::{{closure}}::h6a4da3c57ef4505f [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x595033f6f5d4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 33: 0x595033f72e2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 34: 0x595033f72e2a - as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 35: 0x595033f72e2a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40 [INFO] [stdout] 36: 0x595033f72e2a - std::panicking::catch_unwind::h8f9f675f3756eab1 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19 [INFO] [stdout] 37: 0x595033f72e2a - std::panic::catch_unwind::he8f74a93abeceb9b [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x595033f72e2a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 39: 0x595033f72e2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x59503407fc3f - as core::ops::function::FnOnce>::call_once::h6ff05134d80ef20e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 41: 0x59503407fc3f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 42: 0x7a734b1d2aa4 - [INFO] [stdout] 43: 0x7a734b25fa64 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- utils::tests::tests::test_drop_privileges_root_user_simulation stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::tests::tests::test_drop_privileges_root_user_simulation' (25) panicked at src/utils/tests.rs:88:21: [INFO] [stdout] Expected an error, got Ok(()) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5950340ab172 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5950340ab172 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5950340ab172 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5950340ab172 - ::fmt::h8be9aa933f14675f [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5950340bb46f - core::fmt::rt::Argument::fmt::h30ed739d33467c3a [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5950340bb46f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x595034078863 - std::io::default_write_fmt::hd6d24501f2d7f8d3 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x595034078863 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x595034084702 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59503408932f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5950340891c1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x595033f8222e - as core::ops::function::Fn>::call::ha834d5846f91b30b [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x595033f8222e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59503408993f - as core::ops::function::Fn>::call::hbf9b0f7a281291fd [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x59503408993f - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x59503408979a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x595034084839 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59503406d02d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5950340c33a0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x595033f4e38e - tzn_mqtt::utils::tests::tests::test_drop_privileges_root_user_simulation::hfd59363e5b0d582c [INFO] [stdout] at /opt/rustwide/workdir/src/utils/tests.rs:88:21 [INFO] [stdout] 20: 0x595033f4e3c7 - tzn_mqtt::utils::tests::tests::test_drop_privileges_root_user_simulation::{{closure}}::h6a8bd02c7ce39bef [INFO] [stdout] at /opt/rustwide/workdir/src/utils/tests.rs:77:51 [INFO] [stdout] 21: 0x595033f556f6 - core::ops::function::FnOnce::call_once::h80953b0df767be1d [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x595033f8202b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x595033f8202b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x595033f9608d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x595033f9608d - as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 26: 0x595033f9608d - std::panicking::catch_unwind::do_call::hc37c563b8a006285 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40 [INFO] [stdout] 27: 0x595033f9608d - std::panicking::catch_unwind::h616b6e2e7a27f612 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19 [INFO] [stdout] 28: 0x595033f9608d - std::panic::catch_unwind::h1e788dd57758e6d8 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x595033f9608d - test::run_test_in_process::hf073c2764f29f8ad [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x595033f9608d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x595033f6f5d4 - test::run_test::{{closure}}::h6a4da3c57ef4505f [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x595033f6f5d4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 33: 0x595033f72e2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 34: 0x595033f72e2a - as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 35: 0x595033f72e2a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40 [INFO] [stdout] 36: 0x595033f72e2a - std::panicking::catch_unwind::h8f9f675f3756eab1 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19 [INFO] [stdout] 37: 0x595033f72e2a - std::panic::catch_unwind::he8f74a93abeceb9b [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x595033f72e2a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 39: 0x595033f72e2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x59503407fc3f - as core::ops::function::FnOnce>::call_once::h6ff05134d80ef20e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 41: 0x59503407fc3f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 42: 0x7a734b1d2aa4 - [INFO] [stdout] 43: 0x7a734b25fa64 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] utils::tests::tests::test_drop_privileges_non_root [INFO] [stdout] utils::tests::tests::test_drop_privileges_root_user_simulation [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin tzn-mqtt` [INFO] running `Command { std: "docker" "inspect" "045ed1604ce34c52a40a7240cdfe581d428de8b3b1b7cce659b1cd21c2bb3578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "045ed1604ce34c52a40a7240cdfe581d428de8b3b1b7cce659b1cd21c2bb3578", kill_on_drop: false }` [INFO] [stdout] 045ed1604ce34c52a40a7240cdfe581d428de8b3b1b7cce659b1cd21c2bb3578