Aug 29 19:58:36.552 INFO checking RPGLibrarium/Liberation against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 29 19:58:36.552 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 29 19:58:36.552 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-1/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-1/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 29 19:58:36.744 INFO blam! 3f1190b3c1f98e58da9b4ee6038f24783e265ea162dca5629fa89020e23c2941 Aug 29 19:58:36.746 INFO running `"docker" "start" "-a" "3f1190b3c1f98e58da9b4ee6038f24783e265ea162dca5629fa89020e23c2941"` Aug 29 19:58:37.957 INFO kablam! Checking untrusted v0.6.2 Aug 29 19:58:37.959 INFO kablam! Checking htmlescape v0.3.1 Aug 29 19:58:37.961 INFO kablam! Compiling actix-web v0.7.3 Aug 29 19:58:37.962 INFO kablam! Compiling ring v0.13.2 Aug 29 19:58:37.965 INFO kablam! Checking socket2 v0.3.7 Aug 29 19:58:37.974 INFO kablam! Checking uuid v0.6.5 Aug 29 19:58:37.974 INFO kablam! Checking nom v4.0.0 Aug 29 19:58:37.974 INFO kablam! Checking resolv-conf v0.6.1 Aug 29 19:58:38.947 INFO kablam! Checking smallvec v0.6.4 Aug 29 19:58:39.088 INFO kablam! Checking twox-hash v1.1.1 Aug 29 19:58:39.470 INFO kablam! Checking nix v0.11.0 Aug 29 19:58:41.958 INFO kablam! Checking miniz-sys v0.1.10 Aug 29 19:58:41.983 INFO kablam! Checking brotli-sys v0.3.2 Aug 29 19:58:42.199 INFO kablam! Checking http v0.1.10 Aug 29 19:58:42.257 INFO kablam! Checking mio-uds v0.6.6 Aug 29 19:58:43.019 INFO kablam! Checking url v1.7.1 Aug 29 19:58:43.112 INFO kablam! Checking openssl-sys v0.9.35 Aug 29 19:58:44.015 INFO kablam! Compiling curl-sys v0.4.8 Aug 29 19:58:44.029 INFO kablam! Checking toml v0.4.6 Aug 29 19:58:44.135 INFO kablam! Checking serde_json v1.0.26 Aug 29 19:58:45.432 INFO kablam! Compiling syn v0.14.8 Aug 29 19:58:47.615 INFO kablam! Checking backtrace v0.2.3 Aug 29 19:58:49.348 INFO kablam! Checking tokio-reactor v0.1.3 Aug 29 19:58:50.084 INFO kablam! Checking tokio-codec v0.1.0 Aug 29 19:58:52.882 INFO kablam! Checking flate2 v1.0.2 Aug 29 19:58:52.927 INFO kablam! Checking brotli2 v0.3.2 Aug 29 19:58:54.078 INFO kablam! Checking parking_lot_core v0.2.14 Aug 29 19:58:56.041 INFO kablam! Checking chrono v0.4.5 Aug 29 19:58:57.763 INFO kablam! Checking crossbeam-deque v0.3.1 Aug 29 19:58:59.709 INFO kablam! Checking error-chain v0.1.12 Aug 29 19:58:59.855 INFO kablam! Checking url_serde v0.2.0 Aug 29 19:59:00.400 INFO kablam! Checking sha2 v0.7.1 Aug 29 19:59:01.044 INFO kablam! Checking tokio-tcp v0.1.1 Aug 29 19:59:01.777 INFO kablam! Checking tokio-udp v0.1.1 Aug 29 19:59:02.020 INFO kablam! Checking tokio-signal v0.2.2 Aug 29 19:59:02.085 INFO kablam! Checking parking_lot v0.6.3 Aug 29 19:59:03.342 INFO kablam! Checking tokio-threadpool v0.1.5 Aug 29 19:59:03.518 INFO kablam! Checking curl v0.4.14 Aug 29 19:59:04.575 INFO kablam! Compiling mime_guess v2.0.0-alpha.6 Aug 29 19:59:05.328 INFO kablam! Checking serde-hjson v0.8.1 Aug 29 19:59:05.392 INFO kablam! Checking trust-dns-proto v0.4.0 Aug 29 19:59:09.548 INFO kablam! Checking h2 v0.1.12 Aug 29 19:59:11.362 INFO kablam! Checking crossbeam-channel v0.2.4 Aug 29 19:59:15.278 INFO kablam! Checking mysql_common v0.8.0 Aug 29 19:59:18.387 INFO kablam! Checking tokio-fs v0.1.3 Aug 29 19:59:19.815 INFO kablam! Checking config v0.9.0 Aug 29 19:59:20.979 INFO kablam! Checking cookie v0.11.0 Aug 29 19:59:22.827 INFO kablam! Checking tokio v0.1.7 Aug 29 19:59:28.447 INFO kablam! Checking trust-dns-resolver v0.9.1 Aug 29 19:59:32.645 INFO kablam! Checking mysql v14.0.0 Aug 29 19:59:51.755 INFO kablam! Compiling synstructure v0.9.0 Aug 29 19:59:51.758 INFO kablam! Compiling actix_derive v0.3.0 Aug 29 19:59:51.765 INFO kablam! Compiling serde_derive v1.0.71 Aug 29 20:00:03.600 INFO kablam! Compiling failure_derive v0.1.2 Aug 29 20:00:07.397 INFO kablam! Checking failure v0.1.2 Aug 29 20:00:08.001 INFO kablam! Checking actix v0.7.3 Aug 29 20:00:17.465 INFO kablam! Checking jsonwebtoken v5.0.0 Aug 29 20:00:17.465 INFO kablam! Checking oauth2 v2.0.0-alpha.2 Aug 29 20:00:29.400 INFO kablam! Checking liberation v0.1.0 (file:///source) Aug 29 20:00:34.582 INFO kablam! warning: unused import: `ResponseError` Aug 29 20:00:34.611 INFO kablam! --> src/api/mod.rs:9:16 Aug 29 20:00:34.612 INFO kablam! | Aug 29 20:00:34.612 INFO kablam! 9 | Responder, ResponseError, Result, fs Aug 29 20:00:34.612 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 20:00:34.612 INFO kablam! | Aug 29 20:00:34.612 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 20:00:34.612 INFO kablam! Aug 29 20:00:34.612 INFO kablam! warning: unused import: `auth::Keycloak` Aug 29 20:00:34.612 INFO kablam! --> src/api/mod.rs:12:5 Aug 29 20:00:34.612 INFO kablam! | Aug 29 20:00:34.612 INFO kablam! 12 | use auth::Keycloak; Aug 29 20:00:34.612 INFO kablam! | ^^^^^^^^^^^^^^ Aug 29 20:00:34.612 INFO kablam! Aug 29 20:00:34.612 INFO kablam! warning: unused import: `error` Aug 29 20:00:34.612 INFO kablam! --> src/api/mod.rs:15:5 Aug 29 20:00:34.612 INFO kablam! | Aug 29 20:00:34.612 INFO kablam! 15 | use error; Aug 29 20:00:34.612 INFO kablam! | ^^^^^ Aug 29 20:00:34.612 INFO kablam! Aug 29 20:00:34.612 INFO kablam! warning: unused import: `std::sync::Arc` Aug 29 20:00:34.612 INFO kablam! --> src/api/mod.rs:17:5 Aug 29 20:00:34.612 INFO kablam! | Aug 29 20:00:34.612 INFO kablam! 17 | use std::sync::Arc; Aug 29 20:00:34.612 INFO kablam! | ^^^^^^^^^^^^^^ Aug 29 20:00:34.612 INFO kablam! Aug 29 20:00:34.631 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:34.631 INFO kablam! --> src/api/dto.rs:284:20 Aug 29 20:00:34.631 INFO kablam! | Aug 29 20:00:34.631 INFO kablam! 284 | pub roles: Vec, Aug 29 20:00:34.631 INFO kablam! | ^^^^^^^^ Aug 29 20:00:34.631 INFO kablam! | Aug 29 20:00:34.631 INFO kablam! = note: #[warn(deprecated)] on by default Aug 29 20:00:34.631 INFO kablam! Aug 29 20:00:34.631 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:34.631 INFO kablam! --> src/database/mod.rs:284:32 Aug 29 20:00:34.631 INFO kablam! | Aug 29 20:00:34.632 INFO kablam! 284 | #[derive(Debug, PartialEq, Eq, Serialize)] Aug 29 20:00:34.632 INFO kablam! | ^^^^^^^^^ Aug 29 20:00:34.632 INFO kablam! Aug 29 20:00:34.634 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:34.634 INFO kablam! Aug 29 20:00:34.729 INFO kablam! warning: unused import: `ResponseError` Aug 29 20:00:34.813 INFO kablam! --> src/api/mod.rs:9:16 Aug 29 20:00:34.813 INFO kablam! | Aug 29 20:00:34.813 INFO kablam! 9 | Responder, ResponseError, Result, fs Aug 29 20:00:34.813 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 20:00:34.814 INFO kablam! | Aug 29 20:00:34.814 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 20:00:34.814 INFO kablam! Aug 29 20:00:34.814 INFO kablam! warning: unused import: `auth::Keycloak` Aug 29 20:00:34.814 INFO kablam! --> src/api/mod.rs:12:5 Aug 29 20:00:34.814 INFO kablam! | Aug 29 20:00:34.814 INFO kablam! 12 | use auth::Keycloak; Aug 29 20:00:34.814 INFO kablam! | ^^^^^^^^^^^^^^ Aug 29 20:00:34.814 INFO kablam! Aug 29 20:00:34.814 INFO kablam! warning: unused import: `error` Aug 29 20:00:34.814 INFO kablam! --> src/api/mod.rs:15:5 Aug 29 20:00:34.814 INFO kablam! | Aug 29 20:00:34.814 INFO kablam! 15 | use error; Aug 29 20:00:34.814 INFO kablam! | ^^^^^ Aug 29 20:00:34.814 INFO kablam! Aug 29 20:00:34.814 INFO kablam! warning: unused import: `std::sync::Arc` Aug 29 20:00:34.814 INFO kablam! --> src/api/mod.rs:17:5 Aug 29 20:00:34.814 INFO kablam! | Aug 29 20:00:34.814 INFO kablam! 17 | use std::sync::Arc; Aug 29 20:00:34.815 INFO kablam! | ^^^^^^^^^^^^^^ Aug 29 20:00:34.815 INFO kablam! Aug 29 20:00:34.904 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:34.904 INFO kablam! --> src/api/dto.rs:284:20 Aug 29 20:00:34.904 INFO kablam! | Aug 29 20:00:34.904 INFO kablam! 284 | pub roles: Vec, Aug 29 20:00:34.904 INFO kablam! | ^^^^^^^^ Aug 29 20:00:34.904 INFO kablam! | Aug 29 20:00:34.904 INFO kablam! = note: #[warn(deprecated)] on by default Aug 29 20:00:34.904 INFO kablam! Aug 29 20:00:34.905 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:34.905 INFO kablam! --> src/database/mod.rs:284:32 Aug 29 20:00:34.905 INFO kablam! | Aug 29 20:00:34.905 INFO kablam! 284 | #[derive(Debug, PartialEq, Eq, Serialize)] Aug 29 20:00:34.905 INFO kablam! | ^^^^^^^^^ Aug 29 20:00:34.905 INFO kablam! Aug 29 20:00:34.907 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:34.907 INFO kablam! Aug 29 20:00:35.862 INFO kablam! warning: use of deprecated item 'database::Role::identifier': this is a stub for later oauth roles Aug 29 20:00:35.862 INFO kablam! --> src/database/mod.rs:284:32 Aug 29 20:00:35.862 INFO kablam! | Aug 29 20:00:35.862 INFO kablam! 284 | #[derive(Debug, PartialEq, Eq, Serialize)] Aug 29 20:00:35.862 INFO kablam! | ^^^^^^^^^ Aug 29 20:00:35.862 INFO kablam! Aug 29 20:00:36.260 INFO kablam! warning: use of deprecated item 'database::Role::identifier': this is a stub for later oauth roles Aug 29 20:00:36.260 INFO kablam! --> src/database/mod.rs:284:32 Aug 29 20:00:36.260 INFO kablam! | Aug 29 20:00:36.260 INFO kablam! 284 | #[derive(Debug, PartialEq, Eq, Serialize)] Aug 29 20:00:36.260 INFO kablam! | ^^^^^^^^^ Aug 29 20:00:36.260 INFO kablam! Aug 29 20:00:36.477 INFO kablam! warning: unused variable: `allowed` Aug 29 20:00:36.477 INFO kablam! --> src/api/mod.rs:166:10 Aug 29 20:00:36.477 INFO kablam! | Aug 29 20:00:36.477 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:36.477 INFO kablam! | ^^^^^^^ help: consider using `_allowed` instead Aug 29 20:00:36.477 INFO kablam! | Aug 29 20:00:36.477 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 20:00:36.477 INFO kablam! Aug 29 20:00:36.477 INFO kablam! warning: unused variable: `authInfo` Aug 29 20:00:36.477 INFO kablam! --> src/api/mod.rs:166:19 Aug 29 20:00:36.477 INFO kablam! | Aug 29 20:00:36.477 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:36.477 INFO kablam! | ^^^^^^^^ help: consider using `_authInfo` instead Aug 29 20:00:36.477 INFO kablam! Aug 29 20:00:36.477 INFO kablam! warning: unused variable: `allowed` Aug 29 20:00:36.477 INFO kablam! --> src/api/mod.rs:192:10 Aug 29 20:00:36.478 INFO kablam! | Aug 29 20:00:36.478 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:36.478 INFO kablam! | ^^^^^^^ help: consider using `_allowed` instead Aug 29 20:00:36.478 INFO kablam! Aug 29 20:00:36.478 INFO kablam! warning: unused variable: `authInfo` Aug 29 20:00:36.478 INFO kablam! --> src/api/mod.rs:192:19 Aug 29 20:00:36.478 INFO kablam! | Aug 29 20:00:36.478 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:36.478 INFO kablam! | ^^^^^^^^ help: consider using `_authInfo` instead Aug 29 20:00:36.478 INFO kablam! Aug 29 20:00:36.478 INFO kablam! warning: unused variable: `kc` Aug 29 20:00:36.478 INFO kablam! --> src/business/mod.rs:9:5 Aug 29 20:00:36.478 INFO kablam! | Aug 29 20:00:36.478 INFO kablam! 9 | kc: &KeycloakCache, Aug 29 20:00:36.478 INFO kablam! | ^^ help: consider using `_kc` instead Aug 29 20:00:36.478 INFO kablam! Aug 29 20:00:36.478 INFO kablam! warning: unused variable: `token` Aug 29 20:00:36.478 INFO kablam! --> src/business/mod.rs:10:5 Aug 29 20:00:36.478 INFO kablam! | Aug 29 20:00:36.479 INFO kablam! 10 | token: Token, Aug 29 20:00:36.479 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:36.479 INFO kablam! Aug 29 20:00:36.479 INFO kablam! warning: unused variable: `token` Aug 29 20:00:36.479 INFO kablam! --> src/business/mod.rs:19:5 Aug 29 20:00:36.479 INFO kablam! | Aug 29 20:00:36.479 INFO kablam! 19 | token: Token, Aug 29 20:00:36.479 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:36.479 INFO kablam! Aug 29 20:00:36.479 INFO kablam! warning: unused variable: `token` Aug 29 20:00:36.479 INFO kablam! --> src/business/mod.rs:34:5 Aug 29 20:00:36.479 INFO kablam! | Aug 29 20:00:36.479 INFO kablam! 34 | token: Token, Aug 29 20:00:36.479 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:36.479 INFO kablam! Aug 29 20:00:36.479 INFO kablam! warning: unused variable: `token` Aug 29 20:00:36.479 INFO kablam! --> src/business/mod.rs:42:37 Aug 29 20:00:36.479 INFO kablam! | Aug 29 20:00:36.479 INFO kablam! 42 | pub fn put_rpgsystem(db: &Database, token: Token, system: &PutPostRpgSystem) -> Result<(), Error> { Aug 29 20:00:36.479 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:36.479 INFO kablam! Aug 29 20:00:36.479 INFO kablam! warning: unused variable: `token` Aug 29 20:00:36.479 INFO kablam! --> src/business/mod.rs:47:40 Aug 29 20:00:36.479 INFO kablam! | Aug 29 20:00:36.479 INFO kablam! 47 | pub fn delete_rpgsystem(db: &Database, token: Token, systemid: RpgSystemId) -> Result<(), Error> { Aug 29 20:00:36.479 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:36.479 INFO kablam! Aug 29 20:00:36.479 INFO kablam! warning: unused variable: `token` Aug 29 20:00:36.479 INFO kablam! --> src/business/mod.rs:53:34 Aug 29 20:00:36.479 INFO kablam! | Aug 29 20:00:36.479 INFO kablam! 53 | pub fn get_titles(db: &Database, token: Token) -> Result { Aug 29 20:00:36.479 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:36.479 INFO kablam! Aug 29 20:00:36.479 INFO kablam! warning: unused variable: `token` Aug 29 20:00:36.479 INFO kablam! --> src/business/mod.rs:69:33 Aug 29 20:00:36.480 INFO kablam! | Aug 29 20:00:36.480 INFO kablam! 69 | pub fn get_title(db: &Database, token: Token, title_id: TitleId) -> Result { Aug 29 20:00:36.480 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:36.480 INFO kablam! Aug 29 20:00:36.480 INFO kablam! warning: unused variable: `token` Aug 29 20:00:36.480 INFO kablam! --> src/business/mod.rs:79:34 Aug 29 20:00:36.480 INFO kablam! | Aug 29 20:00:36.480 INFO kablam! 79 | pub fn post_title(db: &Database, token: Token, title: &mut PutPostTitle) -> Result { Aug 29 20:00:36.480 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:36.480 INFO kablam! Aug 29 20:00:36.480 INFO kablam! warning: unused variable: `token` Aug 29 20:00:36.480 INFO kablam! --> src/business/mod.rs:84:33 Aug 29 20:00:36.480 INFO kablam! | Aug 29 20:00:36.480 INFO kablam! 84 | pub fn put_title(db: &Database, token: Token, title: &PutPostTitle) -> Result<(), Error> { Aug 29 20:00:36.480 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:36.480 INFO kablam! Aug 29 20:00:36.480 INFO kablam! warning: unused variable: `db` Aug 29 20:00:36.480 INFO kablam! --> src/business/mod.rs:97:5 Aug 29 20:00:36.480 INFO kablam! | Aug 29 20:00:36.480 INFO kablam! 97 | db: &Database, Aug 29 20:00:36.480 INFO kablam! | ^^ help: consider using `_db` instead Aug 29 20:00:36.480 INFO kablam! Aug 29 20:00:36.480 INFO kablam! warning: unused variable: `titleid` Aug 29 20:00:36.480 INFO kablam! --> src/business/mod.rs:98:5 Aug 29 20:00:36.480 INFO kablam! | Aug 29 20:00:36.480 INFO kablam! 98 | titleid: TitleId, Aug 29 20:00:36.480 INFO kablam! | ^^^^^^^ help: consider using `_titleid` instead Aug 29 20:00:36.480 INFO kablam! Aug 29 20:00:36.480 INFO kablam! warning: unused variable: `token` Aug 29 20:00:36.480 INFO kablam! --> src/business/mod.rs:103:33 Aug 29 20:00:36.480 INFO kablam! | Aug 29 20:00:36.480 INFO kablam! 103 | pub fn get_books(db: &Database, token: Token) -> Result { Aug 29 20:00:36.480 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:36.480 INFO kablam! Aug 29 20:00:36.481 INFO kablam! warning: unused variable: `empty_key` Aug 29 20:00:36.481 INFO kablam! --> src/auth.rs:73:17 Aug 29 20:00:36.481 INFO kablam! | Aug 29 20:00:36.481 INFO kablam! 73 | let mut empty_key: [u8; 0]; Aug 29 20:00:36.481 INFO kablam! | ^^^^^^^^^ help: consider using `_empty_key` instead Aug 29 20:00:36.481 INFO kablam! Aug 29 20:00:36.481 INFO kablam! warning: unused variable: `id` Aug 29 20:00:36.481 INFO kablam! --> src/database/mod.rs:224:38 Aug 29 20:00:36.481 INFO kablam! | Aug 29 20:00:36.481 INFO kablam! 224 | pub fn get_books_by_title(&self, id: TitleId) -> Result, Error> { Aug 29 20:00:36.481 INFO kablam! | ^^ help: consider using `_id` instead Aug 29 20:00:36.481 INFO kablam! Aug 29 20:00:36.776 INFO kablam! warning: variable does not need to be mutable Aug 29 20:00:36.893 INFO kablam! --> src/auth.rs:73:13 Aug 29 20:00:36.894 INFO kablam! | Aug 29 20:00:36.894 INFO kablam! 73 | let mut empty_key: [u8; 0]; Aug 29 20:00:36.894 INFO kablam! | ----^^^^^^^^^ Aug 29 20:00:36.894 INFO kablam! | | Aug 29 20:00:36.894 INFO kablam! | help: remove this `mut` Aug 29 20:00:36.894 INFO kablam! | Aug 29 20:00:36.894 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 29 20:00:36.894 INFO kablam! Aug 29 20:00:37.038 INFO kablam! warning: unused variable: `allowed` Aug 29 20:00:37.038 INFO kablam! --> src/api/mod.rs:166:10 Aug 29 20:00:37.038 INFO kablam! | Aug 29 20:00:37.039 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:37.039 INFO kablam! | ^^^^^^^ help: consider using `_allowed` instead Aug 29 20:00:37.039 INFO kablam! | Aug 29 20:00:37.039 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 20:00:37.039 INFO kablam! Aug 29 20:00:37.039 INFO kablam! warning: unused variable: `authInfo` Aug 29 20:00:37.039 INFO kablam! --> src/api/mod.rs:166:19 Aug 29 20:00:37.039 INFO kablam! | Aug 29 20:00:37.039 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:37.039 INFO kablam! | ^^^^^^^^ help: consider using `_authInfo` instead Aug 29 20:00:37.039 INFO kablam! Aug 29 20:00:37.039 INFO kablam! warning: unused variable: `allowed` Aug 29 20:00:37.039 INFO kablam! --> src/api/mod.rs:192:10 Aug 29 20:00:37.039 INFO kablam! | Aug 29 20:00:37.039 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:37.039 INFO kablam! | ^^^^^^^ help: consider using `_allowed` instead Aug 29 20:00:37.039 INFO kablam! Aug 29 20:00:37.039 INFO kablam! warning: unused variable: `authInfo` Aug 29 20:00:37.039 INFO kablam! --> src/api/mod.rs:192:19 Aug 29 20:00:37.039 INFO kablam! | Aug 29 20:00:37.039 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:37.039 INFO kablam! | ^^^^^^^^ help: consider using `_authInfo` instead Aug 29 20:00:37.039 INFO kablam! Aug 29 20:00:37.040 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:37.040 INFO kablam! --> src/database/book.rs:365:58 Aug 29 20:00:37.040 INFO kablam! | Aug 29 20:00:37.040 INFO kablam! 365 | let result = insert_book_default(&db).and_then(|(book_id, mut orig_book)| { Aug 29 20:00:37.040 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:37.040 INFO kablam! Aug 29 20:00:37.040 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:37.040 INFO kablam! --> src/database/book.rs:380:58 Aug 29 20:00:37.040 INFO kablam! | Aug 29 20:00:37.040 INFO kablam! 380 | let result = insert_book_default(&db).and_then(|(book_id, mut orig_book)| { Aug 29 20:00:37.040 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:37.040 INFO kablam! Aug 29 20:00:37.040 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:37.040 INFO kablam! --> src/database/book.rs:395:58 Aug 29 20:00:37.040 INFO kablam! | Aug 29 20:00:37.040 INFO kablam! 395 | let result = insert_book_default(&db).and_then(|(book_id, mut orig_book)| { Aug 29 20:00:37.040 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:37.041 INFO kablam! Aug 29 20:00:37.041 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:37.041 INFO kablam! --> src/database/book.rs:410:58 Aug 29 20:00:37.041 INFO kablam! | Aug 29 20:00:37.041 INFO kablam! 410 | let result = insert_book_default(&db).and_then(|(book_id, mut orig_book)| { Aug 29 20:00:37.041 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:37.041 INFO kablam! Aug 29 20:00:37.041 INFO kablam! warning: unused variable: `guild_id` Aug 29 20:00:37.041 INFO kablam! --> src/database/guild.rs:227:32 Aug 29 20:00:37.041 INFO kablam! | Aug 29 20:00:37.041 INFO kablam! 227 | .and_then(|guild_id| Ok(orig_guild)) Aug 29 20:00:37.041 INFO kablam! | ^^^^^^^^ help: consider using `_guild_id` instead Aug 29 20:00:37.041 INFO kablam! Aug 29 20:00:37.041 INFO kablam! warning: unused variable: `guild_id` Aug 29 20:00:37.041 INFO kablam! --> src/database/guild.rs:306:32 Aug 29 20:00:37.041 INFO kablam! | Aug 29 20:00:37.041 INFO kablam! 306 | .and_then(|guild_id| Ok(orig_guild)) Aug 29 20:00:37.041 INFO kablam! | ^^^^^^^^ help: consider using `_guild_id` instead Aug 29 20:00:37.041 INFO kablam! Aug 29 20:00:37.041 INFO kablam! warning: unused variable: `member_id` Aug 29 20:00:37.041 INFO kablam! --> src/database/member.rs:179:58 Aug 29 20:00:37.041 INFO kablam! | Aug 29 20:00:37.041 INFO kablam! 179 | let result = db.insert(&mut member_in).and_then(|member_id| { Aug 29 20:00:37.041 INFO kablam! | ^^^^^^^^^ help: consider using `_member_id` instead Aug 29 20:00:37.041 INFO kablam! Aug 29 20:00:37.041 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:37.041 INFO kablam! --> src/database/rental.rs:199:58 Aug 29 20:00:37.041 INFO kablam! | Aug 29 20:00:37.041 INFO kablam! 199 | let result = insert_book_default(&db).and_then(|(book_id, book)| { Aug 29 20:00:37.041 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:37.041 INFO kablam! Aug 29 20:00:37.041 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:37.041 INFO kablam! --> src/database/rental.rs:241:58 Aug 29 20:00:37.041 INFO kablam! | Aug 29 20:00:37.041 INFO kablam! 241 | let result = insert_book_default(&db).and_then(|(book_id, book)| { Aug 29 20:00:37.041 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:37.042 INFO kablam! Aug 29 20:00:37.042 INFO kablam! warning: unused variable: `db` Aug 29 20:00:37.042 INFO kablam! --> src/database/mod.rs:402:13 Aug 29 20:00:37.042 INFO kablam! | Aug 29 20:00:37.042 INFO kablam! 402 | let db = Database::from_settings(&settings).unwrap(); Aug 29 20:00:37.042 INFO kablam! | ^^ help: consider using `_db` instead Aug 29 20:00:37.042 INFO kablam! Aug 29 20:00:37.042 INFO kablam! warning: unused variable: `db` Aug 29 20:00:37.042 INFO kablam! --> src/database/mod.rs:409:13 Aug 29 20:00:37.042 INFO kablam! | Aug 29 20:00:37.042 INFO kablam! 409 | let db = Database::from_settings(&settings).unwrap(); Aug 29 20:00:37.042 INFO kablam! | ^^ help: consider using `_db` instead Aug 29 20:00:37.042 INFO kablam! Aug 29 20:00:37.042 INFO kablam! warning: unused variable: `kc` Aug 29 20:00:37.042 INFO kablam! --> src/business/mod.rs:9:5 Aug 29 20:00:37.042 INFO kablam! | Aug 29 20:00:37.042 INFO kablam! 9 | kc: &KeycloakCache, Aug 29 20:00:37.042 INFO kablam! | ^^ help: consider using `_kc` instead Aug 29 20:00:37.042 INFO kablam! Aug 29 20:00:37.042 INFO kablam! warning: unused variable: `token` Aug 29 20:00:37.042 INFO kablam! --> src/business/mod.rs:10:5 Aug 29 20:00:37.042 INFO kablam! | Aug 29 20:00:37.042 INFO kablam! 10 | token: Token, Aug 29 20:00:37.042 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:37.042 INFO kablam! Aug 29 20:00:37.042 INFO kablam! warning: unused variable: `token` Aug 29 20:00:37.042 INFO kablam! --> src/business/mod.rs:19:5 Aug 29 20:00:37.042 INFO kablam! | Aug 29 20:00:37.042 INFO kablam! 19 | token: Token, Aug 29 20:00:37.042 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:37.042 INFO kablam! Aug 29 20:00:37.042 INFO kablam! warning: unused variable: `token` Aug 29 20:00:37.042 INFO kablam! --> src/business/mod.rs:34:5 Aug 29 20:00:37.042 INFO kablam! | Aug 29 20:00:37.042 INFO kablam! 34 | token: Token, Aug 29 20:00:37.043 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:37.043 INFO kablam! Aug 29 20:00:37.043 INFO kablam! warning: unused variable: `token` Aug 29 20:00:37.043 INFO kablam! --> src/business/mod.rs:42:37 Aug 29 20:00:37.043 INFO kablam! | Aug 29 20:00:37.043 INFO kablam! 42 | pub fn put_rpgsystem(db: &Database, token: Token, system: &PutPostRpgSystem) -> Result<(), Error> { Aug 29 20:00:37.043 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:37.043 INFO kablam! Aug 29 20:00:37.043 INFO kablam! warning: unused variable: `token` Aug 29 20:00:37.043 INFO kablam! --> src/business/mod.rs:47:40 Aug 29 20:00:37.043 INFO kablam! | Aug 29 20:00:37.043 INFO kablam! 47 | pub fn delete_rpgsystem(db: &Database, token: Token, systemid: RpgSystemId) -> Result<(), Error> { Aug 29 20:00:37.043 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:37.043 INFO kablam! Aug 29 20:00:37.043 INFO kablam! warning: unused variable: `token` Aug 29 20:00:37.043 INFO kablam! --> src/business/mod.rs:53:34 Aug 29 20:00:37.043 INFO kablam! | Aug 29 20:00:37.043 INFO kablam! 53 | pub fn get_titles(db: &Database, token: Token) -> Result { Aug 29 20:00:37.043 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:37.043 INFO kablam! Aug 29 20:00:37.043 INFO kablam! warning: unused variable: `token` Aug 29 20:00:37.043 INFO kablam! --> src/business/mod.rs:69:33 Aug 29 20:00:37.043 INFO kablam! | Aug 29 20:00:37.043 INFO kablam! 69 | pub fn get_title(db: &Database, token: Token, title_id: TitleId) -> Result { Aug 29 20:00:37.043 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:37.043 INFO kablam! Aug 29 20:00:37.043 INFO kablam! warning: unused variable: `token` Aug 29 20:00:37.043 INFO kablam! --> src/business/mod.rs:79:34 Aug 29 20:00:37.043 INFO kablam! | Aug 29 20:00:37.043 INFO kablam! 79 | pub fn post_title(db: &Database, token: Token, title: &mut PutPostTitle) -> Result { Aug 29 20:00:37.043 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:37.043 INFO kablam! Aug 29 20:00:37.043 INFO kablam! warning: unused variable: `token` Aug 29 20:00:37.043 INFO kablam! --> src/business/mod.rs:84:33 Aug 29 20:00:37.043 INFO kablam! | Aug 29 20:00:37.043 INFO kablam! 84 | pub fn put_title(db: &Database, token: Token, title: &PutPostTitle) -> Result<(), Error> { Aug 29 20:00:37.044 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:37.044 INFO kablam! Aug 29 20:00:37.044 INFO kablam! warning: unused variable: `db` Aug 29 20:00:37.044 INFO kablam! --> src/business/mod.rs:97:5 Aug 29 20:00:37.044 INFO kablam! | Aug 29 20:00:37.044 INFO kablam! 97 | db: &Database, Aug 29 20:00:37.044 INFO kablam! | ^^ help: consider using `_db` instead Aug 29 20:00:37.044 INFO kablam! Aug 29 20:00:37.044 INFO kablam! warning: unused variable: `titleid` Aug 29 20:00:37.044 INFO kablam! --> src/business/mod.rs:98:5 Aug 29 20:00:37.044 INFO kablam! | Aug 29 20:00:37.044 INFO kablam! 98 | titleid: TitleId, Aug 29 20:00:37.044 INFO kablam! | ^^^^^^^ help: consider using `_titleid` instead Aug 29 20:00:37.044 INFO kablam! Aug 29 20:00:37.044 INFO kablam! warning: unused variable: `token` Aug 29 20:00:37.044 INFO kablam! --> src/business/mod.rs:103:33 Aug 29 20:00:37.044 INFO kablam! | Aug 29 20:00:37.044 INFO kablam! 103 | pub fn get_books(db: &Database, token: Token) -> Result { Aug 29 20:00:37.044 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:37.044 INFO kablam! Aug 29 20:00:37.044 INFO kablam! warning: unused variable: `empty_key` Aug 29 20:00:37.044 INFO kablam! --> src/auth.rs:73:17 Aug 29 20:00:37.044 INFO kablam! | Aug 29 20:00:37.044 INFO kablam! 73 | let mut empty_key: [u8; 0]; Aug 29 20:00:37.044 INFO kablam! | ^^^^^^^^^ help: consider using `_empty_key` instead Aug 29 20:00:37.044 INFO kablam! Aug 29 20:00:37.044 INFO kablam! warning: unused variable: `id` Aug 29 20:00:37.044 INFO kablam! --> src/database/mod.rs:224:38 Aug 29 20:00:37.044 INFO kablam! | Aug 29 20:00:37.044 INFO kablam! 224 | pub fn get_books_by_title(&self, id: TitleId) -> Result, Error> { Aug 29 20:00:37.044 INFO kablam! | ^^ help: consider using `_id` instead Aug 29 20:00:37.044 INFO kablam! Aug 29 20:00:37.079 INFO kablam! warning: struct is never constructed: `GetBook` Aug 29 20:00:37.080 INFO kablam! --> src/api/dto.rs:92:1 Aug 29 20:00:37.080 INFO kablam! | Aug 29 20:00:37.080 INFO kablam! 92 | pub struct GetBook { Aug 29 20:00:37.080 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.080 INFO kablam! | Aug 29 20:00:37.080 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 20:00:37.080 INFO kablam! Aug 29 20:00:37.080 INFO kablam! warning: struct is never constructed: `GetMembers` Aug 29 20:00:37.080 INFO kablam! --> src/api/dto.rs:104:1 Aug 29 20:00:37.080 INFO kablam! | Aug 29 20:00:37.080 INFO kablam! 104 | pub struct GetMembers { Aug 29 20:00:37.080 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.080 INFO kablam! Aug 29 20:00:37.080 INFO kablam! warning: struct is never constructed: `GetMember` Aug 29 20:00:37.080 INFO kablam! --> src/api/dto.rs:110:1 Aug 29 20:00:37.080 INFO kablam! | Aug 29 20:00:37.080 INFO kablam! 110 | pub struct GetMember { Aug 29 20:00:37.080 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.080 INFO kablam! Aug 29 20:00:37.080 INFO kablam! warning: struct is never constructed: `GetMemberInventory` Aug 29 20:00:37.080 INFO kablam! --> src/api/dto.rs:116:1 Aug 29 20:00:37.080 INFO kablam! | Aug 29 20:00:37.080 INFO kablam! 116 | pub struct GetMemberInventory { Aug 29 20:00:37.081 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.081 INFO kablam! Aug 29 20:00:37.081 INFO kablam! warning: struct is never constructed: `GetGuilds` Aug 29 20:00:37.081 INFO kablam! --> src/api/dto.rs:129:1 Aug 29 20:00:37.081 INFO kablam! | Aug 29 20:00:37.081 INFO kablam! 129 | pub struct GetGuilds { Aug 29 20:00:37.081 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.081 INFO kablam! Aug 29 20:00:37.081 INFO kablam! warning: struct is never constructed: `GetGuild` Aug 29 20:00:37.081 INFO kablam! --> src/api/dto.rs:135:1 Aug 29 20:00:37.081 INFO kablam! | Aug 29 20:00:37.081 INFO kablam! 135 | pub struct GetGuild { Aug 29 20:00:37.081 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.081 INFO kablam! Aug 29 20:00:37.081 INFO kablam! warning: struct is never constructed: `GetGuildInventory` Aug 29 20:00:37.081 INFO kablam! --> src/api/dto.rs:141:1 Aug 29 20:00:37.081 INFO kablam! | Aug 29 20:00:37.081 INFO kablam! 141 | pub struct GetGuildInventory { Aug 29 20:00:37.081 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.081 INFO kablam! Aug 29 20:00:37.081 INFO kablam! warning: struct is never constructed: `Inventory` Aug 29 20:00:37.081 INFO kablam! --> src/api/dto.rs:274:1 Aug 29 20:00:37.081 INFO kablam! | Aug 29 20:00:37.081 INFO kablam! 274 | pub struct Inventory { Aug 29 20:00:37.081 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.082 INFO kablam! Aug 29 20:00:37.082 INFO kablam! warning: struct is never constructed: `MemberWithRoles` Aug 29 20:00:37.082 INFO kablam! --> src/api/dto.rs:280:1 Aug 29 20:00:37.082 INFO kablam! | Aug 29 20:00:37.082 INFO kablam! 280 | pub struct MemberWithRoles { Aug 29 20:00:37.082 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.082 INFO kablam! Aug 29 20:00:37.082 INFO kablam! warning: struct is never constructed: `Member` Aug 29 20:00:37.082 INFO kablam! --> src/api/dto.rs:288:1 Aug 29 20:00:37.082 INFO kablam! | Aug 29 20:00:37.082 INFO kablam! 288 | pub struct Member { Aug 29 20:00:37.082 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.082 INFO kablam! Aug 29 20:00:37.082 INFO kablam! warning: struct is never constructed: `GuildWithContact` Aug 29 20:00:37.082 INFO kablam! --> src/api/dto.rs:295:1 Aug 29 20:00:37.082 INFO kablam! | Aug 29 20:00:37.082 INFO kablam! 295 | pub struct GuildWithContact { Aug 29 20:00:37.082 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.082 INFO kablam! Aug 29 20:00:37.082 INFO kablam! warning: method is never used: `new` Aug 29 20:00:37.082 INFO kablam! --> src/database/guild.rs:14:5 Aug 29 20:00:37.082 INFO kablam! | Aug 29 20:00:37.082 INFO kablam! 14 | pub fn new(id: Option, name: String, address: String, contact: MemberId) -> Guild { Aug 29 20:00:37.083 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.083 INFO kablam! Aug 29 20:00:37.083 INFO kablam! warning: method is never used: `new` Aug 29 20:00:37.083 INFO kablam! --> src/database/member.rs:13:5 Aug 29 20:00:37.083 INFO kablam! | Aug 29 20:00:37.083 INFO kablam! 13 | pub fn new(id: Option, external_id: ExternalId) -> Member { Aug 29 20:00:37.083 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.083 INFO kablam! Aug 29 20:00:37.083 INFO kablam! warning: function is never used: `delete_title` Aug 29 20:00:37.083 INFO kablam! --> src/business/mod.rs:89:1 Aug 29 20:00:37.083 INFO kablam! | Aug 29 20:00:37.083 INFO kablam! 89 | pub fn delete_title(db: &Database, titleid: TitleId) -> Result<(), Error> { Aug 29 20:00:37.083 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.083 INFO kablam! Aug 29 20:00:37.106 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:37.106 INFO kablam! --> src/api/mod.rs:166:19 Aug 29 20:00:37.106 INFO kablam! | Aug 29 20:00:37.106 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:37.106 INFO kablam! | ^^^^^^^^ Aug 29 20:00:37.106 INFO kablam! | Aug 29 20:00:37.106 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 29 20:00:37.106 INFO kablam! Aug 29 20:00:37.106 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:37.106 INFO kablam! --> src/api/mod.rs:175:19 Aug 29 20:00:37.106 INFO kablam! | Aug 29 20:00:37.106 INFO kablam! 175 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:37.106 INFO kablam! | ^^^^^^^^ Aug 29 20:00:37.106 INFO kablam! Aug 29 20:00:37.106 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:37.106 INFO kablam! --> src/api/mod.rs:192:19 Aug 29 20:00:37.106 INFO kablam! | Aug 29 20:00:37.106 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:37.107 INFO kablam! | ^^^^^^^^ Aug 29 20:00:37.107 INFO kablam! Aug 29 20:00:37.112 INFO kablam! warning: variable `userId` should have a snake case name such as `user_id` Aug 29 20:00:37.112 INFO kablam! --> src/auth.rs:84:28 Aug 29 20:00:37.112 INFO kablam! | Aug 29 20:00:37.112 INFO kablam! 84 | pub fn get_user(&self, userId: &ExternalId) -> Result, Error> { Aug 29 20:00:37.113 INFO kablam! | ^^^^^^ Aug 29 20:00:37.113 INFO kablam! Aug 29 20:00:37.361 INFO kablam! warning: variable does not need to be mutable Aug 29 20:00:37.415 INFO kablam! --> src/auth.rs:73:13 Aug 29 20:00:37.416 INFO kablam! | Aug 29 20:00:37.416 INFO kablam! 73 | let mut empty_key: [u8; 0]; Aug 29 20:00:37.416 INFO kablam! | ----^^^^^^^^^ Aug 29 20:00:37.416 INFO kablam! | | Aug 29 20:00:37.416 INFO kablam! | help: remove this `mut` Aug 29 20:00:37.416 INFO kablam! | Aug 29 20:00:37.416 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 29 20:00:37.416 INFO kablam! Aug 29 20:00:37.804 INFO kablam! warning: struct is never constructed: `GetBook` Aug 29 20:00:37.804 INFO kablam! --> src/api/dto.rs:92:1 Aug 29 20:00:37.805 INFO kablam! | Aug 29 20:00:37.805 INFO kablam! 92 | pub struct GetBook { Aug 29 20:00:37.805 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.805 INFO kablam! | Aug 29 20:00:37.805 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 20:00:37.805 INFO kablam! Aug 29 20:00:37.805 INFO kablam! warning: struct is never constructed: `GetMembers` Aug 29 20:00:37.805 INFO kablam! --> src/api/dto.rs:104:1 Aug 29 20:00:37.805 INFO kablam! | Aug 29 20:00:37.805 INFO kablam! 104 | pub struct GetMembers { Aug 29 20:00:37.805 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.805 INFO kablam! Aug 29 20:00:37.805 INFO kablam! warning: struct is never constructed: `GetMember` Aug 29 20:00:37.805 INFO kablam! --> src/api/dto.rs:110:1 Aug 29 20:00:37.805 INFO kablam! | Aug 29 20:00:37.805 INFO kablam! 110 | pub struct GetMember { Aug 29 20:00:37.805 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.805 INFO kablam! Aug 29 20:00:37.805 INFO kablam! warning: struct is never constructed: `GetMemberInventory` Aug 29 20:00:37.806 INFO kablam! --> src/api/dto.rs:116:1 Aug 29 20:00:37.806 INFO kablam! | Aug 29 20:00:37.806 INFO kablam! 116 | pub struct GetMemberInventory { Aug 29 20:00:37.806 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.806 INFO kablam! Aug 29 20:00:37.806 INFO kablam! warning: struct is never constructed: `GetGuilds` Aug 29 20:00:37.806 INFO kablam! --> src/api/dto.rs:129:1 Aug 29 20:00:37.806 INFO kablam! | Aug 29 20:00:37.806 INFO kablam! 129 | pub struct GetGuilds { Aug 29 20:00:37.806 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.806 INFO kablam! Aug 29 20:00:37.806 INFO kablam! warning: struct is never constructed: `GetGuild` Aug 29 20:00:37.806 INFO kablam! --> src/api/dto.rs:135:1 Aug 29 20:00:37.806 INFO kablam! | Aug 29 20:00:37.806 INFO kablam! 135 | pub struct GetGuild { Aug 29 20:00:37.806 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.806 INFO kablam! Aug 29 20:00:37.806 INFO kablam! warning: struct is never constructed: `GetGuildInventory` Aug 29 20:00:37.807 INFO kablam! --> src/api/dto.rs:141:1 Aug 29 20:00:37.807 INFO kablam! | Aug 29 20:00:37.807 INFO kablam! 141 | pub struct GetGuildInventory { Aug 29 20:00:37.807 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.807 INFO kablam! Aug 29 20:00:37.807 INFO kablam! warning: struct is never constructed: `Inventory` Aug 29 20:00:37.807 INFO kablam! --> src/api/dto.rs:274:1 Aug 29 20:00:37.807 INFO kablam! | Aug 29 20:00:37.807 INFO kablam! 274 | pub struct Inventory { Aug 29 20:00:37.807 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.807 INFO kablam! Aug 29 20:00:37.807 INFO kablam! warning: struct is never constructed: `MemberWithRoles` Aug 29 20:00:37.807 INFO kablam! --> src/api/dto.rs:280:1 Aug 29 20:00:37.807 INFO kablam! | Aug 29 20:00:37.807 INFO kablam! 280 | pub struct MemberWithRoles { Aug 29 20:00:37.807 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.807 INFO kablam! Aug 29 20:00:37.807 INFO kablam! warning: struct is never constructed: `Member` Aug 29 20:00:37.807 INFO kablam! --> src/api/dto.rs:288:1 Aug 29 20:00:37.808 INFO kablam! | Aug 29 20:00:37.808 INFO kablam! 288 | pub struct Member { Aug 29 20:00:37.808 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.808 INFO kablam! Aug 29 20:00:37.808 INFO kablam! warning: struct is never constructed: `GuildWithContact` Aug 29 20:00:37.808 INFO kablam! --> src/api/dto.rs:295:1 Aug 29 20:00:37.808 INFO kablam! | Aug 29 20:00:37.808 INFO kablam! 295 | pub struct GuildWithContact { Aug 29 20:00:37.808 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.808 INFO kablam! Aug 29 20:00:37.808 INFO kablam! warning: function is never used: `delete_title` Aug 29 20:00:37.808 INFO kablam! --> src/business/mod.rs:89:1 Aug 29 20:00:37.808 INFO kablam! | Aug 29 20:00:37.808 INFO kablam! 89 | pub fn delete_title(db: &Database, titleid: TitleId) -> Result<(), Error> { Aug 29 20:00:37.808 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:37.808 INFO kablam! Aug 29 20:00:37.830 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:37.830 INFO kablam! --> src/api/mod.rs:166:19 Aug 29 20:00:37.830 INFO kablam! | Aug 29 20:00:37.830 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:37.830 INFO kablam! | ^^^^^^^^ Aug 29 20:00:37.830 INFO kablam! | Aug 29 20:00:37.830 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 29 20:00:37.830 INFO kablam! Aug 29 20:00:37.830 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:37.830 INFO kablam! --> src/api/mod.rs:175:19 Aug 29 20:00:37.830 INFO kablam! | Aug 29 20:00:37.831 INFO kablam! 175 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:37.831 INFO kablam! | ^^^^^^^^ Aug 29 20:00:37.831 INFO kablam! Aug 29 20:00:37.831 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:37.831 INFO kablam! --> src/api/mod.rs:192:19 Aug 29 20:00:37.831 INFO kablam! | Aug 29 20:00:37.831 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:37.831 INFO kablam! | ^^^^^^^^ Aug 29 20:00:37.831 INFO kablam! Aug 29 20:00:37.836 INFO kablam! warning: variable `userId` should have a snake case name such as `user_id` Aug 29 20:00:37.836 INFO kablam! --> src/auth.rs:84:28 Aug 29 20:00:37.836 INFO kablam! | Aug 29 20:00:37.836 INFO kablam! 84 | pub fn get_user(&self, userId: &ExternalId) -> Result, Error> { Aug 29 20:00:37.836 INFO kablam! | ^^^^^^ Aug 29 20:00:37.837 INFO kablam! Aug 29 20:00:37.934 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2m 00s Aug 29 20:00:38.144 INFO kablam! su: No module specific data is present Aug 29 20:00:40.850 INFO running `"docker" "rm" "-f" "3f1190b3c1f98e58da9b4ee6038f24783e265ea162dca5629fa89020e23c2941"` Aug 29 20:00:41.187 INFO blam! 3f1190b3c1f98e58da9b4ee6038f24783e265ea162dca5629fa89020e23c2941