[INFO] cloning repository https://github.com/Snakesystem/rust-onboarding-admin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Snakesystem/rust-onboarding-admin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnakesystem%2Frust-onboarding-admin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnakesystem%2Frust-onboarding-admin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41fad58b6c98ad5a3ea2e96cd18442495057e618 [INFO] testing Snakesystem/rust-onboarding-admin against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnakesystem%2Frust-onboarding-admin" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Snakesystem/rust-onboarding-admin [INFO] finished tweaking git repo https://github.com/Snakesystem/rust-onboarding-admin [INFO] tweaked toml for git repo https://github.com/Snakesystem/rust-onboarding-admin written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Snakesystem/rust-onboarding-admin 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/Snakesystem/rust-onboarding-admin 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bb8-tiberius v0.16.0 [INFO] [stderr] Downloaded actix-identity v0.8.0 [INFO] [stderr] Downloaded ring v0.17.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4a5d1d72cbd5a4fc60d159037a1d1a6c797e0f92365d34484af9ced9fd8d6f33 [INFO] running `Command { std: "docker" "start" "-a" "4a5d1d72cbd5a4fc60d159037a1d1a6c797e0f92365d34484af9ced9fd8d6f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a5d1d72cbd5a4fc60d159037a1d1a6c797e0f92365d34484af9ced9fd8d6f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a5d1d72cbd5a4fc60d159037a1d1a6c797e0f92365d34484af9ced9fd8d6f33", kill_on_drop: false }` [INFO] [stdout] 4a5d1d72cbd5a4fc60d159037a1d1a6c797e0f92365d34484af9ced9fd8d6f33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d020623042697db9d14d9b30a62523625af7de2180fe84739c39608c032c0440 [INFO] running `Command { std: "docker" "start" "-a" "d020623042697db9d14d9b30a62523625af7de2180fe84739c39608c032c0440", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling connection-string v0.2.0 [INFO] [stderr] Compiling ttf-parser v0.19.2 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling pretty-hex v0.3.0 [INFO] [stderr] Compiling num-modular v0.6.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ring v0.17.12 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling num-order v1.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling pom v3.4.0 [INFO] [stderr] Compiling lopdf v0.31.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling printpdf v0.7.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling enumflags2 v0.7.11 [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 rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling handlebars v6.3.1 [INFO] [stderr] Compiling async-native-tls v0.4.0 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling bb8 v0.9.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling tiberius v0.12.3 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling bb8-tiberius v0.16.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling actix-session v0.10.1 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling actix-cors v0.7.0 [INFO] [stderr] Compiling actix-identity v0.8.0 [INFO] [stderr] Compiling rust-onboarding-admin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/services/file_service.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::{decode, DecodeError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/services/file_service.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let image_bytes = decode(base64_data).map_err(|e: DecodeError| format!("Base64 decode error: {}", e))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/services/generic_service.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | let idx = rng.gen_range(0..CHARS.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataBeneficiaryRequest` is never constructed [INFO] [stdout] --> src/contexts/model.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct DataBeneficiaryRequest { [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 `nidvalue` is never read [INFO] [stdout] --> src/contexts/model.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 471 | pub struct TableDataParams { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 479 | pub nidvalue: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableDataParams` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_log` is never used [INFO] [stdout] --> src/contexts/logger.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn init_log() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_device_info` is never used [INFO] [stdout] --> src/services/generic_service.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl GenericService { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn get_device_info(req: &HttpRequest) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `save_data_beneficiary` is never used [INFO] [stdout] --> src/services/user_service.rs:594:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl UserService { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 594 | pub async fn save_data_beneficiary(connection: web::Data>, request: DataBeneficiaryRequest, session: Claims) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "d020623042697db9d14d9b30a62523625af7de2180fe84739c39608c032c0440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d020623042697db9d14d9b30a62523625af7de2180fe84739c39608c032c0440", kill_on_drop: false }` [INFO] [stdout] d020623042697db9d14d9b30a62523625af7de2180fe84739c39608c032c0440 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a52b300dcfbea2179680f5a63cec136f5977bf6190627e06b2af9706be1afa4d [INFO] running `Command { std: "docker" "start" "-a" "a52b300dcfbea2179680f5a63cec136f5977bf6190627e06b2af9706be1afa4d", kill_on_drop: false }` [INFO] [stderr] Compiling rust-onboarding-admin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/services/file_service.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::{decode, DecodeError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/services/file_service.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let image_bytes = decode(base64_data).map_err(|e: DecodeError| format!("Base64 decode error: {}", e))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/services/generic_service.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | let idx = rng.gen_range(0..CHARS.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataBeneficiaryRequest` is never constructed [INFO] [stdout] --> src/contexts/model.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct DataBeneficiaryRequest { [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 `nidvalue` is never read [INFO] [stdout] --> src/contexts/model.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 471 | pub struct TableDataParams { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 479 | pub nidvalue: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableDataParams` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_log` is never used [INFO] [stdout] --> src/contexts/logger.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn init_log() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_device_info` is never used [INFO] [stdout] --> src/services/generic_service.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl GenericService { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn get_device_info(req: &HttpRequest) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `save_data_beneficiary` is never used [INFO] [stdout] --> src/services/user_service.rs:594:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl UserService { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 594 | pub async fn save_data_beneficiary(connection: web::Data>, request: DataBeneficiaryRequest, session: Claims) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.86s [INFO] running `Command { std: "docker" "inspect" "a52b300dcfbea2179680f5a63cec136f5977bf6190627e06b2af9706be1afa4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a52b300dcfbea2179680f5a63cec136f5977bf6190627e06b2af9706be1afa4d", kill_on_drop: false }` [INFO] [stdout] a52b300dcfbea2179680f5a63cec136f5977bf6190627e06b2af9706be1afa4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] df248887dd7abf1e6c35d16b2cbbb71fa4c4b8c7a8a293ab27cc96fce6336f3a [INFO] running `Command { std: "docker" "start" "-a" "df248887dd7abf1e6c35d16b2cbbb71fa4c4b8c7a8a293ab27cc96fce6336f3a", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> src/services/file_service.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use base64::{decode, DecodeError}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> src/services/file_service.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | let image_bytes = decode(base64_data).map_err(|e: DecodeError| format!("Base64 decode error: {}", e))?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> src/services/generic_service.rs:89:31 [INFO] [stderr] | [INFO] [stderr] 89 | let idx = rng.gen_range(0..CHARS.len()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DataBeneficiaryRequest` is never constructed [INFO] [stderr] --> src/contexts/model.rs:246:12 [INFO] [stderr] | [INFO] [stderr] 246 | pub struct DataBeneficiaryRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `nidvalue` is never read [INFO] [stderr] --> src/contexts/model.rs:479:9 [INFO] [stderr] | [INFO] [stderr] 471 | pub struct TableDataParams { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 479 | pub nidvalue: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TableDataParams` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `init_log` is never used [INFO] [stderr] --> src/contexts/logger.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn init_log() -> std::io::Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_device_info` is never used [INFO] [stderr] --> src/services/generic_service.rs:135:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl GenericService { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 135 | pub fn get_device_info(req: &HttpRequest) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `save_data_beneficiary` is never used [INFO] [stderr] --> src/services/user_service.rs:594:18 [INFO] [stderr] | [INFO] [stderr] 16 | impl UserService { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 594 | pub async fn save_data_beneficiary(connection: web::Data>, request: DataBeneficiaryRequest, session: Claims) ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-onboarding-admin` (bin "rust-onboarding-admin" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_onboarding_admin-c3808002489f9c92) [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" "df248887dd7abf1e6c35d16b2cbbb71fa4c4b8c7a8a293ab27cc96fce6336f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df248887dd7abf1e6c35d16b2cbbb71fa4c4b8c7a8a293ab27cc96fce6336f3a", kill_on_drop: false }` [INFO] [stdout] df248887dd7abf1e6c35d16b2cbbb71fa4c4b8c7a8a293ab27cc96fce6336f3a