[INFO] cloning repository https://github.com/vikv1/rustpanda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vikv1/rustpanda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvikv1%2Frustpanda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvikv1%2Frustpanda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4205c246563ab9a6b58a030127e1766f694698ea [INFO] checking vikv1/rustpanda against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvikv1%2Frustpanda" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vikv1/rustpanda [INFO] finished tweaking git repo https://github.com/vikv1/rustpanda [INFO] tweaked toml for git repo https://github.com/vikv1/rustpanda written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vikv1/rustpanda on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vikv1/rustpanda 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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sketches-ddsketch v0.1.3 [INFO] [stderr] Downloaded rlimit v0.6.2 [INFO] [stderr] Downloaded owned-alloc v0.2.0 [INFO] [stderr] Downloaded enclose v1.2.1 [INFO] [stderr] Downloaded buddy-alloc v0.4.2 [INFO] [stderr] Downloaded concurrent-queue v1.2.4 [INFO] [stderr] Downloaded cache-padded v1.3.0 [INFO] [stderr] Downloaded lockfree v0.5.1 [INFO] [stderr] Downloaded glommio v0.9.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbae3ec104df7235e9bbb22290810698563fa0c474794bf650ea140c245112ae [INFO] running `Command { std: "docker" "start" "-a" "fbae3ec104df7235e9bbb22290810698563fa0c474794bf650ea140c245112ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbae3ec104df7235e9bbb22290810698563fa0c474794bf650ea140c245112ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbae3ec104df7235e9bbb22290810698563fa0c474794bf650ea140c245112ae", kill_on_drop: false }` [INFO] [stdout] fbae3ec104df7235e9bbb22290810698563fa0c474794bf650ea140c245112ae [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" "-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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11026893fd54e2e2a8cd40afc81c99cb78cd888c7420bde0c1bf2bc6801de636 [INFO] running `Command { std: "docker" "start" "-a" "11026893fd54e2e2a8cd40afc81c99cb78cd888c7420bde0c1bf2bc6801de636", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking cache-padded v1.3.0 [INFO] [stderr] Checking owned-alloc v0.2.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking concurrent-queue v1.2.4 [INFO] [stderr] Checking lockfree v0.5.1 [INFO] [stderr] Checking intrusive-collections v0.9.7 [INFO] [stderr] Checking buddy-alloc v0.4.2 [INFO] [stderr] Checking sketches-ddsketch v0.1.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking bitmaps v3.2.1 [INFO] [stderr] Checking enclose v1.2.1 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking tokio v1.52.1 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling glommio v0.9.0 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rlimit v0.6.2 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rustpanda v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rustpanda::wal::Wal` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rustpanda::wal::Wal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused import: `rustpanda::wal::Wal` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rustpanda::wal::Wal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> benches/wal_bench.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | ... wal.append(&msg).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 31 - wal.append(&msg).await; [INFO] [stdout] 31 + wal.append(&msg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> benches/wal_bench.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | ... wal.append(&msg).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 36 - wal.append(&msg).await; [INFO] [stdout] 36 + wal.append(&msg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> benches/wal_bench.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | ... wal.append(&msg).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 72 - wal.append(&msg).await; [INFO] [stdout] 72 + wal.append(&msg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> benches/wal_bench.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | ... wal.append(&msg).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 77 - wal.append(&msg).await; [INFO] [stdout] 77 + wal.append(&msg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> benches/wal_bench.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | ... offsets.push(wal.append(&msg).await); [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 113 - offsets.push(wal.append(&msg).await); [INFO] [stdout] 113 + offsets.push(wal.append(&msg)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> benches/wal_bench.rs:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | let first_offset = wal.append(&msg).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 159 - let first_offset = wal.append(&msg).await; [INFO] [stdout] 159 + let first_offset = wal.append(&msg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> benches/wal_bench.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | ... wal.append(&msg).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 161 - wal.append(&msg).await; [INFO] [stdout] 161 + wal.append(&msg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/wal_bench.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | ... let (_, next) = wal.read(offset).await; [INFO] [stdout] | ^^^^^^^^^ ---------------------- this expression has type `Result, ReadError>` [INFO] [stdout] | | [INFO] [stdout] | expected `Result, ReadError>`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, ReadError>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/wal_bench.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | ... let (_, next) = wal.read(offset).await; [INFO] [stdout] | ^^^^^^^^^ ---------------------- this expression has type `Result, ReadError>` [INFO] [stdout] | | [INFO] [stdout] | expected `Result, ReadError>`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, ReadError>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> benches/wal_bench.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 210 | let offset = wal.append(&msg).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 210 - let offset = wal.append(&msg).await; [INFO] [stdout] 210 + let offset = wal.append(&msg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> benches/wal_bench.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | let offset = wal.append(&msg).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 216 - let offset = wal.append(&msg).await; [INFO] [stdout] 216 + let offset = wal.append(&msg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustpanda` (bench "wal_bench") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `offset4` [INFO] [stdout] --> src/wal.rs:654:8 [INFO] [stdout] | [INFO] [stdout] 654 | let offset4 = wal.append(b"batch 2 data").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset4` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wal.rs:741:8 [INFO] [stdout] | [INFO] [stdout] 741 | let mut expected_corrupted_offset; [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] running `Command { std: "docker" "inspect" "11026893fd54e2e2a8cd40afc81c99cb78cd888c7420bde0c1bf2bc6801de636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11026893fd54e2e2a8cd40afc81c99cb78cd888c7420bde0c1bf2bc6801de636", kill_on_drop: false }` [INFO] [stdout] 11026893fd54e2e2a8cd40afc81c99cb78cd888c7420bde0c1bf2bc6801de636