[INFO] cloning repository https://github.com/howlrs/boilarplate_api_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/howlrs/boilarplate_api_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhowlrs%2Fboilarplate_api_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhowlrs%2Fboilarplate_api_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9b4425b61b0ebfcedb84e31ee02b0a42b4ff65d [INFO] testing howlrs/boilarplate_api_rs against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhowlrs%2Fboilarplate_api_rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/howlrs/boilarplate_api_rs [INFO] finished tweaking git repo https://github.com/howlrs/boilarplate_api_rs [INFO] tweaked toml for git repo https://github.com/howlrs/boilarplate_api_rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/howlrs/boilarplate_api_rs on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/howlrs/boilarplate_api_rs 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.53.0 [INFO] [stderr] Downloaded windows-registry v0.4.0 [INFO] [stderr] Downloaded windows-strings v0.3.1 [INFO] [stderr] Downloaded windows-result v0.3.1 [INFO] [stderr] Downloaded unicode-id v0.3.5 [INFO] [stderr] Downloaded openssl-sys v0.9.107 [INFO] [stderr] Downloaded reqwest v0.12.15 [INFO] [stderr] Downloaded openssl v0.10.72 [INFO] [stderr] Downloaded markdown v1.0.0-alpha.23 [INFO] [stderr] Downloaded rustix v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdd2da4fae9027ff29eb1ea854a3e220a71a66c929326c2692db477b29ffe7cf [INFO] running `Command { std: "docker" "start" "-a" "cdd2da4fae9027ff29eb1ea854a3e220a71a66c929326c2692db477b29ffe7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdd2da4fae9027ff29eb1ea854a3e220a71a66c929326c2692db477b29ffe7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd2da4fae9027ff29eb1ea854a3e220a71a66c929326c2692db477b29ffe7cf", kill_on_drop: false }` [INFO] [stdout] cdd2da4fae9027ff29eb1ea854a3e220a71a66c929326c2692db477b29ffe7cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62e1308d190a63c1e76801bd730a6eac5fa722c5c4469f148b8a9fd1af3c28fa [INFO] running `Command { std: "docker" "start" "-a" "62e1308d190a63c1e76801bd730a6eac5fa722c5c4469f148b8a9fd1af3c28fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ring v0.17.13 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling zerocopy v0.8.22 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling base64ct v1.7.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling struct-path v0.2.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling markdown v1.0.0-alpha.23 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rvs_derive v0.3.2 [INFO] [stderr] Compiling rsb_derive v0.5.1 [INFO] [stderr] Compiling rvstruct v0.3.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower-util v0.3.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-compression v0.4.20 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling secret-vault-value v0.3.9 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling gcloud-sdk v0.26.3 [INFO] [stderr] Compiling axum-extra v0.10.0 [INFO] [stderr] Compiling firestore v0.44.1 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `http::response` and `path` [INFO] [stdout] --> src/api/checker.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Path, path}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | http::response, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathParams` is never constructed [INFO] [stdout] --> src/api/data.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PathParams { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryParams` is never constructed [INFO] [stdout] --> src/api/data.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct QueryParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/api/data.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_db` is never used [INFO] [stdout] --> src/api/data.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | async fn read_db(path_params: &PathParams, db: Arc) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_all`, `update`, and `delete` are never used [INFO] [stdout] --> src/common/database.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn read_all( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn update(&self, collection: &str, id: &str, data: T) -> Result<(), String> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub async fn delete(&self, collection: &str, id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MissingToken` is never constructed [INFO] [stdout] --> src/models/claim.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum AuthError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 44 | InvalidToken, [INFO] [stdout] 45 | MissingToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "62e1308d190a63c1e76801bd730a6eac5fa722c5c4469f148b8a9fd1af3c28fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62e1308d190a63c1e76801bd730a6eac5fa722c5c4469f148b8a9fd1af3c28fa", kill_on_drop: false }` [INFO] [stdout] 62e1308d190a63c1e76801bd730a6eac5fa722c5c4469f148b8a9fd1af3c28fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48c17a263768422d8ed1ff94e7e7b1dc8999a88e2d98167b5008fb75eb897a33 [INFO] running `Command { std: "docker" "start" "-a" "48c17a263768422d8ed1ff94e7e7b1dc8999a88e2d98167b5008fb75eb897a33", kill_on_drop: false }` [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `http::response` and `path` [INFO] [stdout] --> src/api/checker.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Path, path}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | http::response, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathParams` is never constructed [INFO] [stdout] --> src/api/data.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PathParams { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryParams` is never constructed [INFO] [stdout] --> src/api/data.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct QueryParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/api/data.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_db` is never used [INFO] [stdout] --> src/api/data.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | async fn read_db(path_params: &PathParams, db: Arc) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_all`, `update`, and `delete` are never used [INFO] [stdout] --> src/common/database.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn read_all( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn update(&self, collection: &str, id: &str, data: T) -> Result<(), String> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub async fn delete(&self, collection: &str, id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MissingToken` is never constructed [INFO] [stdout] --> src/models/claim.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum AuthError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 44 | InvalidToken, [INFO] [stdout] 45 | MissingToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "48c17a263768422d8ed1ff94e7e7b1dc8999a88e2d98167b5008fb75eb897a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c17a263768422d8ed1ff94e7e7b1dc8999a88e2d98167b5008fb75eb897a33", kill_on_drop: false }` [INFO] [stdout] 48c17a263768422d8ed1ff94e7e7b1dc8999a88e2d98167b5008fb75eb897a33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 03a8100fbac9278003d066f4095d84339056145ead290833185b79ac3925bc7f [INFO] running `Command { std: "docker" "start" "-a" "03a8100fbac9278003d066f4095d84339056145ead290833185b79ac3925bc7f", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `http::response` and `path` [INFO] [stderr] --> src/api/checker.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | extract::{Path, path}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 4 | http::response, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `PathParams` is never constructed [INFO] [stderr] --> src/api/data.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct PathParams { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `QueryParams` is never constructed [INFO] [stderr] --> src/api/data.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct QueryParams { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get` is never used [INFO] [stderr] --> src/api/data.rs:75:14 [INFO] [stderr] | [INFO] [stderr] 75 | pub async fn get( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_db` is never used [INFO] [stderr] --> src/api/data.rs:132:10 [INFO] [stderr] | [INFO] [stderr] 132 | async fn read_db(path_params: &PathParams, db: Arc) -> Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `read_all`, `update`, and `delete` are never used [INFO] [stderr] --> src/common/database.rs:64:18 [INFO] [stderr] | [INFO] [stderr] 10 | impl Database { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 64 | pub async fn read_all( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | pub async fn update(&self, collection: &str, id: &str, data: T) -> Result<(), String> [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | pub async fn delete(&self, collection: &str, id: &str) -> Result<(), String> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `MissingToken` is never constructed [INFO] [stderr] --> src/models/claim.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub enum AuthError { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] 44 | InvalidToken, [INFO] [stderr] 45 | MissingToken, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `backend` (bin "backend" test) generated 7 warnings (run `cargo fix --bin "backend" -p backend --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/backend-7c98b6f888690b46) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test models::utils::tests::test_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.90s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "03a8100fbac9278003d066f4095d84339056145ead290833185b79ac3925bc7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a8100fbac9278003d066f4095d84339056145ead290833185b79ac3925bc7f", kill_on_drop: false }` [INFO] [stdout] 03a8100fbac9278003d066f4095d84339056145ead290833185b79ac3925bc7f