[INFO] cloning repository https://github.com/mvl-at/keg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mvl-at/keg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvl-at%2Fkeg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvl-at%2Fkeg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5ede815ed130767f50c767748a0988c79da582d [INFO] testing mvl-at/keg against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvl-at%2Fkeg" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mvl-at/keg on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mvl-at/keg [INFO] finished tweaking git repo https://github.com/mvl-at/keg [INFO] tweaked toml for git repo https://github.com/mvl-at/keg written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/mvl-at/keg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71ef045179e6ce8c061b9b9e8db16c9935c7f60a8b52db636d921128bbc10167 [INFO] running `Command { std: "docker" "start" "-a" "71ef045179e6ce8c061b9b9e8db16c9935c7f60a8b52db636d921128bbc10167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71ef045179e6ce8c061b9b9e8db16c9935c7f60a8b52db636d921128bbc10167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ef045179e6ce8c061b9b9e8db16c9935c7f60a8b52db636d921128bbc10167", kill_on_drop: false }` [INFO] [stdout] 71ef045179e6ce8c061b9b9e8db16c9935c7f60a8b52db636d921128bbc10167 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da1a0bbff45b140ae7e483f2ad1e809d6e41f9946eef792a25248b6382b2fdcf [INFO] running `Command { std: "docker" "start" "-a" "da1a0bbff45b140ae7e483f2ad1e809d6e41f9946eef792a25248b6382b2fdcf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_okapi_codegen v0.8.0-rc.1 [INFO] [stderr] Compiling okapi v0.7.0-rc.1 [INFO] [stderr] Compiling rocket_okapi v0.8.0-rc.1 [INFO] [stderr] Compiling keg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/archive/controller.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn search_scores(params: ScoreSearchParameters) -> Json> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_score(id: i64) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn put_score(id: i64, score: Json) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/archive/controller.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn put_score(id: i64, score: Json) -> Json { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn delete_score(id: i64) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_book(id: i64) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `book` [INFO] [stdout] --> src/archive/controller.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn post_book(book: Json) -> Json { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_book` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `book` [INFO] [stdout] --> src/archive/controller.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn put_book(book: Json) -> Json { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_book` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn delete_book(id: i64) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_book_content(id: i64) -> Json> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn put_book_page(id: i64, page: Json) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/archive/controller.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn put_book_page(id: i64, page: Json) -> Json { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn delete_book_page(id: i64, page: Json) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/archive/controller.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn delete_book_page(id: i64, page: Json) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_database_field` [INFO] [stdout] --> src/archive/model.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn to_database_field(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.88s [INFO] running `Command { std: "docker" "inspect" "da1a0bbff45b140ae7e483f2ad1e809d6e41f9946eef792a25248b6382b2fdcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1a0bbff45b140ae7e483f2ad1e809d6e41f9946eef792a25248b6382b2fdcf", kill_on_drop: false }` [INFO] [stdout] da1a0bbff45b140ae7e483f2ad1e809d6e41f9946eef792a25248b6382b2fdcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c8f611e4f0a75d97b1c58aab64c4175b8e7c6a5cf8a62d88ac2553c70cc30b9 [INFO] running `Command { std: "docker" "start" "-a" "4c8f611e4f0a75d97b1c58aab64c4175b8e7c6a5cf8a62d88ac2553c70cc30b9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling keg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/archive/controller.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn search_scores(params: ScoreSearchParameters) -> Json> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_score(id: i64) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn put_score(id: i64, score: Json) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/archive/controller.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn put_score(id: i64, score: Json) -> Json { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn delete_score(id: i64) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_book(id: i64) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `book` [INFO] [stdout] --> src/archive/controller.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn post_book(book: Json) -> Json { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_book` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `book` [INFO] [stdout] --> src/archive/controller.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn put_book(book: Json) -> Json { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_book` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn delete_book(id: i64) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_book_content(id: i64) -> Json> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn put_book_page(id: i64, page: Json) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/archive/controller.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn put_book_page(id: i64, page: Json) -> Json { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/archive/controller.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn delete_book_page(id: i64, page: Json) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/archive/controller.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn delete_book_page(id: i64, page: Json) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_database_field` [INFO] [stdout] --> src/archive/model.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn to_database_field(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.70s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/keg-38efb955e8241ff1) [INFO] running `Command { std: "docker" "inspect" "4c8f611e4f0a75d97b1c58aab64c4175b8e7c6a5cf8a62d88ac2553c70cc30b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8f611e4f0a75d97b1c58aab64c4175b8e7c6a5cf8a62d88ac2553c70cc30b9", kill_on_drop: false }` [INFO] [stdout] 4c8f611e4f0a75d97b1c58aab64c4175b8e7c6a5cf8a62d88ac2553c70cc30b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d0e280700118064676d3b83624549e3caf382bb67eb2598544e1986a884a721 [INFO] running `Command { std: "docker" "start" "-a" "4d0e280700118064676d3b83624549e3caf382bb67eb2598544e1986a884a721", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/archive/controller.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn search_scores(params: ScoreSearchParameters) -> Json> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/archive/controller.rs:36:18 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn get_score(id: i64) -> Json { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/archive/controller.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn put_score(id: i64, score: Json) -> Json { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `score` [INFO] [stderr] --> src/archive/controller.rs:43:27 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn put_score(id: i64, score: Json) -> Json { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/archive/controller.rs:50:21 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn delete_score(id: i64) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/archive/controller.rs:55:17 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn get_book(id: i64) -> Json { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `book` [INFO] [stderr] --> src/archive/controller.rs:62:18 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn post_book(book: Json) -> Json { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_book` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `book` [INFO] [stderr] --> src/archive/controller.rs:69:17 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn put_book(book: Json) -> Json { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_book` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/archive/controller.rs:76:20 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn delete_book(id: i64) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/archive/controller.rs:81:25 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn get_book_content(id: i64) -> Json> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/archive/controller.rs:90:22 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn put_book_page(id: i64, page: Json) -> Json { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/archive/controller.rs:90:31 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn put_book_page(id: i64, page: Json) -> Json { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/archive/controller.rs:98:25 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn delete_book_page(id: i64, page: Json) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/archive/controller.rs:98:34 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn delete_book_page(id: i64, page: Json) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_database_field` [INFO] [stderr] --> src/archive/model.rs:221:8 [INFO] [stderr] | [INFO] [stderr] 221 | fn to_database_field(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `keg` (bin "keg" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/keg-38efb955e8241ff1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4d0e280700118064676d3b83624549e3caf382bb67eb2598544e1986a884a721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d0e280700118064676d3b83624549e3caf382bb67eb2598544e1986a884a721", kill_on_drop: false }` [INFO] [stdout] 4d0e280700118064676d3b83624549e3caf382bb67eb2598544e1986a884a721