[INFO] cloning repository https://github.com/teatang/api-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teatang/api-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteatang%2Fapi-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteatang%2Fapi-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e2ecd9c1927ca81c2c9c08b2370849660fd14c6a
[INFO] checking teatang/api-demo against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteatang%2Fapi-demo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/teatang/api-demo
[INFO] finished tweaking git repo https://github.com/teatang/api-demo
[INFO] tweaked toml for git repo https://github.com/teatang/api-demo written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/teatang/api-demo on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/teatang/api-demo 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking teatang/api-demo against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteatang%2Fapi-demo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/teatang/api-demo
[INFO] finished tweaking git repo https://github.com/teatang/api-demo
[INFO] tweaked toml for git repo https://github.com/teatang/api-demo written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/teatang/api-demo on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/teatang/api-demo 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "fetch" "--manifest-path" "Cargo.toml", 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]  Downloading crates ...
[INFO] [stderr]   Downloaded rusqlite v0.31.0
[INFO] [stderr]   Downloaded tower-http v0.5.2
[INFO] [stderr]   Downloaded libsqlite3-sys v0.28.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f7905de3b1cfe51ff421f7efcedf8b80cc5066ed719c07607503f8686bd80e8b
[INFO] running `Command { std: "docker" "start" "f7905de3b1cfe51ff421f7efcedf8b80cc5066ed719c07607503f8686bd80e8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f7905de3b1cfe51ff421f7efcedf8b80cc5066ed719c07607503f8686bd80e8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f7905de3b1cfe51ff421f7efcedf8b80cc5066ed719c07607503f8686bd80e8b" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f7905de3b1cfe51ff421f7efcedf8b80cc5066ed719c07607503f8686bd80e8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f7905de3b1cfe51ff421f7efcedf8b80cc5066ed719c07607503f8686bd80e8b" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking pin-project v1.1.11
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tracing-appender v0.2.4
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking rusqlite v0.31.0
[INFO] [stderr]     Checking api-demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `param_idx` is assigned to, but never used
[INFO] [stdout]    --> src/db/repository.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let mut param_idx = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_param_idx` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `param_idx` is never read
[INFO] [stdout]    --> src/db/repository.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         param_idx += 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 168 |         param_idx += 1;
[INFO] [stdout]     |         -------------- `param_idx` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `param_idx` is never read
[INFO] [stdout]    --> src/db/repository.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         param_idx += 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `param_idx` is assigned to, but never used
[INFO] [stdout]    --> src/db/repository.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let mut param_idx = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_param_idx` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `param_idx` is never read
[INFO] [stdout]    --> src/db/repository.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         param_idx += 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 168 |         param_idx += 1;
[INFO] [stdout]     |         -------------- `param_idx` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `param_idx` is never read
[INFO] [stdout]    --> src/db/repository.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         param_idx += 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_db` is never used
[INFO] [stdout]   --> src/db/repository.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn init_db(database_url: &str) -> Result<DbConnection, AppError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Internal` is never constructed
[INFO] [stdout]   --> src/error.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum AppError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     Internal(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` 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 `init_db` is never used
[INFO] [stdout]   --> src/db/repository.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn init_db(database_url: &str) -> Result<DbConnection, AppError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Internal` is never constructed
[INFO] [stdout]   --> src/error.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum AppError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     Internal(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.50s
[INFO] running `Command { std: "docker" "inspect" "f7905de3b1cfe51ff421f7efcedf8b80cc5066ed719c07607503f8686bd80e8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7905de3b1cfe51ff421f7efcedf8b80cc5066ed719c07607503f8686bd80e8b", kill_on_drop: false }`
[INFO] [stdout] f7905de3b1cfe51ff421f7efcedf8b80cc5066ed719c07607503f8686bd80e8b
