[INFO] cloning repository https://github.com/LittleDitto/MessageRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LittleDitto/MessageRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittleDitto%2FMessageRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittleDitto%2FMessageRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 513035ac1ebba03a986e264bfffc69f3af9edd40 [INFO] checking LittleDitto/MessageRust against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittleDitto%2FMessageRust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LittleDitto/MessageRust [INFO] finished tweaking git repo https://github.com/LittleDitto/MessageRust [INFO] tweaked toml for git repo https://github.com/LittleDitto/MessageRust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LittleDitto/MessageRust on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LittleDitto/MessageRust 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4195888b9f5e93276adb899198d4b2dbb6b1763e4f6328bd8c7994e927edfc65 [INFO] running `Command { std: "docker" "start" "4195888b9f5e93276adb899198d4b2dbb6b1763e4f6328bd8c7994e927edfc65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4195888b9f5e93276adb899198d4b2dbb6b1763e4f6328bd8c7994e927edfc65", 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" "4195888b9f5e93276adb899198d4b2dbb6b1763e4f6328bd8c7994e927edfc65" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4195888b9f5e93276adb899198d4b2dbb6b1763e4f6328bd8c7994e927edfc65", 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" "4195888b9f5e93276adb899198d4b2dbb6b1763e4f6328bd8c7994e927edfc65" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking microservices_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/connection/database.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connection/database.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `Unauthorized`, and `Conflict` are never constructed [INFO] [stdout] --> src/errors/app_error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 7 | DatabaseError(String), [INFO] [stdout] 8 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Unauthorized(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | Conflict(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: field `pool` is never read [INFO] [stdout] --> src/connection/database.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connection/database.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `Unauthorized`, and `Conflict` are never constructed [INFO] [stdout] --> src/errors/app_error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 7 | DatabaseError(String), [INFO] [stdout] 8 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Unauthorized(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | Conflict(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 47.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4195888b9f5e93276adb899198d4b2dbb6b1763e4f6328bd8c7994e927edfc65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4195888b9f5e93276adb899198d4b2dbb6b1763e4f6328bd8c7994e927edfc65", kill_on_drop: false }` [INFO] [stdout] 4195888b9f5e93276adb899198d4b2dbb6b1763e4f6328bd8c7994e927edfc65