[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#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreebsdly%2Frust-web-app" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/freebsdly/rust-web-app on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.91 [INFO] [stderr] Downloaded anstyle-wincon v3.0.6 [INFO] [stderr] Downloaded rust-ini v0.20.0 [INFO] [stderr] Downloaded cpufeatures v0.2.15 [INFO] [stderr] Downloaded pem v3.0.4 [INFO] [stderr] Downloaded anyhow v1.0.93 [INFO] [stderr] Downloaded serde v1.0.215 [INFO] [stderr] Downloaded serde_html_form v0.2.6 [INFO] [stderr] Downloaded pest_derive v2.7.14 [INFO] [stderr] Downloaded axum-extra v0.9.6 [INFO] [stderr] Downloaded h2 v0.4.7 [INFO] [stderr] Downloaded portable-atomic v1.10.0 [INFO] [stderr] Downloaded raw-cpuid v11.2.0 [INFO] [stderr] Downloaded hyper v1.5.1 [INFO] [stderr] Downloaded syn v2.0.89 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] [stderr] Downloaded serde_json v1.0.133 [INFO] [stderr] Downloaded hashbrown v0.15.1 [INFO] [stderr] Downloaded clap_builder v4.5.21 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded pest v2.7.14 [INFO] [stderr] Downloaded cc v1.2.1 [INFO] [stderr] Downloaded clap v4.5.21 [INFO] [stderr] Downloaded allocator-api2 v0.2.20 [INFO] [stderr] Downloaded hashlink v0.8.4 [INFO] [stderr] Downloaded libc v0.2.164 [INFO] [stderr] Downloaded jsonwebtoken v9.3.0 [INFO] [stderr] Downloaded ipnetwork v0.20.0 [INFO] [stderr] Downloaded tokio v1.41.1 [INFO] [stderr] Downloaded metrics v0.23.0 [INFO] [stderr] Downloaded sketches-ddsketch v0.2.2 [INFO] [stderr] Downloaded rsa v0.9.7 [INFO] [stderr] Downloaded quanta v0.12.3 [INFO] [stderr] Downloaded axum-prometheus v0.7.0 [INFO] [stderr] Downloaded clap_lex v0.7.3 [INFO] [stderr] Downloaded pest_generator v2.7.14 [INFO] [stderr] Downloaded fastrand v2.2.0 [INFO] [stderr] Downloaded tower-http v0.6.2 [INFO] [stderr] Downloaded serde_derive v1.0.215 [INFO] [stderr] Downloaded metrics-util v0.17.0 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.15.3 [INFO] [stderr] Downloaded pest_meta v2.7.14 [INFO] [stderr] Downloaded itoa v1.0.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91b06a2995f2a8a73537d4b07ae2e611fe2c9ce2383a7a7b61a655a22ffc5495 [INFO] running `Command { std: "docker" "start" "-a" "91b06a2995f2a8a73537d4b07ae2e611fe2c9ce2383a7a7b61a655a22ffc5495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91b06a2995f2a8a73537d4b07ae2e611fe2c9ce2383a7a7b61a655a22ffc5495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91b06a2995f2a8a73537d4b07ae2e611fe2c9ce2383a7a7b61a655a22ffc5495", kill_on_drop: false }` [INFO] [stdout] 91b06a2995f2a8a73537d4b07ae2e611fe2c9ce2383a7a7b61a655a22ffc5495 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0fb8ef56736e808830ab039f3f35e573459d61deea322188aeb159bfdb2e256 [INFO] running `Command { std: "docker" "start" "-a" "d0fb8ef56736e808830ab039f3f35e573459d61deea322188aeb159bfdb2e256", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling syn v2.0.89 [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 crossbeam-epoch v0.9.18 [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 rand_core v0.6.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling pathdiff v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.215 [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 displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling metrics v0.23.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_html_form v0.2.6 [INFO] [stderr] Compiling raw-cpuid v11.2.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.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 config v0.14.1 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.15.3 [INFO] [stderr] Compiling axum-prometheus v0.7.0 [INFO] [stderr] Compiling axum-extra v0.9.6 [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 1m 49s [INFO] running `Command { std: "docker" "inspect" "d0fb8ef56736e808830ab039f3f35e573459d61deea322188aeb159bfdb2e256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0fb8ef56736e808830ab039f3f35e573459d61deea322188aeb159bfdb2e256", kill_on_drop: false }` [INFO] [stdout] d0fb8ef56736e808830ab039f3f35e573459d61deea322188aeb159bfdb2e256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fd1ac3df833b41ba1612103b81bb3d4e8251e5169f98770357d1ca1ca79ab44 [INFO] running `Command { std: "docker" "start" "-a" "1fd1ac3df833b41ba1612103b81bb3d4e8251e5169f98770357d1ca1ca79ab44", 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 1.88s [INFO] running `Command { std: "docker" "inspect" "1fd1ac3df833b41ba1612103b81bb3d4e8251e5169f98770357d1ca1ca79ab44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fd1ac3df833b41ba1612103b81bb3d4e8251e5169f98770357d1ca1ca79ab44", kill_on_drop: false }` [INFO] [stdout] 1fd1ac3df833b41ba1612103b81bb3d4e8251e5169f98770357d1ca1ca79ab44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 214c36c7abeaf27b4ce23916ca14a9d1c5d61d33e91ad0c5cedf6503dfcf63b3 [INFO] running `Command { std: "docker" "start" "-a" "214c36c7abeaf27b4ce23916ca14a9d1c5d61d33e91ad0c5cedf6503dfcf63b3", 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.34s [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" "214c36c7abeaf27b4ce23916ca14a9d1c5d61d33e91ad0c5cedf6503dfcf63b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214c36c7abeaf27b4ce23916ca14a9d1c5d61d33e91ad0c5cedf6503dfcf63b3", kill_on_drop: false }` [INFO] [stdout] 214c36c7abeaf27b4ce23916ca14a9d1c5d61d33e91ad0c5cedf6503dfcf63b3