[INFO] cloning repository https://github.com/malefooo/unit-office-async-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/malefooo/unit-office-async-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalefooo%2Funit-office-async-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalefooo%2Funit-office-async-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 038f8a639e61faae6dbfbcc0d7f407840095a2ba
[INFO] testing malefooo/unit-office-async-rust against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalefooo%2Funit-office-async-rust" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/malefooo/unit-office-async-rust on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/malefooo/unit-office-async-rust
[INFO] finished tweaking git repo https://github.com/malefooo/unit-office-async-rust
[INFO] tweaked toml for git repo https://github.com/malefooo/unit-office-async-rust written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/malefooo/unit-office-async-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded actix-web-actors v2.0.0
[INFO] [stderr]   Downloaded log4rs v0.13.0
[INFO] [stderr]   Downloaded async-global-executor v1.3.0
[INFO] [stderr]   Downloaded serde_with_macros v1.2.2
[INFO] [stderr]   Downloaded async-io v1.1.10
[INFO] [stderr]   Downloaded wepoll-sys v3.0.0
[INFO] [stderr]   Downloaded async-task v4.0.2
[INFO] [stderr]   Downloaded polling v2.0.1
[INFO] [stderr]   Downloaded futures-lite v1.11.1
[INFO] [stderr]   Downloaded async-std v1.6.5
[INFO] [stderr]   Downloaded serde_with v1.5.1
[INFO] [stderr]   Downloaded chrono-tz v0.5.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 45524d465f667c01ae2e822f2a72e6103612a40c9c1df453d819fc3a57eaa7a1
[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" "45524d465f667c01ae2e822f2a72e6103612a40c9c1df453d819fc3a57eaa7a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45524d465f667c01ae2e822f2a72e6103612a40c9c1df453d819fc3a57eaa7a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45524d465f667c01ae2e822f2a72e6103612a40c9c1df453d819fc3a57eaa7a1", kill_on_drop: false }`
[INFO] [stdout] 45524d465f667c01ae2e822f2a72e6103612a40c9c1df453d819fc3a57eaa7a1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85cf0c978f070a400e61c9c790c92d54f08a315adbcc81e89a2183c5d177806d
[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" "85cf0c978f070a400e61c9c790c92d54f08a315adbcc81e89a2183c5d177806d", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.44
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling futures-core v0.3.6
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling pin-project-lite v0.1.10
[INFO] [stderr]    Compiling futures-io v0.3.6
[INFO] [stderr]    Compiling futures-sink v0.3.6
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]    Compiling regex-syntax v0.6.20
[INFO] [stderr]    Compiling tinyvec v0.3.4
[INFO] [stderr]    Compiling object v0.21.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.17
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling encoding_rs v0.8.24
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling rustversion v1.0.3
[INFO] [stderr]    Compiling async-task v4.0.2
[INFO] [stderr]    Compiling unic-common v0.9.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling instant v0.1.7
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling bytestring v0.1.5
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling futures-channel v0.3.6
[INFO] [stderr]    Compiling futures-task v0.3.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling unic-char-property v0.9.0
[INFO] [stderr]    Compiling unic-ucd-version v0.9.0
[INFO] [stderr]    Compiling async-channel v1.5.1
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]    Compiling aho-corasick v0.7.14
[INFO] [stderr]    Compiling futures-lite v1.11.1
[INFO] [stderr]    Compiling bstr v0.2.13
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling unic-ucd-segment v0.9.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling md-5 v0.8.0
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling typed-builder v0.3.0
[INFO] [stderr]    Compiling unic-segment v0.9.0
[INFO] [stderr]    Compiling async-executor v1.3.0
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling socket2 v0.3.15
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling flate2 v1.0.18
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling nb-connect v1.0.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling thread-id v3.3.0
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling ordered-float v1.1.0
[INFO] [stderr]    Compiling regex v1.4.1
[INFO] [stderr]    Compiling backtrace v0.3.53
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling futures-intrusive v0.3.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.0
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling chrono-tz v0.5.3
[INFO] [stderr]    Compiling webpki v0.21.3
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling webpki-roots v0.18.0
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling futures-macro v0.3.6
[INFO] [stderr]    Compiling derive_more v0.99.11
[INFO] [stderr]    Compiling actix-macros v0.1.2
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling async-trait v0.1.41
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling thiserror-impl v1.0.21
[INFO] [stderr]    Compiling actix_derive v0.5.0
[INFO] [stderr]    Compiling actix-web-codegen v0.2.2
[INFO] [stderr]    Compiling async-attributes v1.1.1
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling derivative v2.1.1
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling err-derive v0.2.4
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling thiserror v1.0.21
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling serde_with_macros v1.2.2
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling futures-executor v0.3.6
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling futures v0.3.6
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling serde_with v1.5.1
[INFO] [stderr]    Compiling serde_yaml v0.8.13
[INFO] [stderr]    Compiling serde-value v0.6.0
[INFO] [stderr]    Compiling toml v0.5.7
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling tracing v0.1.21
[INFO] [stderr]    Compiling polling v2.0.1
[INFO] [stderr]    Compiling globset v0.4.5
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling actix-router v0.2.5
[INFO] [stderr]    Compiling rustls v0.17.0
[INFO] [stderr]    Compiling os_info v2.0.8
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling async-io v1.1.10
[INFO] [stderr]    Compiling ignore v0.4.16
[INFO] [stderr]    Compiling bson v1.1.0
[INFO] [stderr]    Compiling log4rs v0.13.0
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling async-global-executor v1.3.0
[INFO] [stderr]    Compiling async-std v1.6.5
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling globwalk v0.8.0
[INFO] [stderr]    Compiling tera v1.5.0
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling trust-dns-proto v0.19.5
[INFO] [stderr]    Compiling tokio-rustls v0.13.1
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.5
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling mongodb v1.1.1
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling awc v1.0.1
[INFO] [stderr]    Compiling actix v0.9.0
[INFO] [stderr]    Compiling actix-web v2.0.0
[INFO] [stderr]    Compiling actix-web-actors v2.0.0
[INFO] [stderr]    Compiling actixwebtest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0423]: expected value, found builtin type `str`
[INFO] [stdout]   --> src/service/common.rs:42:37
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let body = body::Body::from(str);
[INFO] [stdout]    |                                     ^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/config/mod.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/config/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/config/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/error/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::export::Formatter`
[INFO] [stdout]  --> src/error/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::export::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/error/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `mongodb_error` should have an upper camel case name
[INFO] [stdout]  --> src/error/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     mongodb_error(mongodb::error::Error),
[INFO] [stdout]   |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MongodbError`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `common_error` should have an upper camel case name
[INFO] [stdout]  --> src/error/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     common_error(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommonError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `toml_error` should have an upper camel case name
[INFO] [stdout]   --> src/error/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     toml_error(de::Error),
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `TomlError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Responder`, `get`
[INFO] [stdout]  --> src/server/http/mod.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{get, web, App, HttpServer, Responder};
[INFO] [stdout]   |                 ^^^                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/server/http/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::dev::Server`
[INFO] [stdout]  --> src/server/http/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::dev::Server;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpRequest`, `post`
[INFO] [stdout]  --> src/service/common.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{HttpResponse, post, HttpRequest, web, body};
[INFO] [stdout]   |                               ^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Request`
[INFO] [stdout]  --> src/service/common.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_http::{http, Request, Response};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bson`, `options::FindOptions`
[INFO] [stdout]  --> src/service/common.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |     bson::{doc, Bson, document},
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 8 |     options::FindOptions,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::dev::ResponseHead`
[INFO] [stdout]   --> src/service/common.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use actix_web::dev::ResponseHead;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/entity/company.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/entity/customer.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/entity/customer.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/entity/customer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::ser::Error`
[INFO] [stdout]   --> src/entity/customer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde::ser::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/entity/account.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result`, `Value`
[INFO] [stdout]  --> src/entity/account.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/entity/staff.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::value::Value::Null`
[INFO] [stdout]  --> src/entity/staff.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::value::Value::Null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/entity/role.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/entity/permission.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/entity/menu.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/entity/container.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/entity/container.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bson`, `document`
[INFO] [stdout]  --> src/entity/r.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 |     bson::{doc, Bson, document},
[INFO] [stdout]   |                 ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/entity/r.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::entity`
[INFO] [stdout]  --> src/entity/r.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::entity;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, `get`, `web`
[INFO] [stdout]  --> src/main.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use actix_web::{get, web, App, HttpServer, Responder};
[INFO] [stdout]   |                 ^^^  ^^^  ^^^  ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `name` on type `serde_json::Value`
[INFO] [stdout]   --> src/service/common.rs:28:38
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let company_name = company_value.name.unwrap();
[INFO] [stdout]    |                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bson: From<Role>` is not satisfied
[INFO] [stdout]    --> src/entity/customer.rs:31:28
[INFO] [stdout]     |
[INFO] [stdout] 31  |         doc.insert("roles",Bson::from(self.roles.take().unwrap()));
[INFO] [stdout]     |                            ^^^^^^^^^^ the trait `From<Role>` is not implemented for `Bson`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <Bson as From<&T>>
[INFO] [stdout]               <Bson as From<&[T]>>
[INFO] [stdout]               <Bson as From<&str>>
[INFO] [stdout]               <Bson as From<Regex>>
[INFO] [stdout]             and 19 others
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<Bson>` for `Role`
[INFO] [stdout]     = note: required because of the requirements on the impl of `From<Vec<Role>>` for `Bson`
[INFO] [stdout] note: required by `std::convert::From::from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 34 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `actixwebtest` due to 4 previous errors; 34 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "85cf0c978f070a400e61c9c790c92d54f08a315adbcc81e89a2183c5d177806d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85cf0c978f070a400e61c9c790c92d54f08a315adbcc81e89a2183c5d177806d", kill_on_drop: false }`
[INFO] [stdout] 85cf0c978f070a400e61c9c790c92d54f08a315adbcc81e89a2183c5d177806d
