[INFO] fetching crate craback 0.1.0... [INFO] testing craback-0.1.0 against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] extracting crate craback 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate craback 0.1.0 [INFO] finished tweaking crates.io crate craback 0.1.0 [INFO] tweaked toml for crates.io crate craback 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate craback 0.1.0 on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate craback 0.1.0 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-types v1.3.11 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.13 [INFO] [stderr] Downloaded aws-credential-types v1.2.11 [INFO] [stderr] Downloaded aws-smithy-query v0.60.9 [INFO] [stderr] Downloaded aws-smithy-observability v0.1.5 [INFO] [stderr] Downloaded aws-smithy-async v1.2.7 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.14 [INFO] [stderr] Downloaded aws-smithy-checksums v0.63.12 [INFO] [stderr] Downloaded aws-smithy-json v0.61.9 [INFO] [stderr] Downloaded aws-runtime v1.5.17 [INFO] [stderr] Downloaded aws-sdk-sso v1.91.0 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.93.0 [INFO] [stderr] Downloaded aws-smithy-runtime v1.9.5 [INFO] [stderr] Downloaded aws-sigv4 v1.3.7 [INFO] [stderr] Downloaded aws-config v1.8.12 [INFO] [stderr] Downloaded crc-fast v1.6.0 [INFO] [stderr] Downloaded aws-sdk-sts v1.95.0 [INFO] [stderr] Downloaded aws-lc-rs v1.15.2 [INFO] [stderr] Downloaded aws-smithy-http-client v1.1.5 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.9.3 [INFO] [stderr] Downloaded tui-textarea v0.7.0 [INFO] [stderr] Downloaded aws-smithy-types v1.3.5 [INFO] [stderr] Downloaded aws-smithy-http v0.62.6 [INFO] [stderr] Downloaded aws-sdk-s3 v1.119.0 [INFO] [stderr] Downloaded aws-lc-sys v0.35.0 [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5237f104c6f064b0c32d66841947f0c80c4b5247b826b7f5f277a3a41029f16a [INFO] running `Command { std: "docker" "start" "-a" "5237f104c6f064b0c32d66841947f0c80c4b5247b826b7f5f277a3a41029f16a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5237f104c6f064b0c32d66841947f0c80c4b5247b826b7f5f277a3a41029f16a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5237f104c6f064b0c32d66841947f0c80c4b5247b826b7f5f277a3a41029f16a", kill_on_drop: false }` [INFO] [stdout] 5237f104c6f064b0c32d66841947f0c80c4b5247b826b7f5f277a3a41029f16a [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 290ede5393e44a232f351bb70b6358e8f5def47860d127de38b9ee24ec504422 [INFO] running `Command { std: "docker" "start" "-a" "290ede5393e44a232f351bb70b6358e8f5def47860d127de38b9ee24ec504422", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling base64ct v1.8.2 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl-probe v0.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling aws-types v1.3.11 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling aws-smithy-xml v0.60.13 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling zopfli v0.8.3 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling deflate64 v0.1.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling p256 v0.11.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling crc-fast v1.6.0 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling aws-smithy-async v1.2.7 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling aws-smithy-types v1.3.5 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tui-textarea v0.7.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.9.3 [INFO] [stderr] Compiling aws-smithy-eventstream v0.60.14 [INFO] [stderr] Compiling aws-smithy-json v0.61.9 [INFO] [stderr] Compiling aws-smithy-query v0.60.9 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling aws-smithy-http v0.62.6 [INFO] [stderr] Compiling aws-credential-types v1.2.11 [INFO] [stderr] Compiling aws-smithy-observability v0.1.5 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling aws-sigv4 v1.3.7 [INFO] [stderr] Compiling aws-smithy-checksums v0.63.12 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling aws-smithy-http-client v1.1.5 [INFO] [stderr] Compiling aws-smithy-runtime v1.9.5 [INFO] [stderr] Compiling aws-runtime v1.5.17 [INFO] [stderr] Compiling aws-sdk-sts v1.95.0 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.93.0 [INFO] [stderr] Compiling aws-sdk-sso v1.91.0 [INFO] [stderr] Compiling aws-sdk-s3 v1.119.0 [INFO] [stderr] Compiling aws-config v1.8.12 [INFO] [stderr] Compiling craback v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BackupResult` and `validate_path` [INFO] [stdout] --> src/backup/mod.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | pub use engine::{BackupEngine, BackupResult, validate_path}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borders` [INFO] [stdout] --> src/tui/form.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | widgets::{Block, Borders}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::backup::engine::BackupResult` [INFO] [stdout] --> src/tui/handlers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::backup::engine::BackupResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backup/engine.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut config_loader = aws_config::defaults(BehaviorVersion::latest()) [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tui_textarea::TextArea::<'a>::widget`: calling this method is no longer necessary on rendering a textarea. pass &TextArea reference to `Frame::render_widget` method call directly [INFO] [stdout] --> src/tui/form.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | self.textarea.widget() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tui/handlers.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 315 | KeyCode::Char(c) => { [INFO] [stdout] | ---------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 340 | KeyCode::Char(' ') if state.current_form_field == 3 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stdout] --> src/tui/ui.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let size = frame.size(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_loader` [INFO] [stdout] --> src/backup/engine.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut config_loader = aws_config::defaults(BehaviorVersion::latest()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_loader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/tui/ui.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 324 | for (idx, (label, value, key)) in fields.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handled` [INFO] [stdout] --> src/tui/mod.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let handled = handlers::handle_event(Event::Key(key), &mut self.state).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success`, `total_bytes`, `duration`, `errors`, `timestamp`, and `s3_key_prefix` are never read [INFO] [stdout] --> src/backup/engine.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct BackupResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 310 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 311 | pub files_uploaded: usize, [INFO] [stdout] 312 | pub total_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 313 | pub duration: std::time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 314 | pub errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 315 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 316 | pub s3_key_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackupResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_path` is never used [INFO] [stdout] --> src/backup/engine.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn validate_path(path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_single_backup` is never used [INFO] [stdout] --> src/backup/scheduler.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn run_single_backup( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_dir` is never read [INFO] [stdout] --> src/config/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ConfigManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | config_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigManager` 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: method `get_backup` is never used [INFO] [stdout] --> src/config/models.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_backup(&self, id: &str) -> Option<&BackupItem> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_list_index` is never read [INFO] [stdout] --> src/tui/app.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub connection_list_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` 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: method `get_connection` is never used [INFO] [stdout] --> src/tui/app.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 67 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub async fn get_connection(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_input_char`, `connection_field_labels`, and `backup_field_labels` are never used [INFO] [stdout] --> src/tui/app.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl AppState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 159 | pub fn current_input_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn connection_field_labels(&self) -> Vec<(&'static str, char)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn backup_field_labels(&self) -> Vec<(&'static str, char)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormInput` is never constructed [INFO] [stdout] --> src/tui/form.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct FormInput<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tui/form.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> FormInput<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(label: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn with_placeholder(mut self, text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn set_focused(&mut self, focused: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_focused(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn handle_key(&mut self, key: KeyCode) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn value(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn set_value(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn widget<'b>(&'b mut self) -> impl ratatui::widgets::Widget + 'b { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_testing` is never used [INFO] [stdout] --> src/tui/form.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl TestStatus { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn is_testing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isSelected` should have a snake case name [INFO] [stdout] --> src/tui/ui.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let isSelected = i == state.connection_index; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_selected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isSelected` should have a snake case name [INFO] [stdout] --> src/tui/ui.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let isSelected = i == state.backup_index; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_selected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/ui.rs:308:41 [INFO] [stdout] | [INFO] [stdout] 308 | fn get_connection_dialog_content(state: &AppState) -> Text { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | fn get_connection_dialog_content(state: &AppState) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/ui.rs:382:37 [INFO] [stdout] | [INFO] [stdout] 382 | fn get_backup_dialog_content(state: &AppState) -> Text { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 382 | fn get_backup_dialog_content(state: &AppState) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/ui.rs:527:37 [INFO] [stdout] | [INFO] [stdout] 527 | fn get_status_dialog_content(state: &AppState) -> Text { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 527 | fn get_status_dialog_content(state: &AppState) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `Command { std: "docker" "inspect" "290ede5393e44a232f351bb70b6358e8f5def47860d127de38b9ee24ec504422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "290ede5393e44a232f351bb70b6358e8f5def47860d127de38b9ee24ec504422", kill_on_drop: false }` [INFO] [stdout] 290ede5393e44a232f351bb70b6358e8f5def47860d127de38b9ee24ec504422 [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fe305aeb2817aaf5018d3fa2d3502e11a9879e54c3381dfc0969909318772dd [INFO] running `Command { std: "docker" "start" "-a" "7fe305aeb2817aaf5018d3fa2d3502e11a9879e54c3381dfc0969909318772dd", kill_on_drop: false }` [INFO] [stderr] Compiling craback v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BackupResult` and `validate_path` [INFO] [stdout] --> src/backup/mod.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | pub use engine::{BackupEngine, BackupResult, validate_path}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borders` [INFO] [stdout] --> src/tui/form.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | widgets::{Block, Borders}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::backup::engine::BackupResult` [INFO] [stdout] --> src/tui/handlers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::backup::engine::BackupResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backup/engine.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut config_loader = aws_config::defaults(BehaviorVersion::latest()) [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tui_textarea::TextArea::<'a>::widget`: calling this method is no longer necessary on rendering a textarea. pass &TextArea reference to `Frame::render_widget` method call directly [INFO] [stdout] --> src/tui/form.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | self.textarea.widget() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tui/handlers.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 315 | KeyCode::Char(c) => { [INFO] [stdout] | ---------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 340 | KeyCode::Char(' ') if state.current_form_field == 3 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stdout] --> src/tui/ui.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let size = frame.size(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_loader` [INFO] [stdout] --> src/backup/engine.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut config_loader = aws_config::defaults(BehaviorVersion::latest()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_loader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/tui/ui.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 324 | for (idx, (label, value, key)) in fields.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handled` [INFO] [stdout] --> src/tui/mod.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let handled = handlers::handle_event(Event::Key(key), &mut self.state).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success`, `total_bytes`, `duration`, `errors`, `timestamp`, and `s3_key_prefix` are never read [INFO] [stdout] --> src/backup/engine.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct BackupResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 310 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 311 | pub files_uploaded: usize, [INFO] [stdout] 312 | pub total_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 313 | pub duration: std::time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 314 | pub errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 315 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 316 | pub s3_key_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackupResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_path` is never used [INFO] [stdout] --> src/backup/engine.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn validate_path(path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_single_backup` is never used [INFO] [stdout] --> src/backup/scheduler.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn run_single_backup( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_dir` is never read [INFO] [stdout] --> src/config/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ConfigManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | config_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigManager` 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: method `get_backup` is never used [INFO] [stdout] --> src/config/models.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_backup(&self, id: &str) -> Option<&BackupItem> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_list_index` is never read [INFO] [stdout] --> src/tui/app.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub connection_list_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` 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: method `get_connection` is never used [INFO] [stdout] --> src/tui/app.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 67 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub async fn get_connection(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_input_char`, `connection_field_labels`, and `backup_field_labels` are never used [INFO] [stdout] --> src/tui/app.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl AppState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 159 | pub fn current_input_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn connection_field_labels(&self) -> Vec<(&'static str, char)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn backup_field_labels(&self) -> Vec<(&'static str, char)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormInput` is never constructed [INFO] [stdout] --> src/tui/form.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct FormInput<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tui/form.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> FormInput<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(label: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn with_placeholder(mut self, text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn set_focused(&mut self, focused: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_focused(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn handle_key(&mut self, key: KeyCode) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn value(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn set_value(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn widget<'b>(&'b mut self) -> impl ratatui::widgets::Widget + 'b { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_testing` is never used [INFO] [stdout] --> src/tui/form.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl TestStatus { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn is_testing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isSelected` should have a snake case name [INFO] [stdout] --> src/tui/ui.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let isSelected = i == state.connection_index; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_selected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isSelected` should have a snake case name [INFO] [stdout] --> src/tui/ui.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let isSelected = i == state.backup_index; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_selected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/ui.rs:308:41 [INFO] [stdout] | [INFO] [stdout] 308 | fn get_connection_dialog_content(state: &AppState) -> Text { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | fn get_connection_dialog_content(state: &AppState) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/ui.rs:382:37 [INFO] [stdout] | [INFO] [stdout] 382 | fn get_backup_dialog_content(state: &AppState) -> Text { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 382 | fn get_backup_dialog_content(state: &AppState) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/ui.rs:527:37 [INFO] [stdout] | [INFO] [stdout] 527 | fn get_status_dialog_content(state: &AppState) -> Text { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 527 | fn get_status_dialog_content(state: &AppState) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.85s [INFO] running `Command { std: "docker" "inspect" "7fe305aeb2817aaf5018d3fa2d3502e11a9879e54c3381dfc0969909318772dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe305aeb2817aaf5018d3fa2d3502e11a9879e54c3381dfc0969909318772dd", kill_on_drop: false }` [INFO] [stdout] 7fe305aeb2817aaf5018d3fa2d3502e11a9879e54c3381dfc0969909318772dd [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fa8aeb34de15fad7860d67d6be431e61e829d7da6270a225dc10ece0e44fc1d7 [INFO] running `Command { std: "docker" "start" "-a" "fa8aeb34de15fad7860d67d6be431e61e829d7da6270a225dc10ece0e44fc1d7", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `BackupResult` and `validate_path` [INFO] [stderr] --> src/backup/mod.rs:3:32 [INFO] [stderr] | [INFO] [stderr] 3 | pub use engine::{BackupEngine, BackupResult, validate_path}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Borders` [INFO] [stderr] --> src/tui/form.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | widgets::{Block, Borders}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::backup::engine::BackupResult` [INFO] [stderr] --> src/tui/handlers.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::backup::engine::BackupResult; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/backup/engine.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | let mut config_loader = aws_config::defaults(BehaviorVersion::latest()) [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tui_textarea::TextArea::<'a>::widget`: calling this method is no longer necessary on rendering a textarea. pass &TextArea reference to `Frame::render_widget` method call directly [INFO] [stderr] --> src/tui/form.rs:112:23 [INFO] [stderr] | [INFO] [stderr] 112 | self.textarea.widget() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/tui/handlers.rs:340:9 [INFO] [stderr] | [INFO] [stderr] 315 | KeyCode::Char(c) => { [INFO] [stderr] | ---------------- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 340 | KeyCode::Char(' ') if state.current_form_field == 3 => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stderr] --> src/tui/ui.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | let size = frame.size(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config_loader` [INFO] [stderr] --> src/backup/engine.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | let mut config_loader = aws_config::defaults(BehaviorVersion::latest()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_loader` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/tui/ui.rs:324:30 [INFO] [stderr] | [INFO] [stderr] 324 | for (idx, (label, value, key)) in fields.iter().enumerate() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handled` [INFO] [stderr] --> src/tui/mod.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | let handled = handlers::handle_event(Event::Key(key), &mut self.state).await?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handled` [INFO] [stderr] [INFO] [stderr] warning: fields `success`, `total_bytes`, `duration`, `errors`, `timestamp`, and `s3_key_prefix` are never read [INFO] [stderr] --> src/backup/engine.rs:310:9 [INFO] [stderr] | [INFO] [stderr] 309 | pub struct BackupResult { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 310 | pub success: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 311 | pub files_uploaded: usize, [INFO] [stderr] 312 | pub total_bytes: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 313 | pub duration: std::time::Duration, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 314 | pub errors: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 315 | pub timestamp: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 316 | pub s3_key_prefix: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BackupResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `validate_path` is never used [INFO] [stderr] --> src/backup/engine.rs:319:8 [INFO] [stderr] | [INFO] [stderr] 319 | pub fn validate_path(path: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_single_backup` is never used [INFO] [stderr] --> src/backup/scheduler.rs:101:14 [INFO] [stderr] | [INFO] [stderr] 101 | pub async fn run_single_backup( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config_dir` is never read [INFO] [stderr] --> src/config/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ConfigManager { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 10 | config_dir: PathBuf, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConfigManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get_backup` is never used [INFO] [stderr] --> src/config/models.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 33 | impl Config { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn get_backup(&self, id: &str) -> Option<&BackupItem> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `connection_list_index` is never read [INFO] [stderr] --> src/tui/app.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 64 | pub connection_list_index: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get_connection` is never used [INFO] [stderr] --> src/tui/app.rs:123:18 [INFO] [stderr] | [INFO] [stderr] 67 | impl AppState { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 123 | pub async fn get_connection(&self, id: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `current_input_char`, `connection_field_labels`, and `backup_field_labels` are never used [INFO] [stderr] --> src/tui/app.rs:159:12 [INFO] [stderr] | [INFO] [stderr] 158 | impl AppState { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] 159 | pub fn current_input_char(&self) -> char { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 169 | pub fn connection_field_labels(&self) -> Vec<(&'static str, char)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 181 | pub fn backup_field_labels(&self) -> Vec<(&'static str, char)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FormInput` is never constructed [INFO] [stderr] --> src/tui/form.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct FormInput<'a> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/tui/form.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl<'a> FormInput<'a> { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 17 | pub fn new(label: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn with_placeholder(mut self, text: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn set_focused(&mut self, focused: bool) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn is_focused(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn handle_key(&mut self, key: KeyCode) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn value(&self) -> String { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn set_value(&mut self, text: &str) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn widget<'b>(&'b mut self) -> impl ratatui::widgets::Widget + 'b { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_testing` is never used [INFO] [stderr] --> src/tui/form.rs:133:12 [INFO] [stderr] | [INFO] [stderr] 124 | impl TestStatus { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 133 | pub fn is_testing(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `isSelected` should have a snake case name [INFO] [stderr] --> src/tui/ui.rs:103:21 [INFO] [stderr] | [INFO] [stderr] 103 | let isSelected = i == state.connection_index; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_selected` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `isSelected` should have a snake case name [INFO] [stderr] --> src/tui/ui.rs:172:21 [INFO] [stderr] | [INFO] [stderr] 172 | let isSelected = i == state.backup_index; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_selected` [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/tui/ui.rs:308:41 [INFO] [stderr] | [INFO] [stderr] 308 | fn get_connection_dialog_content(state: &AppState) -> Text { [INFO] [stderr] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 308 | fn get_connection_dialog_content(state: &AppState) -> Text<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/tui/ui.rs:382:37 [INFO] [stderr] | [INFO] [stderr] 382 | fn get_backup_dialog_content(state: &AppState) -> Text { [INFO] [stderr] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 382 | fn get_backup_dialog_content(state: &AppState) -> Text<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/tui/ui.rs:527:37 [INFO] [stderr] | [INFO] [stderr] 527 | fn get_status_dialog_content(state: &AppState) -> Text { [INFO] [stderr] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 527 | fn get_status_dialog_content(state: &AppState) -> Text<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `craback` (bin "craback" test) generated 26 warnings (run `cargo fix --bin "craback" -p craback --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/craback-91a283ef7342a9f8) [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" "fa8aeb34de15fad7860d67d6be431e61e829d7da6270a225dc10ece0e44fc1d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa8aeb34de15fad7860d67d6be431e61e829d7da6270a225dc10ece0e44fc1d7", kill_on_drop: false }` [INFO] [stdout] fa8aeb34de15fad7860d67d6be431e61e829d7da6270a225dc10ece0e44fc1d7