[INFO] cloning repository https://github.com/DoorCam/DoorCam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DoorCam/DoorCam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoorCam%2FDoorCam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoorCam%2FDoorCam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f385fdf4a3eda6aad70895774fa001b9953a1f6 [INFO] testing DoorCam/DoorCam against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoorCam%2FDoorCam" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DoorCam/DoorCam on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/rust-toolchain [INFO] started tweaking git repo https://github.com/DoorCam/DoorCam [INFO] finished tweaking git repo https://github.com/DoorCam/DoorCam [INFO] tweaked toml for git repo https://github.com/DoorCam/DoorCam written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/DoorCam/DoorCam already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket_contrib v0.4.10 [INFO] [stderr] Downloaded random-pick v1.2.14 [INFO] [stderr] Downloaded serde_with_macros v1.4.1 [INFO] [stderr] Downloaded arc-swap v0.4.8 [INFO] [stderr] Downloaded bool_ext v0.5.1 [INFO] [stderr] Downloaded rocket_http v0.4.10 [INFO] [stderr] Downloaded block-modes v0.7.0 [INFO] [stderr] Downloaded rust_decimal v1.15.0 [INFO] [stderr] Downloaded rsevents v0.2.1 [INFO] [stderr] Downloaded rocket_codegen v0.4.10 [INFO] [stderr] Downloaded passwords v3.1.7 [INFO] [stderr] Downloaded r2d2_sqlite v0.6.0 [INFO] [stderr] Downloaded rocket v0.4.10 [INFO] [stderr] Downloaded duration-str v0.3.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.9.3 [INFO] [stderr] Downloaded serde_yaml v0.8.17 [INFO] [stderr] Downloaded log4rs v1.0.0 [INFO] [stderr] Downloaded rusqlite v0.14.0 [INFO] [stderr] Downloaded rocket_contrib_codegen v0.4.10 [INFO] [stderr] Downloaded serde_with v1.8.1 [INFO] [stderr] Downloaded random-number-macro-impl v0.1.5 [INFO] [stderr] Downloaded random-number v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3076ea73cf69749f7a75928f0eb16400782adca485cf9b66f04ac7bf710f0129 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3076ea73cf69749f7a75928f0eb16400782adca485cf9b66f04ac7bf710f0129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3076ea73cf69749f7a75928f0eb16400782adca485cf9b66f04ac7bf710f0129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3076ea73cf69749f7a75928f0eb16400782adca485cf9b66f04ac7bf710f0129", kill_on_drop: false }` [INFO] [stdout] 3076ea73cf69749f7a75928f0eb16400782adca485cf9b66f04ac7bf710f0129 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e1e7c64762f2af6acc6fc34587c453549a3d15615580c8bef3340ed57cfc442 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9e1e7c64762f2af6acc6fc34587c453549a3d15615580c8bef3340ed57cfc442", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling object v0.24.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling pollster v0.2.4 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bool_ext v0.5.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling mqttbytes v0.2.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.18 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling addr2line v0.15.1 [INFO] [stderr] Compiling rsevents v0.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling ordered-float v2.5.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rust_decimal v1.15.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling block-modes v0.7.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling random-number-macro-impl v0.1.5 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling derive-try-from-primitive v1.0.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling random-number v0.1.6 [INFO] [stderr] Compiling random-pick v1.2.14 [INFO] [stderr] Compiling passwords v3.1.7 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_with v1.8.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rusqlite v0.14.0 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling tera v0.11.20 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling duration-str v0.3.2 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling r2d2_sqlite v0.6.0 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling rumqttc v0.5.0 [INFO] [stderr] Compiling rocket_contrib v0.4.10 [INFO] [stderr] Compiling doorcam v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 54s [INFO] running `Command { std: "docker" "inspect" "9e1e7c64762f2af6acc6fc34587c453549a3d15615580c8bef3340ed57cfc442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e1e7c64762f2af6acc6fc34587c453549a3d15615580c8bef3340ed57cfc442", kill_on_drop: false }` [INFO] [stdout] 9e1e7c64762f2af6acc6fc34587c453549a3d15615580c8bef3340ed57cfc442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 956c176084db3fb531e0672f63822e655de2b49893e66a8b2e9ca7912d308527 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "956c176084db3fb531e0672f63822e655de2b49893e66a8b2e9ca7912d308527", kill_on_drop: false }` [INFO] [stderr] Compiling doorcam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/config.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.93s [INFO] running `Command { std: "docker" "inspect" "956c176084db3fb531e0672f63822e655de2b49893e66a8b2e9ca7912d308527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956c176084db3fb531e0672f63822e655de2b49893e66a8b2e9ca7912d308527", kill_on_drop: false }` [INFO] [stdout] 956c176084db3fb531e0672f63822e655de2b49893e66a8b2e9ca7912d308527 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5d62060a5e572db96ccd46db6ba38b4dbc4a7df5be8e228e7cbff9df9fe47450 [INFO] running `Command { std: "docker" "start" "-a" "5d62060a5e572db96ccd46db6ba38b4dbc4a7df5be8e228e7cbff9df9fe47450", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/utils/config.rs:196:12 [INFO] [stderr] | [INFO] [stderr] 196 | pub fn new() -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `doorcam` (bin "doorcam" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/doorcam-2dec1cd9e608cdce) [INFO] [stdout] [INFO] [stdout] running 56 tests [INFO] [stdout] test db_entry::user_type::user_type_test::admin_is_not_user ... ok [INFO] [stdout] test db_entry::user_type::user_type_test::user_to_num ... ok [INFO] [stdout] test iot::door_control::door_control_test::start_closed ... ok [INFO] [stdout] test db_entry::user_type::user_type_test::user_is_user ... ok [INFO] [stdout] test db_entry::user_type::user_type_test::user_is_not_admin ... ok [INFO] [stdout] test iot::door_control::door_control_test::open ... ok [INFO] [stdout] test db_entry::user_type::user_type_test::from_3 ... ok [INFO] [stdout] test db_entry::user_type::user_type_test::from_1 ... ok [INFO] [stdout] test db_entry::user_type::user_type_test::admin_to_num ... ok [INFO] [stdout] test db_entry::user_type::user_type_test::from_2 ... ok [INFO] [stdout] test db_entry::user_type::user_type_test::admin_is_admin ... ok [INFO] [stdout] test db_entry::user_session::user_session_test::scenario_1_with_all_methods ... ok [INFO] [stdout] test db_entry::flat::flat_test::scenario_1_with_all_methods ... ok [INFO] [stdout] test template_contexts::flat_contexts::flat_contexts_test::user_overview_with_error ... ok [INFO] [stdout] test template_contexts::flat_contexts::flat_contexts_test::user_change_with_error ... ok [INFO] [stdout] test db_entry::user::user_test::scenario_1_with_all_methods ... ok [INFO] [stdout] test template_contexts::flat_contexts::flat_contexts_test::user_create ... ok [INFO] [stdout] test template_contexts::flat_contexts::flat_contexts_test::user_create_with_error ... ok [INFO] [stdout] test template_contexts::template_test::admin_view_without_message ... ok [INFO] [stdout] test template_contexts::template_test::admin_view_with_message ... ok [INFO] [stdout] test template_contexts::flat_contexts::flat_contexts_test::user_overview_with_empty_view ... ok [INFO] [stdout] test template_contexts::flat_contexts::flat_contexts_test::user_change ... ok [INFO] [stdout] test template_contexts::flat_contexts::flat_contexts_test::user_details_with_error ... ok [INFO] [stdout] test template_contexts::template_test::catcher_of_404 ... ok [INFO] [stdout] test template_contexts::template_test::login_with_message ... ok [INFO] [stdout] test template_contexts::flat_contexts::flat_contexts_test::user_overview_with_view ... ok [INFO] [stdout] test template_contexts::template_test::login_without_message ... ok [INFO] [stdout] test utils::crypto::crypto_test::symetric_encrypt_decrypt_with_random ... ok [INFO] [stdout] test utils::crypto::crypto_test::symetric_encrypt_decrypt_with_zeros ... ok [INFO] [stdout] test utils::crypto::crypto_test::symetric_encrypt_mutated_ciphertext_decrypt ... ok [INFO] [stdout] test template_contexts::flat_contexts::flat_contexts_test::user_overview_with_view_and_error ... ok [INFO] [stdout] test utils::crypto::crypto_test::symetric_encrypt_mutated_iv_decrypt ... ok [INFO] [stdout] test template_contexts::template_test::main_view_with_message ... ok [INFO] [stdout] test template_contexts::template_test::main_view_without_message ... ok [INFO] [stdout] test utils::guards::guards_test::admin_is_admin ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_change_by_admin_with_error ... ok [INFO] [stdout] test utils::guards::guards_test::admin_is_not_user ... ok [INFO] [stdout] test utils::crypto::crypto_test::symetric_encrypt_mutated_key_decrypt ... ok [INFO] [stdout] test utils::guards::guards_test::admin_on_admin_guard ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_overview_with_empty_view ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_create_with_error ... ok [INFO] [stdout] test utils::guards::guards_test::unknown_session ... ok [INFO] [stdout] test utils::guards::guards_test::user_is_user ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_change_by_admin ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_change_by_user ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_change_by_user_with_error ... ok [INFO] [stdout] test utils::guards::guards_test::user_on_only_user_guard ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_overview_with_error ... ok [INFO] [stdout] test utils::guards::guards_test::user_is_not_admin ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_details_with_error ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_overview_with_view_and_error ... ok [INFO] [stdout] test utils::guards::guards_test::admin_on_only_user_guard ... ok [INFO] [stdout] test utils::guards::guards_test::user_on_admin_guard ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_create ... ok [INFO] [stdout] test template_contexts::user_contexts::user_contexts_test::user_overview_with_view ... ok [INFO] [stdout] test iot::door_control::door_control_test::auto_stop_opening ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- iot::door_control::door_control_test::auto_stop_opening stdout ---- [INFO] [stdout] thread 'iot::door_control::door_control_test::auto_stop_opening' panicked at 'assertion failed: `Ok(true)` does not match `Ok(false)`', src/iot/./door_control_test.rs:21:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f7674ac6fc - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55f7674ac6fc - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f7674ac6fc - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55f7674ac6fc - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55f7674d237c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55f7674a6945 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55f7674ae1f0 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55f7674ae1f0 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55f7674ae1f0 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55f7674addd6 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55f7674ae8a4 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55f7674ae380 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55f7674acbb4 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55f7674ae2e9 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55f766c94ef1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x55f766cb11d9 - doorcam::iot::door_control::door_control_test::auto_stop_opening::h43a9599ab35358f4 [INFO] [stdout] at /opt/rustwide/workdir/src/iot/./door_control_test.rs:21:5 [INFO] [stdout] 16: 0x55f766cb0daa - doorcam::iot::door_control::door_control_test::auto_stop_opening::{{closure}}::h2b23d568f2a7cb20 [INFO] [stdout] at /opt/rustwide/workdir/src/iot/./door_control_test.rs:17:1 [INFO] [stdout] 17: 0x55f766cf45ee - core::ops::function::FnOnce::call_once::h3fcbfe26ee1c77e8 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x55f766d46603 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x55f766d46603 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:585:5 [INFO] [stdout] 20: 0x55f766d45217 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 21: 0x55f766d45217 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 22: 0x55f766d45217 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 23: 0x55f766d45217 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 24: 0x55f766d45217 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 25: 0x55f766d45217 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:608:18 [INFO] [stdout] 26: 0x55f766d45217 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:500:39 [INFO] [stdout] 27: 0x55f766d124be - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:527:37 [INFO] [stdout] 28: 0x55f766d124be - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 29: 0x55f766d17218 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 30: 0x55f766d17218 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 31: 0x55f766d17218 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 32: 0x55f766d17218 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 33: 0x55f766d17218 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 34: 0x55f766d17218 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 35: 0x55f766d17218 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 36: 0x55f7674b3b43 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 37: 0x55f7674b3b43 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 38: 0x55f7674b3b43 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 39: 0x7fdc4b1f0609 - start_thread [INFO] [stdout] 40: 0x7fdc4afc0293 - clone [INFO] [stdout] 41: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] iot::door_control::door_control_test::auto_stop_opening [INFO] [stdout] [INFO] [stdout] test result: FAILED. 55 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin doorcam' [INFO] running `Command { std: "docker" "inspect" "5d62060a5e572db96ccd46db6ba38b4dbc4a7df5be8e228e7cbff9df9fe47450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d62060a5e572db96ccd46db6ba38b4dbc4a7df5be8e228e7cbff9df9fe47450", kill_on_drop: false }` [INFO] [stdout] 5d62060a5e572db96ccd46db6ba38b4dbc4a7df5be8e228e7cbff9df9fe47450