[INFO] fetching crate libsql_replication 0.9.29... [INFO] linting libsql_replication-0.9.29 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate libsql_replication 0.9.29 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate libsql_replication 0.9.29 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate libsql_replication 0.9.29 [INFO] tweaked toml for crates.io crate libsql_replication 0.9.29 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libsql_replication 0.9.29 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 libsql_replication 0.9.29 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] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.10.0 [INFO] [stderr] Downloaded libloading v0.8.4 [INFO] [stderr] Downloaded serde v1.0.204 [INFO] [stderr] Downloaded tonic-build v0.11.0 [INFO] [stderr] Downloaded prettyplease v0.2.20 [INFO] [stderr] Downloaded serde_derive v1.0.204 [INFO] [stderr] Downloaded cc v1.1.0 [INFO] [stderr] Downloaded syn v2.0.70 [INFO] [stderr] Downloaded object v0.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] df222f5b814f3a3937f3473c117787ef7e21fb0f6bc8fd638af21fb593553c9a [INFO] running `Command { std: "docker" "start" "-a" "df222f5b814f3a3937f3473c117787ef7e21fb0f6bc8fd638af21fb593553c9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df222f5b814f3a3937f3473c117787ef7e21fb0f6bc8fd638af21fb593553c9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df222f5b814f3a3937f3473c117787ef7e21fb0f6bc8fd638af21fb593553c9a", kill_on_drop: false }` [INFO] [stdout] df222f5b814f3a3937f3473c117787ef7e21fb0f6bc8fd638af21fb593553c9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d27987ed604201b2327714e57e289305d1705a9349cbcfb76e26adbad978e4ea [INFO] running `Command { std: "docker" "start" "-a" "d27987ed604201b2327714e57e289305d1705a9349cbcfb76e26adbad978e4ea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking syn v2.0.70 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling libsql-ffi v0.9.29 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking prost-build v0.12.6 [INFO] [stderr] Checking tonic-build v0.11.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking libsql-rusqlite v0.9.29 [INFO] [stderr] Checking libsql-sys v0.9.29 [INFO] [stderr] Checking libsql_replication v0.9.29 (/opt/rustwide/workdir) [INFO] [stdout] warning: file opened with `create`, but `truncate` behavior not defined [INFO] [stdout] --> src/meta.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | .create(true) [INFO] [stdout] | ^^^^^^^^^^^^- help: add: `.truncate(true)` [INFO] [stdout] | [INFO] [stdout] = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` [INFO] [stdout] = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` [INFO] [stdout] = help: alternatively, use `.append(true)` to append to the file instead of overwriting it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options [INFO] [stdout] = note: `#[warn(clippy::suspicious_open_options)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/meta.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if !(!db_path.exists() || path.exists()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `db_path.exists() && !path.exists()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: file opened with `create`, but `truncate` behavior not defined [INFO] [stdout] --> src/meta.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | .create(true) [INFO] [stdout] | ^^^^^^^^^^^^- help: add: `.truncate(true)` [INFO] [stdout] | [INFO] [stdout] = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` [INFO] [stdout] = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` [INFO] [stdout] = help: alternatively, use `.append(true)` to append to the file instead of overwriting it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/replicator.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | / match self.injector.inject_frame(frame).await? { [INFO] [stdout] 336 | | Some(commit_fno) => { [INFO] [stdout] 337 | | self.client.commit_frame_no(commit_fno).await?; [INFO] [stdout] ... | [INFO] [stdout] 340 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 335 ~ if let Some(commit_fno) = self.injector.inject_frame(frame).await? { [INFO] [stdout] 336 + self.client.commit_frame_no(commit_fno).await?; [INFO] [stdout] 337 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/replicator.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | / match self.injector.flush().await? { [INFO] [stdout] 347 | | Some(commit_fno) => { [INFO] [stdout] 348 | | self.client.commit_frame_no(commit_fno).await?; [INFO] [stdout] ... | [INFO] [stdout] 351 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 346 ~ if let Some(commit_fno) = self.injector.flush().await? { [INFO] [stdout] 347 + self.client.commit_frame_no(commit_fno).await?; [INFO] [stdout] 348 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: file opened with `create`, but `truncate` behavior not defined [INFO] [stdout] --> src/meta.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | .create(true) [INFO] [stdout] | ^^^^^^^^^^^^- help: add: `.truncate(true)` [INFO] [stdout] | [INFO] [stdout] = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` [INFO] [stdout] = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` [INFO] [stdout] = help: alternatively, use `.append(true)` to append to the file instead of overwriting it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options [INFO] [stdout] = note: `#[warn(clippy::suspicious_open_options)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/meta.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if !(!db_path.exists() || path.exists()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `db_path.exists() && !path.exists()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: file opened with `create`, but `truncate` behavior not defined [INFO] [stdout] --> src/meta.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | .create(true) [INFO] [stdout] | ^^^^^^^^^^^^- help: add: `.truncate(true)` [INFO] [stdout] | [INFO] [stdout] = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` [INFO] [stdout] = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` [INFO] [stdout] = help: alternatively, use `.append(true)` to append to the file instead of overwriting it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/replicator.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | / match self.injector.inject_frame(frame).await? { [INFO] [stdout] 336 | | Some(commit_fno) => { [INFO] [stdout] 337 | | self.client.commit_frame_no(commit_fno).await?; [INFO] [stdout] ... | [INFO] [stdout] 340 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 335 ~ if let Some(commit_fno) = self.injector.inject_frame(frame).await? { [INFO] [stdout] 336 + self.client.commit_frame_no(commit_fno).await?; [INFO] [stdout] 337 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/replicator.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | / match self.injector.flush().await? { [INFO] [stdout] 347 | | Some(commit_fno) => { [INFO] [stdout] 348 | | self.client.commit_frame_no(commit_fno).await?; [INFO] [stdout] ... | [INFO] [stdout] 351 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 346 ~ if let Some(commit_fno) = self.injector.flush().await? { [INFO] [stdout] 347 + self.client.commit_frame_no(commit_fno).await?; [INFO] [stdout] 348 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.22s [INFO] running `Command { std: "docker" "inspect" "d27987ed604201b2327714e57e289305d1705a9349cbcfb76e26adbad978e4ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d27987ed604201b2327714e57e289305d1705a9349cbcfb76e26adbad978e4ea", kill_on_drop: false }` [INFO] [stdout] d27987ed604201b2327714e57e289305d1705a9349cbcfb76e26adbad978e4ea