[INFO] cloning repository https://github.com/hyziri/chat-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hyziri/chat-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyziri%2Fchat-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyziri%2Fchat-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3dfac6d94751c40583cec72c67b24b663be59e6 [INFO] checking hyziri/chat-example against master#656ccbe796ff98def9b555c118e1620c5389e3b2 for pr-133502-24 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyziri%2Fchat-example" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hyziri/chat-example [INFO] finished tweaking git repo https://github.com/hyziri/chat-example [INFO] tweaked toml for git repo https://github.com/hyziri/chat-example written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hyziri/chat-example on toolchain 656ccbe796ff98def9b555c118e1620c5389e3b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hyziri/chat-example 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" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-sessions-redis-store v0.16.0 [INFO] [stderr] Downloaded deadpool-postgres v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9fc9037c465b5b100e94d23b6386805c281ac353fba44e88b9b39ca3341393d1 [INFO] running `Command { std: "docker" "start" "9fc9037c465b5b100e94d23b6386805c281ac353fba44e88b9b39ca3341393d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fc9037c465b5b100e94d23b6386805c281ac353fba44e88b9b39ca3341393d1", 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" "9fc9037c465b5b100e94d23b6386805c281ac353fba44e88b9b39ca3341393d1" "/opt/rustwide/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fc9037c465b5b100e94d23b6386805c281ac353fba44e88b9b39ca3341393d1", 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" "9fc9037c465b5b100e94d23b6386805c281ac353fba44e88b9b39ca3341393d1" "/opt/rustwide/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Checking cookie-factory v0.3.2 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking rmp v0.8.15 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking redis-protocol v6.0.0 [INFO] [stderr] Compiling fred-macros v0.1.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking whoami v2.1.1 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking rmp-serde v1.3.1 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking tower-cookies v0.11.0 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking async-compression v0.4.25 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking tower-sessions-core v0.14.0 [INFO] [stderr] Checking fred v10.1.0 [INFO] [stderr] Checking postgres-protocol v0.6.10 [INFO] [stderr] Checking tower-sessions-memory-store v0.14.0 [INFO] [stderr] Checking postgres-types v0.2.12 [INFO] [stderr] Checking tower-sessions v0.14.0 [INFO] [stderr] Checking tokio-postgres v0.7.16 [INFO] [stderr] Checking deadpool-postgres v0.14.1 [INFO] [stderr] Checking tera v1.20.1 [INFO] [stderr] Checking tower-sessions-redis-store v0.16.0 [INFO] [stderr] Checking chat_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Form` [INFO] [stdout] --> src/controller/register.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Form, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/model/user.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Form` [INFO] [stdout] --> src/controller/register.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Form, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/model/user.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/controller/register.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn register(State(state): State) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/controller/register.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn register(State(state): State) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/model/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | db: Pool, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` 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: method `db` is never used [INFO] [stdout] --> src/model/app.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn db(&self) -> &Pool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/model/user.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/model/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | db: Pool, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` 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: method `db` is never used [INFO] [stdout] --> src/model/app.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn db(&self) -> &Pool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/model/user.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.85s [INFO] running `Command { std: "docker" "inspect" "9fc9037c465b5b100e94d23b6386805c281ac353fba44e88b9b39ca3341393d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fc9037c465b5b100e94d23b6386805c281ac353fba44e88b9b39ca3341393d1", kill_on_drop: false }` [INFO] [stdout] 9fc9037c465b5b100e94d23b6386805c281ac353fba44e88b9b39ca3341393d1