Aug 29 19:58:37.005 INFO checking RPGLibrarium/Liberation against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 29 19:58:37.005 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 29 19:58:37.005 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-3/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-3/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/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 +545f22340f72ee0efaf6463efb43a2840e3d35db-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:37.166 INFO blam! 671cd6875c25292cee762e8998bb96cfe3fd2ddcbf77a4ca75f7c5b5e1cd74a8 Aug 29 19:58:37.170 INFO running `"docker" "start" "-a" "671cd6875c25292cee762e8998bb96cfe3fd2ddcbf77a4ca75f7c5b5e1cd74a8"` Aug 29 19:58:38.101 INFO kablam! Compiling actix-web v0.7.3 Aug 29 19:58:38.122 INFO kablam! Checking smallvec v0.6.4 Aug 29 19:58:38.146 INFO kablam! Checking twox-hash v1.1.1 Aug 29 19:58:38.160 INFO kablam! Checking serde_json v1.0.26 Aug 29 19:58:38.193 INFO kablam! Compiling syn v0.14.8 Aug 29 19:58:38.194 INFO kablam! Checking flate2 v1.0.2 Aug 29 19:58:38.194 INFO kablam! Checking h2 v0.1.12 Aug 29 19:58:38.194 INFO kablam! Checking url_serde v0.2.0 Aug 29 19:58:39.934 INFO kablam! Checking chrono v0.4.5 Aug 29 19:58:40.652 INFO kablam! Checking cookie v0.11.0 Aug 29 19:58:40.858 INFO kablam! Checking tokio-signal v0.2.2 Aug 29 19:58:42.539 INFO kablam! Checking curl v0.4.14 Aug 29 19:58:44.012 INFO kablam! Checking parking_lot_core v0.2.14 Aug 29 19:58:44.275 INFO kablam! Checking trust-dns-proto v0.4.0 Aug 29 19:58:48.096 INFO kablam! Checking parking_lot v0.6.3 Aug 29 19:58:49.600 INFO kablam! Checking config v0.9.0 Aug 29 19:58:49.980 INFO kablam! Checking mysql_common v0.8.0 Aug 29 19:58:50.980 INFO kablam! Checking crossbeam-channel v0.2.4 Aug 29 19:58:58.217 INFO kablam! Checking trust-dns-resolver v0.9.1 Aug 29 19:59:01.595 INFO kablam! Checking mysql v14.0.0 Aug 29 19:59:27.611 INFO kablam! Compiling synstructure v0.9.0 Aug 29 19:59:27.614 INFO kablam! Compiling actix_derive v0.3.0 Aug 29 19:59:27.616 INFO kablam! Compiling serde_derive v1.0.71 Aug 29 19:59:38.294 INFO kablam! Compiling failure_derive v0.1.2 Aug 29 19:59:42.645 INFO kablam! Checking failure v0.1.2 Aug 29 19:59:43.757 INFO kablam! Checking actix v0.7.3 Aug 29 19:59:59.646 INFO kablam! Checking jsonwebtoken v5.0.0 Aug 29 19:59:59.650 INFO kablam! Checking oauth2 v2.0.0-alpha.2 Aug 29 20:00:15.937 INFO kablam! Checking liberation v0.1.0 (file:///source) Aug 29 20:00:19.159 INFO kablam! warning: unused import: `ResponseError` Aug 29 20:00:19.159 INFO kablam! --> src/api/mod.rs:9:16 Aug 29 20:00:19.159 INFO kablam! | Aug 29 20:00:19.159 INFO kablam! 9 | Responder, ResponseError, Result, fs Aug 29 20:00:19.159 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 20:00:19.159 INFO kablam! | Aug 29 20:00:19.159 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 20:00:19.159 INFO kablam! Aug 29 20:00:19.159 INFO kablam! warning: unused import: `auth::Keycloak` Aug 29 20:00:19.159 INFO kablam! --> src/api/mod.rs:12:5 Aug 29 20:00:19.159 INFO kablam! | Aug 29 20:00:19.159 INFO kablam! 12 | use auth::Keycloak; Aug 29 20:00:19.159 INFO kablam! | ^^^^^^^^^^^^^^ Aug 29 20:00:19.159 INFO kablam! Aug 29 20:00:19.159 INFO kablam! warning: unused import: `error` Aug 29 20:00:19.160 INFO kablam! --> src/api/mod.rs:15:5 Aug 29 20:00:19.160 INFO kablam! | Aug 29 20:00:19.160 INFO kablam! 15 | use error; Aug 29 20:00:19.160 INFO kablam! | ^^^^^ Aug 29 20:00:19.160 INFO kablam! Aug 29 20:00:19.160 INFO kablam! warning: unused import: `std::sync::Arc` Aug 29 20:00:19.160 INFO kablam! --> src/api/mod.rs:17:5 Aug 29 20:00:19.160 INFO kablam! | Aug 29 20:00:19.160 INFO kablam! 17 | use std::sync::Arc; Aug 29 20:00:19.160 INFO kablam! | ^^^^^^^^^^^^^^ Aug 29 20:00:19.160 INFO kablam! Aug 29 20:00:19.229 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:19.229 INFO kablam! --> src/api/dto.rs:284:20 Aug 29 20:00:19.229 INFO kablam! | Aug 29 20:00:19.229 INFO kablam! 284 | pub roles: Vec, Aug 29 20:00:19.229 INFO kablam! | ^^^^^^^^ Aug 29 20:00:19.229 INFO kablam! | Aug 29 20:00:19.229 INFO kablam! = note: #[warn(deprecated)] on by default Aug 29 20:00:19.229 INFO kablam! Aug 29 20:00:19.230 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:19.230 INFO kablam! --> src/database/mod.rs:284:32 Aug 29 20:00:19.230 INFO kablam! | Aug 29 20:00:19.230 INFO kablam! 284 | #[derive(Debug, PartialEq, Eq, Serialize)] Aug 29 20:00:19.230 INFO kablam! | ^^^^^^^^^ Aug 29 20:00:19.230 INFO kablam! Aug 29 20:00:19.233 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:19.233 INFO kablam! Aug 29 20:00:20.493 INFO kablam! warning: unused import: `ResponseError` Aug 29 20:00:20.493 INFO kablam! --> src/api/mod.rs:9:16 Aug 29 20:00:20.493 INFO kablam! | Aug 29 20:00:20.494 INFO kablam! 9 | Responder, ResponseError, Result, fs Aug 29 20:00:20.494 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 20:00:20.494 INFO kablam! | Aug 29 20:00:20.494 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 20:00:20.494 INFO kablam! Aug 29 20:00:20.494 INFO kablam! warning: unused import: `auth::Keycloak` Aug 29 20:00:20.494 INFO kablam! --> src/api/mod.rs:12:5 Aug 29 20:00:20.494 INFO kablam! | Aug 29 20:00:20.494 INFO kablam! 12 | use auth::Keycloak; Aug 29 20:00:20.494 INFO kablam! | ^^^^^^^^^^^^^^ Aug 29 20:00:20.494 INFO kablam! Aug 29 20:00:20.494 INFO kablam! warning: unused import: `error` Aug 29 20:00:20.494 INFO kablam! --> src/api/mod.rs:15:5 Aug 29 20:00:20.494 INFO kablam! | Aug 29 20:00:20.494 INFO kablam! 15 | use error; Aug 29 20:00:20.494 INFO kablam! | ^^^^^ Aug 29 20:00:20.494 INFO kablam! Aug 29 20:00:20.495 INFO kablam! warning: unused import: `std::sync::Arc` Aug 29 20:00:20.495 INFO kablam! --> src/api/mod.rs:17:5 Aug 29 20:00:20.495 INFO kablam! | Aug 29 20:00:20.495 INFO kablam! 17 | use std::sync::Arc; Aug 29 20:00:20.495 INFO kablam! | ^^^^^^^^^^^^^^ Aug 29 20:00:20.495 INFO kablam! Aug 29 20:00:20.579 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:20.579 INFO kablam! --> src/api/dto.rs:284:20 Aug 29 20:00:20.579 INFO kablam! | Aug 29 20:00:20.579 INFO kablam! 284 | pub roles: Vec, Aug 29 20:00:20.579 INFO kablam! | ^^^^^^^^ Aug 29 20:00:20.579 INFO kablam! | Aug 29 20:00:20.579 INFO kablam! = note: #[warn(deprecated)] on by default Aug 29 20:00:20.579 INFO kablam! Aug 29 20:00:20.579 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:20.579 INFO kablam! --> src/database/mod.rs:284:32 Aug 29 20:00:20.579 INFO kablam! | Aug 29 20:00:20.579 INFO kablam! 284 | #[derive(Debug, PartialEq, Eq, Serialize)] Aug 29 20:00:20.579 INFO kablam! | ^^^^^^^^^ Aug 29 20:00:20.579 INFO kablam! Aug 29 20:00:20.584 INFO kablam! warning: use of deprecated item 'database::Role': this is a stub for later oauth roles Aug 29 20:00:20.584 INFO kablam! Aug 29 20:00:20.629 INFO kablam! warning: use of deprecated item 'database::Role::identifier': this is a stub for later oauth roles Aug 29 20:00:20.629 INFO kablam! --> src/database/mod.rs:284:32 Aug 29 20:00:20.629 INFO kablam! | Aug 29 20:00:20.629 INFO kablam! 284 | #[derive(Debug, PartialEq, Eq, Serialize)] Aug 29 20:00:20.629 INFO kablam! | ^^^^^^^^^ Aug 29 20:00:20.629 INFO kablam! Aug 29 20:00:21.395 INFO kablam! warning: unused variable: `allowed` Aug 29 20:00:21.395 INFO kablam! --> src/api/mod.rs:166:10 Aug 29 20:00:21.395 INFO kablam! | Aug 29 20:00:21.395 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:21.395 INFO kablam! | ^^^^^^^ help: consider using `_allowed` instead Aug 29 20:00:21.395 INFO kablam! | Aug 29 20:00:21.396 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 20:00:21.396 INFO kablam! Aug 29 20:00:21.396 INFO kablam! warning: unused variable: `authInfo` Aug 29 20:00:21.396 INFO kablam! --> src/api/mod.rs:166:19 Aug 29 20:00:21.396 INFO kablam! | Aug 29 20:00:21.396 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:21.396 INFO kablam! | ^^^^^^^^ help: consider using `_authInfo` instead Aug 29 20:00:21.396 INFO kablam! Aug 29 20:00:21.396 INFO kablam! warning: unused variable: `allowed` Aug 29 20:00:21.396 INFO kablam! --> src/api/mod.rs:192:10 Aug 29 20:00:21.396 INFO kablam! | Aug 29 20:00:21.396 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:21.396 INFO kablam! | ^^^^^^^ help: consider using `_allowed` instead Aug 29 20:00:21.396 INFO kablam! Aug 29 20:00:21.396 INFO kablam! warning: unused variable: `authInfo` Aug 29 20:00:21.396 INFO kablam! --> src/api/mod.rs:192:19 Aug 29 20:00:21.396 INFO kablam! | Aug 29 20:00:21.396 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:21.396 INFO kablam! | ^^^^^^^^ help: consider using `_authInfo` instead Aug 29 20:00:21.396 INFO kablam! Aug 29 20:00:21.396 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:21.396 INFO kablam! --> src/database/book.rs:365:58 Aug 29 20:00:21.397 INFO kablam! | Aug 29 20:00:21.397 INFO kablam! 365 | let result = insert_book_default(&db).and_then(|(book_id, mut orig_book)| { Aug 29 20:00:21.397 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:21.397 INFO kablam! Aug 29 20:00:21.397 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:21.397 INFO kablam! --> src/database/book.rs:380:58 Aug 29 20:00:21.397 INFO kablam! | Aug 29 20:00:21.397 INFO kablam! 380 | let result = insert_book_default(&db).and_then(|(book_id, mut orig_book)| { Aug 29 20:00:21.397 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:21.397 INFO kablam! Aug 29 20:00:21.397 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:21.397 INFO kablam! --> src/database/book.rs:395:58 Aug 29 20:00:21.397 INFO kablam! | Aug 29 20:00:21.397 INFO kablam! 395 | let result = insert_book_default(&db).and_then(|(book_id, mut orig_book)| { Aug 29 20:00:21.397 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:21.397 INFO kablam! Aug 29 20:00:21.397 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:21.397 INFO kablam! --> src/database/book.rs:410:58 Aug 29 20:00:21.397 INFO kablam! | Aug 29 20:00:21.397 INFO kablam! 410 | let result = insert_book_default(&db).and_then(|(book_id, mut orig_book)| { Aug 29 20:00:21.397 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:21.397 INFO kablam! Aug 29 20:00:21.397 INFO kablam! warning: unused variable: `guild_id` Aug 29 20:00:21.397 INFO kablam! --> src/database/guild.rs:227:32 Aug 29 20:00:21.398 INFO kablam! | Aug 29 20:00:21.398 INFO kablam! 227 | .and_then(|guild_id| Ok(orig_guild)) Aug 29 20:00:21.398 INFO kablam! | ^^^^^^^^ help: consider using `_guild_id` instead Aug 29 20:00:21.398 INFO kablam! Aug 29 20:00:21.398 INFO kablam! warning: unused variable: `guild_id` Aug 29 20:00:21.398 INFO kablam! --> src/database/guild.rs:306:32 Aug 29 20:00:21.398 INFO kablam! | Aug 29 20:00:21.398 INFO kablam! 306 | .and_then(|guild_id| Ok(orig_guild)) Aug 29 20:00:21.398 INFO kablam! | ^^^^^^^^ help: consider using `_guild_id` instead Aug 29 20:00:21.398 INFO kablam! Aug 29 20:00:21.398 INFO kablam! warning: unused variable: `member_id` Aug 29 20:00:21.398 INFO kablam! --> src/database/member.rs:179:58 Aug 29 20:00:21.398 INFO kablam! | Aug 29 20:00:21.398 INFO kablam! 179 | let result = db.insert(&mut member_in).and_then(|member_id| { Aug 29 20:00:21.398 INFO kablam! | ^^^^^^^^^ help: consider using `_member_id` instead Aug 29 20:00:21.398 INFO kablam! Aug 29 20:00:21.398 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:21.398 INFO kablam! --> src/database/rental.rs:199:58 Aug 29 20:00:21.398 INFO kablam! | Aug 29 20:00:21.398 INFO kablam! 199 | let result = insert_book_default(&db).and_then(|(book_id, book)| { Aug 29 20:00:21.398 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:21.398 INFO kablam! Aug 29 20:00:21.398 INFO kablam! warning: unused variable: `book_id` Aug 29 20:00:21.399 INFO kablam! --> src/database/rental.rs:241:58 Aug 29 20:00:21.399 INFO kablam! | Aug 29 20:00:21.399 INFO kablam! 241 | let result = insert_book_default(&db).and_then(|(book_id, book)| { Aug 29 20:00:21.399 INFO kablam! | ^^^^^^^ help: consider using `_book_id` instead Aug 29 20:00:21.399 INFO kablam! Aug 29 20:00:21.399 INFO kablam! warning: unused variable: `db` Aug 29 20:00:21.399 INFO kablam! --> src/database/mod.rs:402:13 Aug 29 20:00:21.399 INFO kablam! | Aug 29 20:00:21.399 INFO kablam! 402 | let db = Database::from_settings(&settings).unwrap(); Aug 29 20:00:21.399 INFO kablam! | ^^ help: consider using `_db` instead Aug 29 20:00:21.399 INFO kablam! Aug 29 20:00:21.399 INFO kablam! warning: unused variable: `db` Aug 29 20:00:21.399 INFO kablam! --> src/database/mod.rs:409:13 Aug 29 20:00:21.399 INFO kablam! | Aug 29 20:00:21.399 INFO kablam! 409 | let db = Database::from_settings(&settings).unwrap(); Aug 29 20:00:21.399 INFO kablam! | ^^ help: consider using `_db` instead Aug 29 20:00:21.399 INFO kablam! Aug 29 20:00:21.400 INFO kablam! warning: unused variable: `kc` Aug 29 20:00:21.400 INFO kablam! --> src/business/mod.rs:9:5 Aug 29 20:00:21.400 INFO kablam! | Aug 29 20:00:21.400 INFO kablam! 9 | kc: &KeycloakCache, Aug 29 20:00:21.400 INFO kablam! | ^^ help: consider using `_kc` instead Aug 29 20:00:21.400 INFO kablam! Aug 29 20:00:21.400 INFO kablam! warning: unused variable: `token` Aug 29 20:00:21.400 INFO kablam! --> src/business/mod.rs:10:5 Aug 29 20:00:21.400 INFO kablam! | Aug 29 20:00:21.400 INFO kablam! 10 | token: Token, Aug 29 20:00:21.400 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:21.400 INFO kablam! Aug 29 20:00:21.400 INFO kablam! warning: unused variable: `token` Aug 29 20:00:21.400 INFO kablam! --> src/business/mod.rs:19:5 Aug 29 20:00:21.400 INFO kablam! | Aug 29 20:00:21.400 INFO kablam! 19 | token: Token, Aug 29 20:00:21.400 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:21.401 INFO kablam! Aug 29 20:00:21.401 INFO kablam! warning: unused variable: `token` Aug 29 20:00:21.401 INFO kablam! --> src/business/mod.rs:34:5 Aug 29 20:00:21.401 INFO kablam! | Aug 29 20:00:21.401 INFO kablam! 34 | token: Token, Aug 29 20:00:21.401 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:21.401 INFO kablam! Aug 29 20:00:21.401 INFO kablam! warning: unused variable: `token` Aug 29 20:00:21.401 INFO kablam! --> src/business/mod.rs:42:37 Aug 29 20:00:21.401 INFO kablam! | Aug 29 20:00:21.401 INFO kablam! 42 | pub fn put_rpgsystem(db: &Database, token: Token, system: &PutPostRpgSystem) -> Result<(), Error> { Aug 29 20:00:21.401 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:21.401 INFO kablam! Aug 29 20:00:21.402 INFO kablam! warning: unused variable: `token` Aug 29 20:00:21.402 INFO kablam! --> src/business/mod.rs:47:40 Aug 29 20:00:21.402 INFO kablam! | Aug 29 20:00:21.402 INFO kablam! 47 | pub fn delete_rpgsystem(db: &Database, token: Token, systemid: RpgSystemId) -> Result<(), Error> { Aug 29 20:00:21.402 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:21.402 INFO kablam! Aug 29 20:00:21.402 INFO kablam! warning: unused variable: `token` Aug 29 20:00:21.402 INFO kablam! --> src/business/mod.rs:53:34 Aug 29 20:00:21.402 INFO kablam! | Aug 29 20:00:21.402 INFO kablam! 53 | pub fn get_titles(db: &Database, token: Token) -> Result { Aug 29 20:00:21.402 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:21.402 INFO kablam! Aug 29 20:00:21.402 INFO kablam! warning: unused variable: `token` Aug 29 20:00:21.402 INFO kablam! --> src/business/mod.rs:69:33 Aug 29 20:00:21.402 INFO kablam! | Aug 29 20:00:21.402 INFO kablam! 69 | pub fn get_title(db: &Database, token: Token, title_id: TitleId) -> Result { Aug 29 20:00:21.402 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:21.403 INFO kablam! Aug 29 20:00:21.403 INFO kablam! warning: unused variable: `token` Aug 29 20:00:21.403 INFO kablam! --> src/business/mod.rs:79:34 Aug 29 20:00:21.403 INFO kablam! | Aug 29 20:00:21.403 INFO kablam! 79 | pub fn post_title(db: &Database, token: Token, title: &mut PutPostTitle) -> Result { Aug 29 20:00:21.403 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:21.403 INFO kablam! Aug 29 20:00:21.403 INFO kablam! warning: unused variable: `token` Aug 29 20:00:21.403 INFO kablam! --> src/business/mod.rs:84:33 Aug 29 20:00:21.403 INFO kablam! | Aug 29 20:00:21.403 INFO kablam! 84 | pub fn put_title(db: &Database, token: Token, title: &PutPostTitle) -> Result<(), Error> { Aug 29 20:00:21.403 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:21.403 INFO kablam! Aug 29 20:00:21.403 INFO kablam! warning: unused variable: `db` Aug 29 20:00:21.403 INFO kablam! --> src/business/mod.rs:97:5 Aug 29 20:00:21.403 INFO kablam! | Aug 29 20:00:21.403 INFO kablam! 97 | db: &Database, Aug 29 20:00:21.403 INFO kablam! | ^^ help: consider using `_db` instead Aug 29 20:00:21.404 INFO kablam! Aug 29 20:00:21.404 INFO kablam! warning: unused variable: `titleid` Aug 29 20:00:21.404 INFO kablam! --> src/business/mod.rs:98:5 Aug 29 20:00:21.404 INFO kablam! | Aug 29 20:00:21.404 INFO kablam! 98 | titleid: TitleId, Aug 29 20:00:21.404 INFO kablam! | ^^^^^^^ help: consider using `_titleid` instead Aug 29 20:00:21.404 INFO kablam! Aug 29 20:00:21.404 INFO kablam! warning: unused variable: `token` Aug 29 20:00:21.404 INFO kablam! --> src/business/mod.rs:103:33 Aug 29 20:00:21.404 INFO kablam! | Aug 29 20:00:21.404 INFO kablam! 103 | pub fn get_books(db: &Database, token: Token) -> Result { Aug 29 20:00:21.404 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:21.404 INFO kablam! Aug 29 20:00:21.404 INFO kablam! warning: unused variable: `empty_key` Aug 29 20:00:21.404 INFO kablam! --> src/auth.rs:73:17 Aug 29 20:00:21.404 INFO kablam! | Aug 29 20:00:21.404 INFO kablam! 73 | let mut empty_key: [u8; 0]; Aug 29 20:00:21.405 INFO kablam! | ^^^^^^^^^ help: consider using `_empty_key` instead Aug 29 20:00:21.405 INFO kablam! Aug 29 20:00:21.405 INFO kablam! warning: unused variable: `id` Aug 29 20:00:21.405 INFO kablam! --> src/database/mod.rs:224:38 Aug 29 20:00:21.405 INFO kablam! | Aug 29 20:00:21.405 INFO kablam! 224 | pub fn get_books_by_title(&self, id: TitleId) -> Result, Error> { Aug 29 20:00:21.405 INFO kablam! | ^^ help: consider using `_id` instead Aug 29 20:00:21.405 INFO kablam! Aug 29 20:00:21.715 INFO kablam! warning: variable does not need to be mutable Aug 29 20:00:21.715 INFO kablam! --> src/auth.rs:73:13 Aug 29 20:00:21.715 INFO kablam! | Aug 29 20:00:21.715 INFO kablam! 73 | let mut empty_key: [u8; 0]; Aug 29 20:00:21.716 INFO kablam! | ----^^^^^^^^^ Aug 29 20:00:21.716 INFO kablam! | | Aug 29 20:00:21.716 INFO kablam! | help: remove this `mut` Aug 29 20:00:21.716 INFO kablam! | Aug 29 20:00:21.716 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 29 20:00:21.716 INFO kablam! Aug 29 20:00:22.082 INFO kablam! warning: use of deprecated item 'database::Role::identifier': this is a stub for later oauth roles Aug 29 20:00:22.082 INFO kablam! --> src/database/mod.rs:284:32 Aug 29 20:00:22.082 INFO kablam! | Aug 29 20:00:22.082 INFO kablam! 284 | #[derive(Debug, PartialEq, Eq, Serialize)] Aug 29 20:00:22.083 INFO kablam! | ^^^^^^^^^ Aug 29 20:00:22.083 INFO kablam! Aug 29 20:00:22.180 INFO kablam! warning: struct is never constructed: `GetBook` Aug 29 20:00:22.180 INFO kablam! --> src/api/dto.rs:92:1 Aug 29 20:00:22.180 INFO kablam! | Aug 29 20:00:22.180 INFO kablam! 92 | pub struct GetBook { Aug 29 20:00:22.180 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.180 INFO kablam! | Aug 29 20:00:22.180 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 20:00:22.180 INFO kablam! Aug 29 20:00:22.180 INFO kablam! warning: struct is never constructed: `GetMembers` Aug 29 20:00:22.180 INFO kablam! --> src/api/dto.rs:104:1 Aug 29 20:00:22.180 INFO kablam! | Aug 29 20:00:22.180 INFO kablam! 104 | pub struct GetMembers { Aug 29 20:00:22.180 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.180 INFO kablam! Aug 29 20:00:22.181 INFO kablam! warning: struct is never constructed: `GetMember` Aug 29 20:00:22.181 INFO kablam! --> src/api/dto.rs:110:1 Aug 29 20:00:22.181 INFO kablam! | Aug 29 20:00:22.181 INFO kablam! 110 | pub struct GetMember { Aug 29 20:00:22.181 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.181 INFO kablam! Aug 29 20:00:22.181 INFO kablam! warning: struct is never constructed: `GetMemberInventory` Aug 29 20:00:22.181 INFO kablam! --> src/api/dto.rs:116:1 Aug 29 20:00:22.181 INFO kablam! | Aug 29 20:00:22.181 INFO kablam! 116 | pub struct GetMemberInventory { Aug 29 20:00:22.181 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.181 INFO kablam! Aug 29 20:00:22.181 INFO kablam! warning: struct is never constructed: `GetGuilds` Aug 29 20:00:22.181 INFO kablam! --> src/api/dto.rs:129:1 Aug 29 20:00:22.181 INFO kablam! | Aug 29 20:00:22.181 INFO kablam! 129 | pub struct GetGuilds { Aug 29 20:00:22.181 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.181 INFO kablam! Aug 29 20:00:22.181 INFO kablam! warning: struct is never constructed: `GetGuild` Aug 29 20:00:22.181 INFO kablam! --> src/api/dto.rs:135:1 Aug 29 20:00:22.182 INFO kablam! | Aug 29 20:00:22.182 INFO kablam! 135 | pub struct GetGuild { Aug 29 20:00:22.182 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.182 INFO kablam! Aug 29 20:00:22.182 INFO kablam! warning: struct is never constructed: `GetGuildInventory` Aug 29 20:00:22.182 INFO kablam! --> src/api/dto.rs:141:1 Aug 29 20:00:22.182 INFO kablam! | Aug 29 20:00:22.182 INFO kablam! 141 | pub struct GetGuildInventory { Aug 29 20:00:22.182 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.182 INFO kablam! Aug 29 20:00:22.182 INFO kablam! warning: struct is never constructed: `Inventory` Aug 29 20:00:22.182 INFO kablam! --> src/api/dto.rs:274:1 Aug 29 20:00:22.182 INFO kablam! | Aug 29 20:00:22.182 INFO kablam! 274 | pub struct Inventory { Aug 29 20:00:22.182 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.182 INFO kablam! Aug 29 20:00:22.182 INFO kablam! warning: struct is never constructed: `MemberWithRoles` Aug 29 20:00:22.182 INFO kablam! --> src/api/dto.rs:280:1 Aug 29 20:00:22.182 INFO kablam! | Aug 29 20:00:22.182 INFO kablam! 280 | pub struct MemberWithRoles { Aug 29 20:00:22.182 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.182 INFO kablam! Aug 29 20:00:22.182 INFO kablam! warning: struct is never constructed: `Member` Aug 29 20:00:22.182 INFO kablam! --> src/api/dto.rs:288:1 Aug 29 20:00:22.182 INFO kablam! | Aug 29 20:00:22.182 INFO kablam! 288 | pub struct Member { Aug 29 20:00:22.182 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.183 INFO kablam! Aug 29 20:00:22.183 INFO kablam! warning: struct is never constructed: `GuildWithContact` Aug 29 20:00:22.183 INFO kablam! --> src/api/dto.rs:295:1 Aug 29 20:00:22.183 INFO kablam! | Aug 29 20:00:22.183 INFO kablam! 295 | pub struct GuildWithContact { Aug 29 20:00:22.183 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.183 INFO kablam! Aug 29 20:00:22.183 INFO kablam! warning: function is never used: `delete_title` Aug 29 20:00:22.183 INFO kablam! --> src/business/mod.rs:89:1 Aug 29 20:00:22.183 INFO kablam! | Aug 29 20:00:22.183 INFO kablam! 89 | pub fn delete_title(db: &Database, titleid: TitleId) -> Result<(), Error> { Aug 29 20:00:22.183 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:22.183 INFO kablam! Aug 29 20:00:22.208 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:22.208 INFO kablam! --> src/api/mod.rs:166:19 Aug 29 20:00:22.208 INFO kablam! | Aug 29 20:00:22.208 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:22.208 INFO kablam! | ^^^^^^^^ Aug 29 20:00:22.209 INFO kablam! | Aug 29 20:00:22.209 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 29 20:00:22.209 INFO kablam! Aug 29 20:00:22.209 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:22.209 INFO kablam! --> src/api/mod.rs:175:19 Aug 29 20:00:22.209 INFO kablam! | Aug 29 20:00:22.209 INFO kablam! 175 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:22.209 INFO kablam! | ^^^^^^^^ Aug 29 20:00:22.209 INFO kablam! Aug 29 20:00:22.209 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:22.209 INFO kablam! --> src/api/mod.rs:192:19 Aug 29 20:00:22.209 INFO kablam! | Aug 29 20:00:22.209 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:22.209 INFO kablam! | ^^^^^^^^ Aug 29 20:00:22.209 INFO kablam! Aug 29 20:00:22.215 INFO kablam! warning: variable `userId` should have a snake case name such as `user_id` Aug 29 20:00:22.215 INFO kablam! --> src/auth.rs:84:28 Aug 29 20:00:22.215 INFO kablam! | Aug 29 20:00:22.215 INFO kablam! 84 | pub fn get_user(&self, userId: &ExternalId) -> Result, Error> { Aug 29 20:00:22.215 INFO kablam! | ^^^^^^ Aug 29 20:00:22.215 INFO kablam! Aug 29 20:00:22.729 INFO kablam! warning: unused variable: `allowed` Aug 29 20:00:22.729 INFO kablam! --> src/api/mod.rs:166:10 Aug 29 20:00:22.729 INFO kablam! | Aug 29 20:00:22.729 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:22.729 INFO kablam! | ^^^^^^^ help: consider using `_allowed` instead Aug 29 20:00:22.729 INFO kablam! | Aug 29 20:00:22.729 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 20:00:22.729 INFO kablam! Aug 29 20:00:22.729 INFO kablam! warning: unused variable: `authInfo` Aug 29 20:00:22.729 INFO kablam! --> src/api/mod.rs:166:19 Aug 29 20:00:22.729 INFO kablam! | Aug 29 20:00:22.729 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:22.729 INFO kablam! | ^^^^^^^^ help: consider using `_authInfo` instead Aug 29 20:00:22.729 INFO kablam! Aug 29 20:00:22.729 INFO kablam! warning: unused variable: `allowed` Aug 29 20:00:22.729 INFO kablam! --> src/api/mod.rs:192:10 Aug 29 20:00:22.729 INFO kablam! | Aug 29 20:00:22.729 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:22.729 INFO kablam! | ^^^^^^^ help: consider using `_allowed` instead Aug 29 20:00:22.729 INFO kablam! Aug 29 20:00:22.730 INFO kablam! warning: unused variable: `authInfo` Aug 29 20:00:22.730 INFO kablam! --> src/api/mod.rs:192:19 Aug 29 20:00:22.730 INFO kablam! | Aug 29 20:00:22.730 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:22.730 INFO kablam! | ^^^^^^^^ help: consider using `_authInfo` instead Aug 29 20:00:22.730 INFO kablam! Aug 29 20:00:22.730 INFO kablam! warning: unused variable: `kc` Aug 29 20:00:22.730 INFO kablam! --> src/business/mod.rs:9:5 Aug 29 20:00:22.730 INFO kablam! | Aug 29 20:00:22.730 INFO kablam! 9 | kc: &KeycloakCache, Aug 29 20:00:22.730 INFO kablam! | ^^ help: consider using `_kc` instead Aug 29 20:00:22.730 INFO kablam! Aug 29 20:00:22.730 INFO kablam! warning: unused variable: `token` Aug 29 20:00:22.730 INFO kablam! --> src/business/mod.rs:10:5 Aug 29 20:00:22.730 INFO kablam! | Aug 29 20:00:22.730 INFO kablam! 10 | token: Token, Aug 29 20:00:22.730 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:22.730 INFO kablam! Aug 29 20:00:22.730 INFO kablam! warning: unused variable: `token` Aug 29 20:00:22.730 INFO kablam! --> src/business/mod.rs:19:5 Aug 29 20:00:22.730 INFO kablam! | Aug 29 20:00:22.730 INFO kablam! 19 | token: Token, Aug 29 20:00:22.731 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:22.731 INFO kablam! Aug 29 20:00:22.731 INFO kablam! warning: unused variable: `token` Aug 29 20:00:22.731 INFO kablam! --> src/business/mod.rs:34:5 Aug 29 20:00:22.731 INFO kablam! | Aug 29 20:00:22.731 INFO kablam! 34 | token: Token, Aug 29 20:00:22.731 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:22.731 INFO kablam! Aug 29 20:00:22.731 INFO kablam! warning: unused variable: `token` Aug 29 20:00:22.731 INFO kablam! --> src/business/mod.rs:42:37 Aug 29 20:00:22.731 INFO kablam! | Aug 29 20:00:22.731 INFO kablam! 42 | pub fn put_rpgsystem(db: &Database, token: Token, system: &PutPostRpgSystem) -> Result<(), Error> { Aug 29 20:00:22.731 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:22.731 INFO kablam! Aug 29 20:00:22.731 INFO kablam! warning: unused variable: `token` Aug 29 20:00:22.731 INFO kablam! --> src/business/mod.rs:47:40 Aug 29 20:00:22.731 INFO kablam! | Aug 29 20:00:22.731 INFO kablam! 47 | pub fn delete_rpgsystem(db: &Database, token: Token, systemid: RpgSystemId) -> Result<(), Error> { Aug 29 20:00:22.731 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:22.731 INFO kablam! Aug 29 20:00:22.732 INFO kablam! warning: unused variable: `token` Aug 29 20:00:22.732 INFO kablam! --> src/business/mod.rs:53:34 Aug 29 20:00:22.732 INFO kablam! | Aug 29 20:00:22.732 INFO kablam! 53 | pub fn get_titles(db: &Database, token: Token) -> Result { Aug 29 20:00:22.732 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:22.732 INFO kablam! Aug 29 20:00:22.732 INFO kablam! warning: unused variable: `token` Aug 29 20:00:22.732 INFO kablam! --> src/business/mod.rs:69:33 Aug 29 20:00:22.732 INFO kablam! | Aug 29 20:00:22.732 INFO kablam! 69 | pub fn get_title(db: &Database, token: Token, title_id: TitleId) -> Result { Aug 29 20:00:22.732 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:22.732 INFO kablam! Aug 29 20:00:22.733 INFO kablam! warning: unused variable: `token` Aug 29 20:00:22.733 INFO kablam! --> src/business/mod.rs:79:34 Aug 29 20:00:22.733 INFO kablam! | Aug 29 20:00:22.733 INFO kablam! 79 | pub fn post_title(db: &Database, token: Token, title: &mut PutPostTitle) -> Result { Aug 29 20:00:22.733 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:22.733 INFO kablam! Aug 29 20:00:22.733 INFO kablam! warning: unused variable: `token` Aug 29 20:00:22.733 INFO kablam! --> src/business/mod.rs:84:33 Aug 29 20:00:22.733 INFO kablam! | Aug 29 20:00:22.733 INFO kablam! 84 | pub fn put_title(db: &Database, token: Token, title: &PutPostTitle) -> Result<(), Error> { Aug 29 20:00:22.733 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:22.733 INFO kablam! Aug 29 20:00:22.733 INFO kablam! warning: unused variable: `db` Aug 29 20:00:22.733 INFO kablam! --> src/business/mod.rs:97:5 Aug 29 20:00:22.733 INFO kablam! | Aug 29 20:00:22.733 INFO kablam! 97 | db: &Database, Aug 29 20:00:22.733 INFO kablam! | ^^ help: consider using `_db` instead Aug 29 20:00:22.733 INFO kablam! Aug 29 20:00:22.733 INFO kablam! warning: unused variable: `titleid` Aug 29 20:00:22.733 INFO kablam! --> src/business/mod.rs:98:5 Aug 29 20:00:22.733 INFO kablam! | Aug 29 20:00:22.733 INFO kablam! 98 | titleid: TitleId, Aug 29 20:00:22.734 INFO kablam! | ^^^^^^^ help: consider using `_titleid` instead Aug 29 20:00:22.734 INFO kablam! Aug 29 20:00:22.734 INFO kablam! warning: unused variable: `token` Aug 29 20:00:22.734 INFO kablam! --> src/business/mod.rs:103:33 Aug 29 20:00:22.734 INFO kablam! | Aug 29 20:00:22.734 INFO kablam! 103 | pub fn get_books(db: &Database, token: Token) -> Result { Aug 29 20:00:22.734 INFO kablam! | ^^^^^ help: consider using `_token` instead Aug 29 20:00:22.734 INFO kablam! Aug 29 20:00:22.734 INFO kablam! warning: unused variable: `empty_key` Aug 29 20:00:22.734 INFO kablam! --> src/auth.rs:73:17 Aug 29 20:00:22.734 INFO kablam! | Aug 29 20:00:22.734 INFO kablam! 73 | let mut empty_key: [u8; 0]; Aug 29 20:00:22.734 INFO kablam! | ^^^^^^^^^ help: consider using `_empty_key` instead Aug 29 20:00:22.734 INFO kablam! Aug 29 20:00:22.734 INFO kablam! warning: unused variable: `id` Aug 29 20:00:22.734 INFO kablam! --> src/database/mod.rs:224:38 Aug 29 20:00:22.734 INFO kablam! | Aug 29 20:00:22.734 INFO kablam! 224 | pub fn get_books_by_title(&self, id: TitleId) -> Result, Error> { Aug 29 20:00:22.734 INFO kablam! | ^^ help: consider using `_id` instead Aug 29 20:00:22.734 INFO kablam! Aug 29 20:00:23.030 INFO kablam! warning: variable does not need to be mutable Aug 29 20:00:23.030 INFO kablam! --> src/auth.rs:73:13 Aug 29 20:00:23.030 INFO kablam! | Aug 29 20:00:23.030 INFO kablam! 73 | let mut empty_key: [u8; 0]; Aug 29 20:00:23.030 INFO kablam! | ----^^^^^^^^^ Aug 29 20:00:23.030 INFO kablam! | | Aug 29 20:00:23.030 INFO kablam! | help: remove this `mut` Aug 29 20:00:23.030 INFO kablam! | Aug 29 20:00:23.030 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 29 20:00:23.030 INFO kablam! Aug 29 20:00:23.343 INFO kablam! warning: struct is never constructed: `GetBook` Aug 29 20:00:23.343 INFO kablam! --> src/api/dto.rs:92:1 Aug 29 20:00:23.343 INFO kablam! | Aug 29 20:00:23.343 INFO kablam! 92 | pub struct GetBook { Aug 29 20:00:23.343 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.343 INFO kablam! | Aug 29 20:00:23.343 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 20:00:23.343 INFO kablam! Aug 29 20:00:23.343 INFO kablam! warning: struct is never constructed: `GetMembers` Aug 29 20:00:23.343 INFO kablam! --> src/api/dto.rs:104:1 Aug 29 20:00:23.343 INFO kablam! | Aug 29 20:00:23.343 INFO kablam! 104 | pub struct GetMembers { Aug 29 20:00:23.343 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.343 INFO kablam! Aug 29 20:00:23.344 INFO kablam! warning: struct is never constructed: `GetMember` Aug 29 20:00:23.344 INFO kablam! --> src/api/dto.rs:110:1 Aug 29 20:00:23.344 INFO kablam! | Aug 29 20:00:23.344 INFO kablam! 110 | pub struct GetMember { Aug 29 20:00:23.344 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.344 INFO kablam! Aug 29 20:00:23.344 INFO kablam! warning: struct is never constructed: `GetMemberInventory` Aug 29 20:00:23.344 INFO kablam! --> src/api/dto.rs:116:1 Aug 29 20:00:23.344 INFO kablam! | Aug 29 20:00:23.344 INFO kablam! 116 | pub struct GetMemberInventory { Aug 29 20:00:23.344 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.344 INFO kablam! Aug 29 20:00:23.344 INFO kablam! warning: struct is never constructed: `GetGuilds` Aug 29 20:00:23.344 INFO kablam! --> src/api/dto.rs:129:1 Aug 29 20:00:23.344 INFO kablam! | Aug 29 20:00:23.344 INFO kablam! 129 | pub struct GetGuilds { Aug 29 20:00:23.344 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.344 INFO kablam! Aug 29 20:00:23.344 INFO kablam! warning: struct is never constructed: `GetGuild` Aug 29 20:00:23.345 INFO kablam! --> src/api/dto.rs:135:1 Aug 29 20:00:23.345 INFO kablam! | Aug 29 20:00:23.345 INFO kablam! 135 | pub struct GetGuild { Aug 29 20:00:23.345 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.345 INFO kablam! Aug 29 20:00:23.345 INFO kablam! warning: struct is never constructed: `GetGuildInventory` Aug 29 20:00:23.345 INFO kablam! --> src/api/dto.rs:141:1 Aug 29 20:00:23.345 INFO kablam! | Aug 29 20:00:23.345 INFO kablam! 141 | pub struct GetGuildInventory { Aug 29 20:00:23.345 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.345 INFO kablam! Aug 29 20:00:23.345 INFO kablam! warning: struct is never constructed: `Inventory` Aug 29 20:00:23.345 INFO kablam! --> src/api/dto.rs:274:1 Aug 29 20:00:23.345 INFO kablam! | Aug 29 20:00:23.345 INFO kablam! 274 | pub struct Inventory { Aug 29 20:00:23.345 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.345 INFO kablam! Aug 29 20:00:23.345 INFO kablam! warning: struct is never constructed: `MemberWithRoles` Aug 29 20:00:23.345 INFO kablam! --> src/api/dto.rs:280:1 Aug 29 20:00:23.345 INFO kablam! | Aug 29 20:00:23.346 INFO kablam! 280 | pub struct MemberWithRoles { Aug 29 20:00:23.346 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.346 INFO kablam! Aug 29 20:00:23.346 INFO kablam! warning: struct is never constructed: `Member` Aug 29 20:00:23.346 INFO kablam! --> src/api/dto.rs:288:1 Aug 29 20:00:23.346 INFO kablam! | Aug 29 20:00:23.346 INFO kablam! 288 | pub struct Member { Aug 29 20:00:23.346 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.346 INFO kablam! Aug 29 20:00:23.346 INFO kablam! warning: struct is never constructed: `GuildWithContact` Aug 29 20:00:23.346 INFO kablam! --> src/api/dto.rs:295:1 Aug 29 20:00:23.346 INFO kablam! | Aug 29 20:00:23.346 INFO kablam! 295 | pub struct GuildWithContact { Aug 29 20:00:23.346 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.346 INFO kablam! Aug 29 20:00:23.346 INFO kablam! warning: method is never used: `new` Aug 29 20:00:23.346 INFO kablam! --> src/database/guild.rs:14:5 Aug 29 20:00:23.346 INFO kablam! | Aug 29 20:00:23.347 INFO kablam! 14 | pub fn new(id: Option, name: String, address: String, contact: MemberId) -> Guild { Aug 29 20:00:23.347 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.347 INFO kablam! Aug 29 20:00:23.347 INFO kablam! warning: method is never used: `new` Aug 29 20:00:23.347 INFO kablam! --> src/database/member.rs:13:5 Aug 29 20:00:23.347 INFO kablam! | Aug 29 20:00:23.347 INFO kablam! 13 | pub fn new(id: Option, external_id: ExternalId) -> Member { Aug 29 20:00:23.347 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.347 INFO kablam! Aug 29 20:00:23.347 INFO kablam! warning: function is never used: `delete_title` Aug 29 20:00:23.347 INFO kablam! --> src/business/mod.rs:89:1 Aug 29 20:00:23.347 INFO kablam! | Aug 29 20:00:23.347 INFO kablam! 89 | pub fn delete_title(db: &Database, titleid: TitleId) -> Result<(), Error> { Aug 29 20:00:23.347 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 20:00:23.347 INFO kablam! Aug 29 20:00:23.371 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:23.371 INFO kablam! --> src/api/mod.rs:166:19 Aug 29 20:00:23.371 INFO kablam! | Aug 29 20:00:23.371 INFO kablam! 166 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:23.371 INFO kablam! | ^^^^^^^^ Aug 29 20:00:23.371 INFO kablam! | Aug 29 20:00:23.371 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 29 20:00:23.371 INFO kablam! Aug 29 20:00:23.373 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:23.373 INFO kablam! --> src/api/mod.rs:175:19 Aug 29 20:00:23.373 INFO kablam! | Aug 29 20:00:23.373 INFO kablam! 175 | let (allowed, authInfo) = check_auth!(_req); Aug 29 20:00:23.373 INFO kablam! | ^^^^^^^^ Aug 29 20:00:23.373 INFO kablam! Aug 29 20:00:23.373 INFO kablam! warning: variable `authInfo` should have a snake case name such as `auth_info` Aug 29 20:00:23.373 INFO kablam! --> src/api/mod.rs:192:19 Aug 29 20:00:23.373 INFO kablam! | Aug 29 20:00:23.373 INFO kablam! 192 | let (allowed, authInfo) = check_auth!(_req, ["admin", "librarian"]); Aug 29 20:00:23.374 INFO kablam! | ^^^^^^^^ Aug 29 20:00:23.374 INFO kablam! Aug 29 20:00:23.379 INFO kablam! warning: variable `userId` should have a snake case name such as `user_id` Aug 29 20:00:23.379 INFO kablam! --> src/auth.rs:84:28 Aug 29 20:00:23.379 INFO kablam! | Aug 29 20:00:23.379 INFO kablam! 84 | pub fn get_user(&self, userId: &ExternalId) -> Result, Error> { Aug 29 20:00:23.379 INFO kablam! | ^^^^^^ Aug 29 20:00:23.379 INFO kablam! Aug 29 20:00:23.475 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1m 45s Aug 29 20:00:23.493 INFO kablam! su: No module specific data is present Aug 29 20:00:24.021 INFO running `"docker" "rm" "-f" "671cd6875c25292cee762e8998bb96cfe3fd2ddcbf77a4ca75f7c5b5e1cd74a8"` Aug 29 20:00:24.123 INFO blam! 671cd6875c25292cee762e8998bb96cfe3fd2ddcbf77a4ca75f7c5b5e1cd74a8