[INFO] cloning repository https://github.com/lzpoupl/embedded_access_control_system
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lzpoupl/embedded_access_control_system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzpoupl%2Fembedded_access_control_system", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzpoupl%2Fembedded_access_control_system'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5cc27f5ecde05905a0f75008e8b2782bfd664f58
[INFO] testing lzpoupl/embedded_access_control_system against 1.97.0-beta.1 for beta-1.97-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzpoupl%2Fembedded_access_control_system" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/lzpoupl/embedded_access_control_system
[INFO] finished tweaking git repo https://github.com/lzpoupl/embedded_access_control_system
[INFO] tweaked toml for git repo https://github.com/lzpoupl/embedded_access_control_system written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lzpoupl/embedded_access_control_system on toolchain 1.97.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lzpoupl/embedded_access_control_system 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" "+1.97.0-beta.1" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 19b6ddace01bb771140c0a753837fb42f676c9a9d2758e0406fb40618023f69e
[INFO] running `Command { std: "docker" "start" "-a" "19b6ddace01bb771140c0a753837fb42f676c9a9d2758e0406fb40618023f69e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "19b6ddace01bb771140c0a753837fb42f676c9a9d2758e0406fb40618023f69e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19b6ddace01bb771140c0a753837fb42f676c9a9d2758e0406fb40618023f69e", kill_on_drop: false }`
[INFO] [stdout] 19b6ddace01bb771140c0a753837fb42f676c9a9d2758e0406fb40618023f69e
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1cb1ff17889ac81da9fb090bcadeb11913f613da25489f93c07091e363b2e4b6
[INFO] running `Command { std: "docker" "start" "-a" "1cb1ff17889ac81da9fb090bcadeb11913f613da25489f93c07091e363b2e4b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling libsqlite3-sys v0.37.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-range-header v0.4.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling hashlink v0.11.0
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling rusqlite v0.39.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling axum v0.8.9
[INFO] [stderr]    Compiling access_control_system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `close`
[INFO] [stdout]  --> src/motor.rs:1:61
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc::{self, MAP_SHARED, PROT_READ, PROT_WRITE, c_void, close, mmap, munmap};
[INFO] [stdout]   |                                                             ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bind_new_nfc` is never used
[INFO] [stdout]   --> src/db.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn bind_new_nfc(db_conn: &Connection, user_id: i32, new_nfc_uid: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_users` is never used
[INFO] [stdout]    --> src/db.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn register_users(db_conn: &mut Connection, user_infos: Vec<UserTableInfo>) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unlock_nfc` is never used
[INFO] [stdout]    --> src/db.rs:120:8
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn unlock_nfc(db_conn: &Connection, nfc_uid: &str) -> Result<bool> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unlock_temp_code` is never used
[INFO] [stdout]    --> src/db.rs:141:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub fn unlock_temp_code(db_conn: &Connection, temp_code: &str) -> Result<bool> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_random_name` is never used
[INFO] [stdout]    --> src/db.rs:364:8
[INFO] [stdout]     |
[INFO] [stdout] 364 |     fn gen_random_name() -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_hex_id` is never used
[INFO] [stdout]    --> src/db.rs:378:8
[INFO] [stdout]     |
[INFO] [stdout] 378 |     fn random_hex_id() -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_phone` is never used
[INFO] [stdout]    --> src/db.rs:384:8
[INFO] [stdout]     |
[INFO] [stdout] 384 |     fn random_phone() -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_random_user_info` is never used
[INFO] [stdout]    --> src/db.rs:391:8
[INFO] [stdout]     |
[INFO] [stdout] 391 |     fn gen_random_user_info() -> UserTableInfo {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mem_fd` is never read
[INFO] [stdout]   --> src/motor.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Motor {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 10 |     cpld: *mut u8,
[INFO] [stdout] 11 |     mem_fd: File,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.04s
[INFO] running `Command { std: "docker" "inspect" "1cb1ff17889ac81da9fb090bcadeb11913f613da25489f93c07091e363b2e4b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cb1ff17889ac81da9fb090bcadeb11913f613da25489f93c07091e363b2e4b6", kill_on_drop: false }`
[INFO] [stdout] 1cb1ff17889ac81da9fb090bcadeb11913f613da25489f93c07091e363b2e4b6
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f2753846a58e2853e3949e8f94a444a8ec36c28fbeb57854f6ad3d37b34f07b
[INFO] running `Command { std: "docker" "start" "-a" "4f2753846a58e2853e3949e8f94a444a8ec36c28fbeb57854f6ad3d37b34f07b", kill_on_drop: false }`
[INFO] [stderr]    Compiling access_control_system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `close`
[INFO] [stdout]  --> src/motor.rs:1:61
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc::{self, MAP_SHARED, PROT_READ, PROT_WRITE, c_void, close, mmap, munmap};
[INFO] [stdout]   |                                                             ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bind_new_nfc` is never used
[INFO] [stdout]   --> src/db.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn bind_new_nfc(db_conn: &Connection, user_id: i32, new_nfc_uid: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mem_fd` is never read
[INFO] [stdout]   --> src/motor.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Motor {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 10 |     cpld: *mut u8,
[INFO] [stdout] 11 |     mem_fd: File,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.02s
[INFO] running `Command { std: "docker" "inspect" "4f2753846a58e2853e3949e8f94a444a8ec36c28fbeb57854f6ad3d37b34f07b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f2753846a58e2853e3949e8f94a444a8ec36c28fbeb57854f6ad3d37b34f07b", kill_on_drop: false }`
[INFO] [stdout] 4f2753846a58e2853e3949e8f94a444a8ec36c28fbeb57854f6ad3d37b34f07b
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bcdabdcce4ef354f58fd5b7cf14ffb10b9f9ad607fb05e74b50cb2f7615804d7
[INFO] running `Command { std: "docker" "start" "-a" "bcdabdcce4ef354f58fd5b7cf14ffb10b9f9ad607fb05e74b50cb2f7615804d7", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `close`
[INFO] [stderr]  --> src/motor.rs:1:61
[INFO] [stderr]   |
[INFO] [stderr] 1 | use libc::{self, MAP_SHARED, PROT_READ, PROT_WRITE, c_void, close, mmap, munmap};
[INFO] [stderr]   |                                                             ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `bind_new_nfc` is never used
[INFO] [stderr]   --> src/db.rs:79:8
[INFO] [stderr]    |
[INFO] [stderr] 79 | pub fn bind_new_nfc(db_conn: &Connection, user_id: i32, new_nfc_uid: &str) -> Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `mem_fd` is never read
[INFO] [stderr]   --> src/motor.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub struct Motor {
[INFO] [stderr]    |            ----- field in this struct
[INFO] [stderr] 10 |     cpld: *mut u8,
[INFO] [stderr] 11 |     mem_fd: File,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `access_control_system` (bin "access_control_system" test) generated 3 warnings (run `cargo fix --bin "access_control_system" -p access_control_system --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/access_control_system-88721e40a177154d)
[INFO] [stdout] running 1 test
[INFO] [stdout] test db::tests::test_db ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- db::tests::test_db stdout ----
[INFO] [stdout] Error: SqliteFailure(Error { code: CannotOpen, extended_code: 14 }, Some("unable to open database file: ./access_control.db"))
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     db::tests::test_db
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin access_control_system`
[INFO] running `Command { std: "docker" "inspect" "bcdabdcce4ef354f58fd5b7cf14ffb10b9f9ad607fb05e74b50cb2f7615804d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcdabdcce4ef354f58fd5b7cf14ffb10b9f9ad607fb05e74b50cb2f7615804d7", kill_on_drop: false }`
[INFO] [stdout] bcdabdcce4ef354f58fd5b7cf14ffb10b9f9ad607fb05e74b50cb2f7615804d7
