[INFO] fetching crate opus-db 0.1.0...
[INFO] testing opus-db-0.1.0 against beta-2025-09-21 for beta-1.91-3
[INFO] extracting crate opus-db 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate opus-db 0.1.0
[INFO] finished tweaking crates.io crate opus-db 0.1.0
[INFO] tweaked toml for crates.io crate opus-db 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate opus-db 0.1.0 on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 1 package to latest compatible version
[INFO] [stderr]       Adding bitflags v1.3.2 (available: v2.9.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a95ca48e339033e7ccfdb3071f4fcf2d13fa434e2b03dba8a776311ecff65c64
[INFO] running `Command { std: "docker" "start" "-a" "a95ca48e339033e7ccfdb3071f4fcf2d13fa434e2b03dba8a776311ecff65c64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a95ca48e339033e7ccfdb3071f4fcf2d13fa434e2b03dba8a776311ecff65c64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a95ca48e339033e7ccfdb3071f4fcf2d13fa434e2b03dba8a776311ecff65c64", kill_on_drop: false }`
[INFO] [stdout] a95ca48e339033e7ccfdb3071f4fcf2d13fa434e2b03dba8a776311ecff65c64
[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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d86ecc34b306c40bd7ddfbeb2653441ed2f3fcbbdee63eb2821c907282ea8904
[INFO] running `Command { std: "docker" "start" "-a" "d86ecc34b306c40bd7ddfbeb2653441ed2f3fcbbdee63eb2821c907282ea8904", kill_on_drop: false }`
[INFO] [stderr]    Compiling opus-db v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/lib.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::result`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::result;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `database` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait database {
[INFO] [stdout]    |           ^^^^^^^^ help: convert the identifier to upper camel case: `Database`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AttributeHandler`, `Database`, `UserHandler`, and `env`
[INFO] [stdout]   --> src/lib.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |     use super::{env, AttributeHandler, Database, UserHandler};
[INFO] [stdout]    |                 ^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/lib.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 96 | mod tests {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> src/attributes.rs:37:53
[INFO] [stdout]    |
[INFO] [stdout] 37 |             fs::File::create(&base_dir.join("log")).unwrap_or(panic!("Could not open file"));
[INFO] [stdout]    |                                                     ^^^^^^^^^ ----------------------------- any code following this expression is unreachable
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     unreachable call
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_log`
[INFO] [stdout]   --> src/attributes.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let file_log =
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_log`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]   --> src/attributes.rs:30:52
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new<P: AsRef<Path>>(id: Id, parent_path: P, parent: Option<Id>) -> Self {
[INFO] [stdout]    |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/attributes.rs:51:31
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn add_participant(&self, id: Id, permissions: PermissionSet) -> AttributeResult {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `permissions`
[INFO] [stdout]   --> src/attributes.rs:51:39
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn add_participant(&self, id: Id, permissions: PermissionSet) -> AttributeResult {
[INFO] [stdout]    |                                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `attribute_handler` and `user_handler` are never read
[INFO] [stdout]   --> src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Database {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 22 |     base_dir: PathBuf,
[INFO] [stdout] 23 |     attribute_handler: AttributeHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     user_handler: UserHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Database {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 28 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl UserHandler {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 61 |     fn new<P: AsRef<Path>>(parent_path: P) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache` is never read
[INFO] [stdout]   --> src/lib.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct AttributeHandler {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] 75 |     base_dir: PathBuf,
[INFO] [stdout] 76 |     cache: HashMap<Id, Attribute>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl AttributeHandler {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 80 |     fn new<P: AsRef<Path>>(parent_path: P) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `current_state`, `parent`, `base_dir`, `participants`, `children`, and `log_buffer` are never read
[INFO] [stdout]   --> src/attributes.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Attribute {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 19 |     current_state: String, // XXX: what should this type be?
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 20 |     parent: Option<Id>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     base_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 22 |     participants: HashMap<Id, PermissionSet>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 23 |     children: HashSet<Id>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 24 |     log_buffer: io::BufWriter<fs::File>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_participant`, and `remove_participant` are never used
[INFO] [stdout]   --> src/attributes.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Attribute {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn new<P: AsRef<Path>>(id: Id, parent_path: P, parent: Option<Id>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn add_participant(&self, id: Id, permissions: PermissionSet) -> AttributeResult {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn remove_participant(&mut self, participant_id: Id) -> Option<Id> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AttributeResult` is never used
[INFO] [stdout]   --> src/attributes.rs:63:6
[INFO] [stdout]    |
[INFO] [stdout] 63 | type AttributeResult = result::Result<Attribute, io::Error>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Err(err) => panic!(err),
[INFO] [stdout]    |                                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Err(err) => panic!("{}", err),
[INFO] [stdout]    |                                +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 32 -             Err(err) => panic!(err),
[INFO] [stdout] 32 +             Err(err) => std::panic::panic_any(err),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "d86ecc34b306c40bd7ddfbeb2653441ed2f3fcbbdee63eb2821c907282ea8904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d86ecc34b306c40bd7ddfbeb2653441ed2f3fcbbdee63eb2821c907282ea8904", kill_on_drop: false }`
[INFO] [stdout] d86ecc34b306c40bd7ddfbeb2653441ed2f3fcbbdee63eb2821c907282ea8904
[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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0336433d4d3d4140093f938489a4788c33a573911715bacf294fe7197c2c38d0
[INFO] running `Command { std: "docker" "start" "-a" "0336433d4d3d4140093f938489a4788c33a573911715bacf294fe7197c2c38d0", kill_on_drop: false }`
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/lib.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::result`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::result;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling opus-db v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `database` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait database {
[INFO] [stdout]    |           ^^^^^^^^ help: convert the identifier to upper camel case: `Database`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AttributeHandler`, `Database`, `UserHandler`, and `env`
[INFO] [stdout]   --> src/lib.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |     use super::{env, AttributeHandler, Database, UserHandler};
[INFO] [stdout]    |                 ^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/lib.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 96 | mod tests {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> src/attributes.rs:37:53
[INFO] [stdout]    |
[INFO] [stdout] 37 |             fs::File::create(&base_dir.join("log")).unwrap_or(panic!("Could not open file"));
[INFO] [stdout]    |                                                     ^^^^^^^^^ ----------------------------- any code following this expression is unreachable
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     unreachable call
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_log`
[INFO] [stdout]   --> src/attributes.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let file_log =
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_log`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]   --> src/attributes.rs:30:52
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new<P: AsRef<Path>>(id: Id, parent_path: P, parent: Option<Id>) -> Self {
[INFO] [stdout]    |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/attributes.rs:51:31
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn add_participant(&self, id: Id, permissions: PermissionSet) -> AttributeResult {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `permissions`
[INFO] [stdout]   --> src/attributes.rs:51:39
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn add_participant(&self, id: Id, permissions: PermissionSet) -> AttributeResult {
[INFO] [stdout]    |                                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `attribute_handler` and `user_handler` are never read
[INFO] [stdout]   --> src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Database {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 22 |     base_dir: PathBuf,
[INFO] [stdout] 23 |     attribute_handler: AttributeHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     user_handler: UserHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Database {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 28 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl UserHandler {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 61 |     fn new<P: AsRef<Path>>(parent_path: P) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache` is never read
[INFO] [stdout]   --> src/lib.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct AttributeHandler {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] 75 |     base_dir: PathBuf,
[INFO] [stdout] 76 |     cache: HashMap<Id, Attribute>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl AttributeHandler {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 80 |     fn new<P: AsRef<Path>>(parent_path: P) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `current_state`, `parent`, `base_dir`, `participants`, `children`, and `log_buffer` are never read
[INFO] [stdout]   --> src/attributes.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Attribute {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 19 |     current_state: String, // XXX: what should this type be?
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 20 |     parent: Option<Id>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     base_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 22 |     participants: HashMap<Id, PermissionSet>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 23 |     children: HashSet<Id>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 24 |     log_buffer: io::BufWriter<fs::File>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_participant`, and `remove_participant` are never used
[INFO] [stdout]   --> src/attributes.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Attribute {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn new<P: AsRef<Path>>(id: Id, parent_path: P, parent: Option<Id>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn add_participant(&self, id: Id, permissions: PermissionSet) -> AttributeResult {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn remove_participant(&mut self, participant_id: Id) -> Option<Id> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AttributeResult` is never used
[INFO] [stdout]   --> src/attributes.rs:63:6
[INFO] [stdout]    |
[INFO] [stdout] 63 | type AttributeResult = result::Result<Attribute, io::Error>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Err(err) => panic!(err),
[INFO] [stdout]    |                                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Err(err) => panic!("{}", err),
[INFO] [stdout]    |                                +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 32 -             Err(err) => panic!(err),
[INFO] [stdout] 32 +             Err(err) => std::panic::panic_any(err),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `expected_root` in this scope
[INFO] [stdout]    --> src/lib.rs:106:48
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_eq!(attribute_handler.base_dir, expected_root);
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `expected_root` in this scope
[INFO] [stdout]    --> src/lib.rs:118:43
[INFO] [stdout]     |
[INFO] [stdout] 118 |         assert_eq!(user_handler.base_dir, expected_root);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `expected_root` in this scope
[INFO] [stdout]    --> src/lib.rs:130:33
[INFO] [stdout]     |
[INFO] [stdout] 130 |         assert_eq!(db.base_dir, expected_root);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/lib.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::result`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::result;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `database` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait database {
[INFO] [stdout]    |           ^^^^^^^^ help: convert the identifier to upper camel case: `Database`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> src/attributes.rs:37:53
[INFO] [stdout]    |
[INFO] [stdout] 37 |             fs::File::create(&base_dir.join("log")).unwrap_or(panic!("Could not open file"));
[INFO] [stdout]    |                                                     ^^^^^^^^^ ----------------------------- any code following this expression is unreachable
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     unreachable call
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_log`
[INFO] [stdout]   --> src/attributes.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let file_log =
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_log`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]   --> src/attributes.rs:30:52
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new<P: AsRef<Path>>(id: Id, parent_path: P, parent: Option<Id>) -> Self {
[INFO] [stdout]    |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/attributes.rs:51:31
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn add_participant(&self, id: Id, permissions: PermissionSet) -> AttributeResult {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `permissions`
[INFO] [stdout]   --> src/attributes.rs:51:39
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn add_participant(&self, id: Id, permissions: PermissionSet) -> AttributeResult {
[INFO] [stdout]    |                                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `opus-db` (lib test) due to 3 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0336433d4d3d4140093f938489a4788c33a573911715bacf294fe7197c2c38d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0336433d4d3d4140093f938489a4788c33a573911715bacf294fe7197c2c38d0", kill_on_drop: false }`
[INFO] [stdout] 0336433d4d3d4140093f938489a4788c33a573911715bacf294fe7197c2c38d0
