[INFO] cloning repository https://github.com/freebsdly/rust-web-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/freebsdly/rust-web-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreebsdly%2Frust-web-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreebsdly%2Frust-web-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73fc88ff99c32a41eea612cbc76d64f931e33aa7 [INFO] testing freebsdly/rust-web-app against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreebsdly%2Frust-web-app" "/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/freebsdly/rust-web-app [INFO] finished tweaking git repo https://github.com/freebsdly/rust-web-app [INFO] tweaked toml for git repo https://github.com/freebsdly/rust-web-app written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/freebsdly/rust-web-app on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/freebsdly/rust-web-app 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-prometheus v0.7.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c92f5f2f111343bc8767a01da567822245c761b9aaae301c33a9fa98777ffaa [INFO] running `Command { std: "docker" "start" "-a" "0c92f5f2f111343bc8767a01da567822245c761b9aaae301c33a9fa98777ffaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c92f5f2f111343bc8767a01da567822245c761b9aaae301c33a9fa98777ffaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c92f5f2f111343bc8767a01da567822245c761b9aaae301c33a9fa98777ffaa", kill_on_drop: false }` [INFO] [stdout] 0c92f5f2f111343bc8767a01da567822245c761b9aaae301c33a9fa98777ffaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de6da79dfc278d25365e1cf7611aa6e4c759ee0c68e015075cd152e6288c5bfe [INFO] running `Command { std: "docker" "start" "-a" "de6da79dfc278d25365e1cf7611aa6e4c759ee0c68e015075cd152e6288c5bfe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling metrics v0.23.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling raw-cpuid v11.2.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling quanta v0.12.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling metrics-util v0.17.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling serde_html_form v0.2.6 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling pathdiff v0.2.2 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.15.3 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling axum-extra v0.9.6 [INFO] [stderr] Compiling axum-prometheus v0.7.0 [INFO] [stderr] Compiling api-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `claims` [INFO] [stdout] --> src/api/interface.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn test(claims: Claims) -> ApiResponse { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db_service` is never read [INFO] [stdout] --> src/api/mod.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct ApiService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | db_service: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoding` is never read [INFO] [stdout] --> src/api/jwt.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Keys { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | encoding: EncodingKey, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthBody` is never constructed [INFO] [stdout] --> src/api/jwt.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct AuthBody { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthPayload` is never constructed [INFO] [stdout] --> src/api/jwt.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct AuthPayload { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api/jwt.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl AuthBody { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 80 | fn new(access_token: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args` and `db_service` are never read [INFO] [stdout] --> src/server.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ServiceManager { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 21 | args: OnceLock, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | db_service: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `args` is never read [INFO] [stdout] --> src/db/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DbService { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 32 | args: DatabaseArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/db/mod.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl DbService { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn close(&self) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 52s [INFO] running `Command { std: "docker" "inspect" "de6da79dfc278d25365e1cf7611aa6e4c759ee0c68e015075cd152e6288c5bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6da79dfc278d25365e1cf7611aa6e4c759ee0c68e015075cd152e6288c5bfe", kill_on_drop: false }` [INFO] [stdout] de6da79dfc278d25365e1cf7611aa6e4c759ee0c68e015075cd152e6288c5bfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a19baf080c1b94e126b695627fe48621be189401aba5d4a522bad91ffc6a6166 [INFO] running `Command { std: "docker" "start" "-a" "a19baf080c1b94e126b695627fe48621be189401aba5d4a522bad91ffc6a6166", kill_on_drop: false }` [INFO] [stderr] Compiling api-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `claims` [INFO] [stdout] --> src/api/interface.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn test(claims: Claims) -> ApiResponse { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db_service` is never read [INFO] [stdout] --> src/api/mod.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct ApiService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | db_service: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoding` is never read [INFO] [stdout] --> src/api/jwt.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Keys { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | encoding: EncodingKey, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthBody` is never constructed [INFO] [stdout] --> src/api/jwt.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct AuthBody { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthPayload` is never constructed [INFO] [stdout] --> src/api/jwt.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct AuthPayload { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api/jwt.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl AuthBody { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 80 | fn new(access_token: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args` and `db_service` are never read [INFO] [stdout] --> src/server.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ServiceManager { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 21 | args: OnceLock, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | db_service: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `args` is never read [INFO] [stdout] --> src/db/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DbService { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 32 | args: DatabaseArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/db/mod.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl DbService { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn close(&self) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "a19baf080c1b94e126b695627fe48621be189401aba5d4a522bad91ffc6a6166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a19baf080c1b94e126b695627fe48621be189401aba5d4a522bad91ffc6a6166", kill_on_drop: false }` [INFO] [stdout] a19baf080c1b94e126b695627fe48621be189401aba5d4a522bad91ffc6a6166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf2ee85a9bfc6049ef4ae2f4bdf93f775d3dcfa18d0db3054c489b729875583d [INFO] running `Command { std: "docker" "start" "-a" "bf2ee85a9bfc6049ef4ae2f4bdf93f775d3dcfa18d0db3054c489b729875583d", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `claims` [INFO] [stderr] --> src/api/interface.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn test(claims: Claims) -> ApiResponse { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `db_service` is never read [INFO] [stderr] --> src/api/mod.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 100 | pub struct ApiService { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 103 | db_service: Arc>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `encoding` is never read [INFO] [stderr] --> src/api/jwt.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 14 | struct Keys { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 15 | encoding: EncodingKey, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AuthBody` is never constructed [INFO] [stderr] --> src/api/jwt.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | struct AuthBody { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AuthPayload` is never constructed [INFO] [stderr] --> src/api/jwt.rs:74:8 [INFO] [stderr] | [INFO] [stderr] 74 | struct AuthPayload { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/api/jwt.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 79 | impl AuthBody { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 80 | fn new(access_token: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `args` and `db_service` are never read [INFO] [stderr] --> src/server.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct ServiceManager { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 21 | args: OnceLock, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | db_service: Arc>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `args` is never read [INFO] [stderr] --> src/db/mod.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct DbService { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 32 | args: DatabaseArgs, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `close` is never used [INFO] [stderr] --> src/db/mod.rs:47:18 [INFO] [stderr] | [INFO] [stderr] 36 | impl DbService { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 47 | pub async fn close(&self) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `api-server` (bin "api-server" test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api_server-ff8c9eabf21118f8) [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" "bf2ee85a9bfc6049ef4ae2f4bdf93f775d3dcfa18d0db3054c489b729875583d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2ee85a9bfc6049ef4ae2f4bdf93f775d3dcfa18d0db3054c489b729875583d", kill_on_drop: false }` [INFO] [stdout] bf2ee85a9bfc6049ef4ae2f4bdf93f775d3dcfa18d0db3054c489b729875583d