[INFO] fetching crate yarli 0.2.0... [INFO] linting yarli-0.2.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate yarli 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate yarli 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate yarli 0.2.0 [INFO] tweaked toml for crates.io crate yarli 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yarli 0.2.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yarli 0.2.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" "+nightly" "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 prost-types v0.13.5 [INFO] [stderr] Downloaded tokio-tungstenite v0.24.0 [INFO] [stderr] Downloaded tonic-build v0.12.3 [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded tracing-opentelemetry v0.27.0 [INFO] [stderr] Downloaded owo-colors v4.2.3 [INFO] [stderr] Downloaded prost-derive v0.13.5 [INFO] [stderr] Downloaded opentelemetry_sdk v0.26.0 [INFO] [stderr] Downloaded instability v0.3.7 [INFO] [stderr] Downloaded prometheus-client v0.23.1 [INFO] [stderr] Downloaded opentelemetry-proto v0.26.1 [INFO] [stderr] Downloaded tonic v0.12.3 [INFO] [stderr] Downloaded opentelemetry v0.26.0 [INFO] [stderr] Downloaded prost-build v0.13.5 [INFO] [stderr] Downloaded sw4rm-sdk v0.4.0 [INFO] [stderr] Downloaded prost v0.13.5 [INFO] [stderr] Downloaded opentelemetry-otlp v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6ab8eebe7463c60c2b2453a42a26af9e557dd5dadede6656cb4a873fdb953fe [INFO] running `Command { std: "docker" "start" "-a" "a6ab8eebe7463c60c2b2453a42a26af9e557dd5dadede6656cb4a873fdb953fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6ab8eebe7463c60c2b2453a42a26af9e557dd5dadede6656cb4a873fdb953fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6ab8eebe7463c60c2b2453a42a26af9e557dd5dadede6656cb4a873fdb953fe", kill_on_drop: false }` [INFO] [stdout] a6ab8eebe7463c60c2b2453a42a26af9e557dd5dadede6656cb4a873fdb953fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef681d35150b604f3c7e4dc762565db1a95660a15bff66667f24695c75f81fa8 [INFO] running `Command { std: "docker" "start" "-a" "ef681d35150b604f3c7e4dc762565db1a95660a15bff66667f24695c75f81fa8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking opentelemetry v0.26.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.2.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling protoc-bin-vendored-macos-aarch_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-s390_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored v3.2.0 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling prometheus-client v0.23.1 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling yarli v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] warning: yarli@0.2.0: commithooks source not found; skipping hook install [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Checking opentelemetry_sdk v0.26.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tracing-opentelemetry v0.27.0 [INFO] [stderr] Compiling sw4rm-sdk v0.4.0 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking opentelemetry-proto v0.26.1 [INFO] [stderr] Checking opentelemetry-otlp v0.26.0 [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> crates/yarli-cli/src/dashboard/renderer.rs:452:26 [INFO] [stdout] | [INFO] [stdout] 452 | .map_err(|error| io::Error::new(io::ErrorKind::Other, error))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 452 - .map_err(|error| io::Error::new(io::ErrorKind::Other, error))?; [INFO] [stdout] 452 + .map_err(|error| io::Error::other(error))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> crates/yarli-cli/src/prompt.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / impl Default for RunSpecPlanGuardMode { [INFO] [stdout] 76 | | fn default() -> Self { [INFO] [stdout] 77 | | Self::Implement [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 70 + #[derive(Default)] [INFO] [stdout] 71 | pub enum RunSpecPlanGuardMode { [INFO] [stdout] 72 ~ #[default] [INFO] [stdout] 73 ~ Implement, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> crates/yarli-cli/src/stream/events.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / pub enum StreamEvent { [INFO] [stdout] 20 | | /// A task is known/planned for this run before transitions are emitted. [INFO] [stdout] 21 | | TaskDiscovered { [INFO] [stdout] 22 | | task_id: TaskId, [INFO] [stdout] ... | [INFO] [stdout] 28 | |/ TaskTransition { [INFO] [stdout] 29 | || task_id: TaskId, [INFO] [stdout] 30 | || task_name: String, [INFO] [stdout] 31 | || from: TaskState, [INFO] [stdout] ... || [INFO] [stdout] 36 | || at: DateTime, [INFO] [stdout] 37 | || }, [INFO] [stdout] | ||_____- the second-largest variant contains at least 102 bytes [INFO] [stdout] ... | [INFO] [stdout] 73 | | RunExited { payload: ContinuationPayload }, [INFO] [stdout] | | ------------------------------------------ the largest variant contains at least 520 bytes [INFO] [stdout] ... | [INFO] [stdout] 76 | | Tick, [INFO] [stdout] 77 | | } [INFO] [stdout] | |__^ the entire enum is at least 520 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 73 - RunExited { payload: ContinuationPayload }, [INFO] [stdout] 73 + RunExited { payload: Box }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> crates/yarli-cli/src/../../yarli-core/src/entities/command_execution.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | / if self.started_at.is_none() { [INFO] [stdout] 167 | | self.started_at = Some(now); [INFO] [stdout] 168 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 165 ~ CommandState::CmdStarted | CommandState::CmdStreaming [INFO] [stdout] 166 ~ if self.started_at.is_none() => { [INFO] [stdout] 167 | self.started_at = Some(now); [INFO] [stdout] 168 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> crates/yarli-cli/src/dashboard/renderer.rs:452:26 [INFO] [stdout] | [INFO] [stdout] 452 | .map_err(|error| io::Error::new(io::ErrorKind::Other, error))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 452 - .map_err(|error| io::Error::new(io::ErrorKind::Other, error))?; [INFO] [stdout] 452 + .map_err(|error| io::Error::other(error))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> crates/yarli-cli/src/prompt.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / impl Default for RunSpecPlanGuardMode { [INFO] [stdout] 76 | | fn default() -> Self { [INFO] [stdout] 77 | | Self::Implement [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 70 + #[derive(Default)] [INFO] [stdout] 71 | pub enum RunSpecPlanGuardMode { [INFO] [stdout] 72 ~ #[default] [INFO] [stdout] 73 ~ Implement, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> crates/yarli-cli/src/stream/events.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / pub enum StreamEvent { [INFO] [stdout] 20 | | /// A task is known/planned for this run before transitions are emitted. [INFO] [stdout] 21 | | TaskDiscovered { [INFO] [stdout] 22 | | task_id: TaskId, [INFO] [stdout] ... | [INFO] [stdout] 28 | |/ TaskTransition { [INFO] [stdout] 29 | || task_id: TaskId, [INFO] [stdout] 30 | || task_name: String, [INFO] [stdout] 31 | || from: TaskState, [INFO] [stdout] ... || [INFO] [stdout] 36 | || at: DateTime, [INFO] [stdout] 37 | || }, [INFO] [stdout] | ||_____- the second-largest variant contains at least 102 bytes [INFO] [stdout] ... | [INFO] [stdout] 73 | | RunExited { payload: ContinuationPayload }, [INFO] [stdout] | | ------------------------------------------ the largest variant contains at least 520 bytes [INFO] [stdout] ... | [INFO] [stdout] 76 | | Tick, [INFO] [stdout] 77 | | } [INFO] [stdout] | |__^ the entire enum is at least 520 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 73 - RunExited { payload: ContinuationPayload }, [INFO] [stdout] 73 + RunExited { payload: Box }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> crates/yarli-cli/src/../../yarli-core/src/entities/command_execution.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | / if self.started_at.is_none() { [INFO] [stdout] 167 | | self.started_at = Some(now); [INFO] [stdout] 168 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 165 ~ CommandState::CmdStarted | CommandState::CmdStreaming [INFO] [stdout] 166 ~ if self.started_at.is_none() => { [INFO] [stdout] 167 | self.started_at = Some(now); [INFO] [stdout] 168 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> crates/yarli-cli/src/commands.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | leases.sort_by(|left, right| left.lease_expires_at.cmp(&right.lease_expires_at)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 298 - leases.sort_by(|left, right| left.lease_expires_at.cmp(&right.lease_expires_at)); [INFO] [stdout] 298 + leases.sort_by_key(|left| left.lease_expires_at); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> crates/yarli-cli/src/commands.rs:2065:5 [INFO] [stdout] | [INFO] [stdout] 2065 | task_states.sort_by(|left, right| left.0.cmp(&right.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 2065 - task_states.sort_by(|left, right| left.0.cmp(&right.0)); [INFO] [stdout] 2065 + task_states.sort_by_key(|left| left.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> crates/yarli-cli/src/config.rs:750:1 [INFO] [stdout] | [INFO] [stdout] 750 | / impl Default for BackendKind { [INFO] [stdout] 751 | | fn default() -> Self { [INFO] [stdout] 752 | | Self::InMemory [INFO] [stdout] 753 | | } [INFO] [stdout] 754 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 736 + #[derive(Default)] [INFO] [stdout] 737 | pub enum BackendKind { [INFO] [stdout] 738 ~ #[default] [INFO] [stdout] 739 ~ InMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> crates/yarli-cli/src/config.rs:1357:1 [INFO] [stdout] | [INFO] [stdout] 1357 | / impl Default for RunPlanGuardModeConfig { [INFO] [stdout] 1358 | | fn default() -> Self { [INFO] [stdout] 1359 | | Self::Implement [INFO] [stdout] 1360 | | } [INFO] [stdout] 1361 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 1352 + #[derive(Default)] [INFO] [stdout] 1353 | pub enum RunPlanGuardModeConfig { [INFO] [stdout] 1354 ~ #[default] [INFO] [stdout] 1355 ~ Implement, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> crates/yarli-cli/src/observers.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | / if self.inject_on_failure { [INFO] [stdout] 194 | | self.emit_task_hints(store, event, "blocked").await; [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 192 ~ "task.blocked" [INFO] [stdout] 193 ~ if self.inject_on_failure => { [INFO] [stdout] 194 | self.emit_task_hints(store, event, "blocked").await; [INFO] [stdout] 195 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> crates/yarli-cli/src/commands.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | leases.sort_by(|left, right| left.lease_expires_at.cmp(&right.lease_expires_at)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 298 - leases.sort_by(|left, right| left.lease_expires_at.cmp(&right.lease_expires_at)); [INFO] [stdout] 298 + leases.sort_by_key(|left| left.lease_expires_at); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> crates/yarli-cli/src/commands.rs:2065:5 [INFO] [stdout] | [INFO] [stdout] 2065 | task_states.sort_by(|left, right| left.0.cmp(&right.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 2065 - task_states.sort_by(|left, right| left.0.cmp(&right.0)); [INFO] [stdout] 2065 + task_states.sort_by_key(|left| left.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> crates/yarli-cli/src/config.rs:750:1 [INFO] [stdout] | [INFO] [stdout] 750 | / impl Default for BackendKind { [INFO] [stdout] 751 | | fn default() -> Self { [INFO] [stdout] 752 | | Self::InMemory [INFO] [stdout] 753 | | } [INFO] [stdout] 754 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 736 + #[derive(Default)] [INFO] [stdout] 737 | pub enum BackendKind { [INFO] [stdout] 738 ~ #[default] [INFO] [stdout] 739 ~ InMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> crates/yarli-cli/src/config.rs:1357:1 [INFO] [stdout] | [INFO] [stdout] 1357 | / impl Default for RunPlanGuardModeConfig { [INFO] [stdout] 1358 | | fn default() -> Self { [INFO] [stdout] 1359 | | Self::Implement [INFO] [stdout] 1360 | | } [INFO] [stdout] 1361 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 1352 + #[derive(Default)] [INFO] [stdout] 1353 | pub enum RunPlanGuardModeConfig { [INFO] [stdout] 1354 ~ #[default] [INFO] [stdout] 1355 ~ Implement, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> crates/yarli-cli/src/observers.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | / if self.inject_on_failure { [INFO] [stdout] 194 | | self.emit_task_hints(store, event, "blocked").await; [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 192 ~ "task.blocked" [INFO] [stdout] 193 ~ if self.inject_on_failure => { [INFO] [stdout] 194 | self.emit_task_hints(store, event, "blocked").await; [INFO] [stdout] 195 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 30s [INFO] running `Command { std: "docker" "inspect" "ef681d35150b604f3c7e4dc762565db1a95660a15bff66667f24695c75f81fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef681d35150b604f3c7e4dc762565db1a95660a15bff66667f24695c75f81fa8", kill_on_drop: false }` [INFO] [stdout] ef681d35150b604f3c7e4dc762565db1a95660a15bff66667f24695c75f81fa8