[INFO] fetching crate informalsystems-malachitebft-wal 0.5.0... [INFO] testing informalsystems-malachitebft-wal-0.5.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate informalsystems-malachitebft-wal 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate informalsystems-malachitebft-wal 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate informalsystems-malachitebft-wal 0.5.0 [INFO] tweaked toml for crates.io crate informalsystems-malachitebft-wal 0.5.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate informalsystems-malachitebft-wal 0.5.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate informalsystems-malachitebft-wal 0.5.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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 469664f32777fb2d4a947ab6e2abfabd944c7daf50d622590a89b0799817a5f9 [INFO] running `Command { std: "docker" "start" "-a" "469664f32777fb2d4a947ab6e2abfabd944c7daf50d622590a89b0799817a5f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "469664f32777fb2d4a947ab6e2abfabd944c7daf50d622590a89b0799817a5f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "469664f32777fb2d4a947ab6e2abfabd944c7daf50d622590a89b0799817a5f9", kill_on_drop: false }` [INFO] [stdout] 469664f32777fb2d4a947ab6e2abfabd944c7daf50d622590a89b0799817a5f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d933816529cf9786a0d8b4489724695e94533bae7b608d1baa7e5013762580d1 [INFO] running `Command { std: "docker" "start" "-a" "d933816529cf9786a0d8b4489724695e94533bae7b608d1baa7e5013762580d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling advisory-lock v0.3.0 [INFO] [stderr] Compiling informalsystems-malachitebft-wal v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn first_entry(&mut self) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 413 | pub fn first_entry(&mut self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn iter(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 435 | pub fn iter(&mut self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "d933816529cf9786a0d8b4489724695e94533bae7b608d1baa7e5013762580d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d933816529cf9786a0d8b4489724695e94533bae7b608d1baa7e5013762580d1", kill_on_drop: false }` [INFO] [stdout] d933816529cf9786a0d8b4489724695e94533bae7b608d1baa7e5013762580d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efe902382a595742bf84e466443674bd3059d2b48def580bfd86a7e935a98553 [INFO] running `Command { std: "docker" "start" "-a" "efe902382a595742bf84e466443674bd3059d2b48def580bfd86a7e935a98553", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling once_cell v1.21.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sysinfo v0.26.9 [INFO] [stderr] Compiling advisory-lock v0.3.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling informalsystems-malachitebft-wal v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn first_entry(&mut self) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 413 | pub fn first_entry(&mut self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn iter(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 435 | pub fn iter(&mut self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling criterion v0.6.0 [INFO] [stderr] Compiling testdir v0.9.3 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn first_entry(&mut self) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 413 | pub fn first_entry(&mut self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn iter(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 435 | pub fn iter(&mut self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3m 17s [INFO] running `Command { std: "docker" "inspect" "efe902382a595742bf84e466443674bd3059d2b48def580bfd86a7e935a98553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efe902382a595742bf84e466443674bd3059d2b48def580bfd86a7e935a98553", kill_on_drop: false }` [INFO] [stdout] efe902382a595742bf84e466443674bd3059d2b48def580bfd86a7e935a98553 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f3cbfc2dd2986a9e5bfeb591f59bfbb98d09b5fba24cd0a78c56d82142db2375 [INFO] running `Command { std: "docker" "start" "-a" "f3cbfc2dd2986a9e5bfeb591f59bfbb98d09b5fba24cd0a78c56d82142db2375", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/log.rs:413:24 [INFO] [stderr] | [INFO] [stderr] 413 | pub fn first_entry(&mut self) -> io::Result>> { [INFO] [stderr] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 413 | pub fn first_entry(&mut self) -> io::Result>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/log.rs:435:17 [INFO] [stderr] | [INFO] [stderr] 435 | pub fn iter(&mut self) -> io::Result> { [INFO] [stderr] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 435 | pub fn iter(&mut self) -> io::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `informalsystems-malachitebft-wal` (lib) generated 2 warnings [INFO] [stderr] warning: `informalsystems-malachitebft-wal` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/informalsystems_malachitebft_wal-bad44575d6c3a8e7) [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] [stderr] Running tests/it/main.rs (/opt/rustwide/target/debug/deps/it-b7070885836de0a7) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test basic::new_wal ... ok [INFO] [stdout] test basic::empty_wal_operations ... ok [INFO] [stdout] test corruption::invalid_sequence ... ok [INFO] [stdout] test basic::open_empty_wal ... ok [INFO] [stdout] test basic::corrupted_wal ... ok [INFO] [stdout] test corruption::corrupted_crc ... ok [INFO] [stdout] test basic::write_entries ... ok [INFO] [stdout] test corruption::incomplete_entries ... ok [INFO] [stdout] test basic::restart ... ok [INFO] [stdout] test corruption::max_entry_size ... ignored [INFO] [stdout] test corruption::zero_length_entries ... FAILED [INFO] [stdout] test crashes::power_failure_simulation ... ok [INFO] [stdout] test corruption::multiple_corruptions ... ok [INFO] [stdout] test stress::entry_sizes ... ignored [INFO] [stdout] test crashes::wal_write_test ... ok [INFO] [stdout] test corruption::invalid_version ... ok [INFO] [stdout] test crashes::system_crash_during_write ... ok [INFO] [stdout] test basic::concurrent_access ... ok [INFO] [stdout] test crashes::process_termination ... ok [INFO] [stdout] test crashes::concurrent_crash_recovery ... ok [INFO] [stdout] test stress::large_number_of_entries ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- corruption::zero_length_entries stdout ---- [INFO] [stdout] Error: Custom { kind: Other, error: "Failed to acquire exclusive advisory lock: the file is already locked" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] corruption::zero_length_entries [INFO] [stdout] [INFO] [stdout] test result: FAILED. 18 passed; 1 failed; 2 ignored; 0 measured; 0 filtered out; finished in 24.62s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test it` [INFO] running `Command { std: "docker" "inspect" "f3cbfc2dd2986a9e5bfeb591f59bfbb98d09b5fba24cd0a78c56d82142db2375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3cbfc2dd2986a9e5bfeb591f59bfbb98d09b5fba24cd0a78c56d82142db2375", kill_on_drop: false }` [INFO] [stdout] f3cbfc2dd2986a9e5bfeb591f59bfbb98d09b5fba24cd0a78c56d82142db2375