[INFO] cloning repository https://github.com/Anki-Portal/akpt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anki-Portal/akpt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnki-Portal%2Fakpt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnki-Portal%2Fakpt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d3153885d4f7880dc89befefbe2cd7e602ac65a9
[INFO] testing Anki-Portal/akpt against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnki-Portal%2Fakpt" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Anki-Portal/akpt
[INFO] finished tweaking git repo https://github.com/Anki-Portal/akpt
[INFO] tweaked toml for git repo https://github.com/Anki-Portal/akpt written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anki-Portal/akpt on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Anki-Portal/akpt already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 87717a86b66c87fbef5355bceef52a722077acc4e2de4575828ba002dfb834cb
[INFO] running `Command { std: "docker" "start" "-a" "87717a86b66c87fbef5355bceef52a722077acc4e2de4575828ba002dfb834cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87717a86b66c87fbef5355bceef52a722077acc4e2de4575828ba002dfb834cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87717a86b66c87fbef5355bceef52a722077acc4e2de4575828ba002dfb834cb", kill_on_drop: false }`
[INFO] [stdout] 87717a86b66c87fbef5355bceef52a722077acc4e2de4575828ba002dfb834cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] beae0a2f6b86e8239d02147f9e7c1925cb6ca4cf4cd7ea14f8c2bb4cb7702929
[INFO] running `Command { std: "docker" "start" "-a" "beae0a2f6b86e8239d02147f9e7c1925cb6ca4cf4cd7ea14f8c2bb4cb7702929", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.90
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling tracing-core v0.1.26
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling httparse v1.7.0
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling os_str_bytes v6.0.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling clap v3.1.8
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling proc_macros v0.1.0 (/opt/rustwide/workdir/proc_macros)
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tracing v0.1.34
[INFO] [stderr]    Compiling tokio-util v0.7.1
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling hyper v0.14.18
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling akpt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `process::exit`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{process::exit, error::Error};
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/commands/get/model.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, fs::{self, File}, io::Write, path::PathBuf};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/commands/get/model.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{json, Value};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AnkiResponse`
[INFO] [stdout]  --> src/commands/get/model.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 9 |     request::{request, response::{parse_response, AnkiResponse, response_types::{ModelNamesAndIds, ModelFieldNames, ModelTemplates, Model...
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/request.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/request/response.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `field_names`
[INFO] [stdout]    --> src/commands/get/model.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let field_names = parse_response::<ModelFieldNames>(field_response);
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_names`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `templates`
[INFO] [stdout]    --> src/commands/get/model.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let templates = parse_response::<ModelTemplates>(template_response);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_templates`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `styling`
[INFO] [stdout]    --> src/commands/get/model.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let styling = parse_response::<ModelStyling>(styling_response).css;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_styling`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_model` and `get_model` are never used
[INFO] [stdout]    --> src/config.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl ConfigData {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn add_model(&mut self, model: ModelConfig) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn get_model(&self, name: &str) -> Result<ModelConfig, String> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `front` and `back` are never read
[INFO] [stdout]   --> src/request/response/response_types.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ModelTemplate {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 13 |     #[serde(rename = "Front")]
[INFO] [stdout] 14 |     pub front: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 15 |     #[serde(rename = "Back")]
[INFO] [stdout] 16 |     pub back: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_workspace` is never used
[INFO] [stdout]  --> src/tools/workspace.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn is_workspace(path: &Path) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 08s
[INFO] running `Command { std: "docker" "inspect" "beae0a2f6b86e8239d02147f9e7c1925cb6ca4cf4cd7ea14f8c2bb4cb7702929", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "beae0a2f6b86e8239d02147f9e7c1925cb6ca4cf4cd7ea14f8c2bb4cb7702929", kill_on_drop: false }`
[INFO] [stdout] beae0a2f6b86e8239d02147f9e7c1925cb6ca4cf4cd7ea14f8c2bb4cb7702929
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7f1f58b7dbecdf3cf2928010b94d3b21570733b9c41ad1b30f0d279e779d9754
[INFO] running `Command { std: "docker" "start" "-a" "7f1f58b7dbecdf3cf2928010b94d3b21570733b9c41ad1b30f0d279e779d9754", kill_on_drop: false }`
[INFO] [stderr]    Compiling akpt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `process::exit`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{process::exit, error::Error};
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/commands/get/model.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, fs::{self, File}, io::Write, path::PathBuf};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/commands/get/model.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{json, Value};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AnkiResponse`
[INFO] [stdout]  --> src/commands/get/model.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 9 |     request::{request, response::{parse_response, AnkiResponse, response_types::{ModelNamesAndIds, ModelFieldNames, ModelTemplates, Model...
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/request.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/request/response.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `field_names`
[INFO] [stdout]    --> src/commands/get/model.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let field_names = parse_response::<ModelFieldNames>(field_response);
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_names`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `templates`
[INFO] [stdout]    --> src/commands/get/model.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let templates = parse_response::<ModelTemplates>(template_response);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_templates`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `styling`
[INFO] [stdout]    --> src/commands/get/model.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let styling = parse_response::<ModelStyling>(styling_response).css;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_styling`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_model` and `get_model` are never used
[INFO] [stdout]    --> src/config.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl ConfigData {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn add_model(&mut self, model: ModelConfig) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn get_model(&self, name: &str) -> Result<ModelConfig, String> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `front` and `back` are never read
[INFO] [stdout]   --> src/request/response/response_types.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ModelTemplate {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 13 |     #[serde(rename = "Front")]
[INFO] [stdout] 14 |     pub front: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 15 |     #[serde(rename = "Back")]
[INFO] [stdout] 16 |     pub back: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_workspace` is never used
[INFO] [stdout]  --> src/tools/workspace.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn is_workspace(path: &Path) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "7f1f58b7dbecdf3cf2928010b94d3b21570733b9c41ad1b30f0d279e779d9754", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f1f58b7dbecdf3cf2928010b94d3b21570733b9c41ad1b30f0d279e779d9754", kill_on_drop: false }`
[INFO] [stdout] 7f1f58b7dbecdf3cf2928010b94d3b21570733b9c41ad1b30f0d279e779d9754
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 87a1f4208bcf60be3260fa8d3f9d629d231f98663f291131fef33250a969e07a
[INFO] running `Command { std: "docker" "start" "-a" "87a1f4208bcf60be3260fa8d3f9d629d231f98663f291131fef33250a969e07a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `process::exit`
[INFO] [stderr]  --> src/main.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{process::exit, error::Error};
[INFO] [stderr]   |           ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `File`
[INFO] [stderr]  --> src/commands/get/model.rs:1:58
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{collections::HashMap, error::Error, fs::{self, File}, io::Write, path::PathBuf};
[INFO] [stderr]   |                                                          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Value`
[INFO] [stderr]  --> src/commands/get/model.rs:4:24
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde_json::{json, Value};
[INFO] [stderr]   |                        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AnkiResponse`
[INFO] [stderr]  --> src/commands/get/model.rs:9:51
[INFO] [stderr]   |
[INFO] [stderr] 9 |     request::{request, response::{parse_response, AnkiResponse, response_types::{ModelNamesAndIds, ModelFieldNames, ModelTemplates, Model...
[INFO] [stderr]   |                                                   ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Value`
[INFO] [stderr]  --> src/request.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use serde_json::Value;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/request/response.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `field_names`
[INFO] [stderr]    --> src/commands/get/model.rs:150:13
[INFO] [stderr]     |
[INFO] [stderr] 150 |         let field_names = parse_response::<ModelFieldNames>(field_response);
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_names`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `templates`
[INFO] [stderr]    --> src/commands/get/model.rs:153:13
[INFO] [stderr]     |
[INFO] [stderr] 153 |         let templates = parse_response::<ModelTemplates>(template_response);
[INFO] [stderr]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_templates`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `styling`
[INFO] [stderr]    --> src/commands/get/model.rs:156:13
[INFO] [stderr]     |
[INFO] [stderr] 156 |         let styling = parse_response::<ModelStyling>(styling_response).css;
[INFO] [stderr]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_styling`
[INFO] [stderr] 
[INFO] [stderr] warning: methods `add_model` and `get_model` are never used
[INFO] [stderr]    --> src/config.rs:110:12
[INFO] [stderr]     |
[INFO] [stderr] 102 | impl ConfigData {
[INFO] [stderr]     | --------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 110 |     pub fn add_model(&mut self, model: ModelConfig) -> Result<(), String> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 129 |     pub fn get_model(&self, name: &str) -> Result<ModelConfig, String> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `front` and `back` are never read
[INFO] [stderr]   --> src/request/response/response_types.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct ModelTemplate {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] 13 |     #[serde(rename = "Front")]
[INFO] [stderr] 14 |     pub front: String,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 15 |     #[serde(rename = "Back")]
[INFO] [stderr] 16 |     pub back: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ModelTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_workspace` is never used
[INFO] [stderr]  --> src/tools/workspace.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub fn is_workspace(path: &Path) -> bool {
[INFO] [stderr]   |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `akpt` (bin "akpt" test) generated 12 warnings (run `cargo fix --bin "akpt" --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/akpt-4c0bb709cf1f0764)
[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" "87a1f4208bcf60be3260fa8d3f9d629d231f98663f291131fef33250a969e07a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87a1f4208bcf60be3260fa8d3f9d629d231f98663f291131fef33250a969e07a", kill_on_drop: false }`
[INFO] [stdout] 87a1f4208bcf60be3260fa8d3f9d629d231f98663f291131fef33250a969e07a
