[INFO] cloning repository https://github.com/satyamjay-iitd/crabstore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/satyamjay-iitd/crabstore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatyamjay-iitd%2Fcrabstore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatyamjay-iitd%2Fcrabstore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1c7954d60685c3fb89d1405c62e3534915d3ba0 [INFO] checking satyamjay-iitd/crabstore against try#e5b0618d996a6a3941e423fd3e170737b8dbdc92 for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatyamjay-iitd%2Fcrabstore" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/satyamjay-iitd/crabstore [INFO] finished tweaking git repo https://github.com/satyamjay-iitd/crabstore [INFO] tweaked toml for git repo https://github.com/satyamjay-iitd/crabstore written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/satyamjay-iitd/crabstore on toolchain e5b0618d996a6a3941e423fd3e170737b8dbdc92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/satyamjay-iitd/crabstore 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" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "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 prost v0.13.1 [INFO] [stderr] Downloaded prost-derive v0.13.1 [INFO] [stderr] Downloaded multimap v0.10.0 [INFO] [stderr] Downloaded prost-types v0.13.1 [INFO] [stderr] Downloaded tokio-serde v0.9.0 [INFO] [stderr] Downloaded pyo3-macros v0.22.2 [INFO] [stderr] Downloaded pyo3-build-config v0.22.2 [INFO] [stderr] Downloaded clap v4.5.15 [INFO] [stderr] Downloaded prettyplease v0.2.20 [INFO] [stderr] Downloaded prost-build v0.13.1 [INFO] [stderr] Downloaded cc v1.1.10 [INFO] [stderr] Downloaded pyo3-ffi v0.22.2 [INFO] [stderr] Downloaded syn v2.0.74 [INFO] [stderr] Downloaded pyo3-macros-backend v0.22.2 [INFO] [stderr] Downloaded pyo3 v0.22.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3d1a13eb9a4306fccb48a1c97ba7a246ede642c5bb96120a86de36c0495ad22 [INFO] running `Command { std: "docker" "start" "-a" "a3d1a13eb9a4306fccb48a1c97ba7a246ede642c5bb96120a86de36c0495ad22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3d1a13eb9a4306fccb48a1c97ba7a246ede642c5bb96120a86de36c0495ad22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d1a13eb9a4306fccb48a1c97ba7a246ede642c5bb96120a86de36c0495ad22", kill_on_drop: false }` [INFO] [stdout] a3d1a13eb9a4306fccb48a1c97ba7a246ede642c5bb96120a86de36c0495ad22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9299fac0785111431752a8f5f724a3fd42ababb4071be9129ba1648b2969af4a [INFO] running `Command { std: "docker" "start" "-a" "9299fac0785111431752a8f5f724a3fd42ababb4071be9129ba1648b2969af4a", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling pyo3-build-config v0.22.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling pyo3-ffi v0.22.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.2 [INFO] [stderr] Compiling pyo3 v0.22.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-serde v0.9.0 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Checking prost-types v0.13.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling pyo3-macros v0.22.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling prost-build v0.13.1 [INFO] [stderr] Compiling crabstore-common v0.0.1 (/opt/rustwide/workdir/crates/crabstore-common) [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking crabstore-client v0.1.0 (/opt/rustwide/workdir/crates/crabstore-client) [INFO] [stderr] Checking crabstore-store v0.0.1 (/opt/rustwide/workdir/crates/crabstore-server) [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> crates/crabstore-server/src/allocator.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | fn allocate(size: i64) -> Allocation { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocation` [INFO] [stdout] --> crates/crabstore-server/src/allocator.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | fn free(allocation: Allocation) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocator` [INFO] [stdout] --> crates/crabstore-server/src/store.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | async fn handle_client(stream: UnixStream, allocator: Arc>) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Allocation` is never constructed [INFO] [stdout] --> crates/crabstore-server/src/allocator.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Allocation {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Allocator` is never used [INFO] [stdout] --> crates/crabstore-server/src/allocator.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait Allocator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mem_mapped_dir` is never read [INFO] [stdout] --> crates/crabstore-server/src/runner.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Runner { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | mem_mapped_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> crates/crabstore-server/src/allocator.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | fn allocate(size: i64) -> Allocation { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocation` [INFO] [stdout] --> crates/crabstore-server/src/allocator.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | fn free(allocation: Allocation) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocator` [INFO] [stdout] --> crates/crabstore-server/src/store.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | async fn handle_client(stream: UnixStream, allocator: Arc>) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/crabstore-server/src/runner.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | runtime.block_on(async { self.store.start().await }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = runtime.block_on(async { self.store.start().await }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Allocation` is never constructed [INFO] [stdout] --> crates/crabstore-server/src/allocator.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Allocation {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Allocator` is never used [INFO] [stdout] --> crates/crabstore-server/src/allocator.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait Allocator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mem_mapped_dir` is never read [INFO] [stdout] --> crates/crabstore-server/src/runner.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Runner { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | mem_mapped_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/crabstore-server/src/runner.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | runtime.block_on(async { self.store.start().await }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = runtime.block_on(async { self.store.start().await }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crabstore_client::CrabClient` [INFO] [stdout] --> crates/crabstore-client/examples/demo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crabstore_client::CrabClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CrabClient` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 | use crabstore_client::client::CrabClient; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/crabstore-client/examples/demo.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | client.connect().await.expect("Couldn't send data"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/crabstore-client/examples/demo.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / client [INFO] [stdout] 13 | | .create(&oid, 20, 20) [INFO] [stdout] 14 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crabstore-client` (example "demo") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "9299fac0785111431752a8f5f724a3fd42ababb4071be9129ba1648b2969af4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9299fac0785111431752a8f5f724a3fd42ababb4071be9129ba1648b2969af4a", kill_on_drop: false }` [INFO] [stdout] 9299fac0785111431752a8f5f724a3fd42ababb4071be9129ba1648b2969af4a