[INFO] cloning repository https://github.com/ParkMyCar/consensus-benchmarking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ParkMyCar/consensus-benchmarking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParkMyCar%2Fconsensus-benchmarking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParkMyCar%2Fconsensus-benchmarking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bb63b9c895484d32021b848c0438a19086c0e3d [INFO] building ParkMyCar/consensus-benchmarking against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParkMyCar%2Fconsensus-benchmarking" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ParkMyCar/consensus-benchmarking [INFO] finished tweaking git repo https://github.com/ParkMyCar/consensus-benchmarking [INFO] tweaked toml for git repo https://github.com/ParkMyCar/consensus-benchmarking written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ParkMyCar/consensus-benchmarking on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ParkMyCar/consensus-benchmarking 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool-postgres v0.14.1 [INFO] [stderr] Downloaded console-subscriber v0.1.10 [INFO] [stderr] Downloaded postgres-native-tls v0.5.1 [INFO] [stderr] Downloaded console-api v0.5.0 [INFO] [stderr] Downloaded deadpool v0.12.2 [INFO] [stderr] Downloaded rand_distr v0.5.1 [INFO] [stderr] Downloaded tonic v0.9.2 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e82e292e72aab845bac7e7d2d8828cfb8c92b3947823b3c43484e0beb59b2fd2 [INFO] running `Command { std: "docker" "start" "-a" "e82e292e72aab845bac7e7d2d8828cfb8c92b3947823b3c43484e0beb59b2fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e82e292e72aab845bac7e7d2d8828cfb8c92b3947823b3c43484e0beb59b2fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e82e292e72aab845bac7e7d2d8828cfb8c92b3947823b3c43484e0beb59b2fd2", kill_on_drop: false }` [INFO] [stdout] e82e292e72aab845bac7e7d2d8828cfb8c92b3947823b3c43484e0beb59b2fd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 762814c50a5c5e23a6f32786b9daf187ec9d33d550a1ea2c9640297189d177c0 [INFO] running `Command { std: "docker" "start" "-a" "762814c50a5c5e23a6f32786b9daf187ec9d33d550a1ea2c9640297189d177c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling deadpool v0.12.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling deadpool-postgres v0.14.1 [INFO] [stderr] Compiling postgres-native-tls v0.5.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.9.2 [INFO] [stderr] Compiling console-api v0.5.0 [INFO] [stderr] Compiling console-subscriber v0.1.10 [INFO] [stderr] Compiling consensus-benchmarking v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let total = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 70 | let _total = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DEFAULT_MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 70 - let total = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] 70 + let DEFAULT_MAX_SIZE = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(obj: Object, context: Option) -> ConnectionWrapper { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/lib.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let total = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 86 | let _total = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DEFAULT_MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 86 - let total = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] 86 + let DEFAULT_MAX_SIZE = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ConnectionWrapper { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 63 | conn: Object, [INFO] [stdout] 64 | idx: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_STATE_BYTES` is never used [INFO] [stdout] --> src/bin/simulate.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const MAX_STATE_BYTES: u32 = 4000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_num_deletes` is never read [INFO] [stdout] --> src/bin/simulate.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct ShardSimulation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 147 | state_num_deletes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `random_state` is never used [INFO] [stdout] --> src/bin/simulate.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 154 | impl ShardSimulation { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 383 | fn random_state(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `APPEND_QUERY_A` is never used [INFO] [stdout] --> src/bin/simulate.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | static APPEND_QUERY_A: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TRUNCATE_QUERY_A` is never used [INFO] [stdout] --> src/bin/simulate.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | static TRUNCATE_QUERY_A: &str = "DELETE FROM materialize1.consensus [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "762814c50a5c5e23a6f32786b9daf187ec9d33d550a1ea2c9640297189d177c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "762814c50a5c5e23a6f32786b9daf187ec9d33d550a1ea2c9640297189d177c0", kill_on_drop: false }` [INFO] [stdout] 762814c50a5c5e23a6f32786b9daf187ec9d33d550a1ea2c9640297189d177c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c2b82fa4447679dddb94251e408a928a9df89b7b543e8f259bf701a7074c0e4 [INFO] running `Command { std: "docker" "start" "-a" "1c2b82fa4447679dddb94251e408a928a9df89b7b543e8f259bf701a7074c0e4", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let total = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 70 | let _total = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DEFAULT_MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 70 - let total = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] 70 + let DEFAULT_MAX_SIZE = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(obj: Object, context: Option) -> ConnectionWrapper { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/lib.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let total = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 86 | let _total = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DEFAULT_MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 86 - let total = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] 86 + let DEFAULT_MAX_SIZE = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ConnectionWrapper { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 63 | conn: Object, [INFO] [stdout] 64 | idx: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling consensus-benchmarking v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let total = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 70 | let _total = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DEFAULT_MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 70 - let total = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] 70 + let DEFAULT_MAX_SIZE = TOTAL_COUNT.fetch_add(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(obj: Object, context: Option) -> ConnectionWrapper { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/lib.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let total = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 86 | let _total = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DEFAULT_MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 86 - let total = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] 86 + let DEFAULT_MAX_SIZE = TOTAL_COUNT.fetch_sub(1, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ConnectionWrapper { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 63 | conn: Object, [INFO] [stdout] 64 | idx: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_STATE_BYTES` is never used [INFO] [stdout] --> src/bin/simulate.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const MAX_STATE_BYTES: u32 = 4000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_num_deletes` is never read [INFO] [stdout] --> src/bin/simulate.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct ShardSimulation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 147 | state_num_deletes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `random_state` is never used [INFO] [stdout] --> src/bin/simulate.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 154 | impl ShardSimulation { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 383 | fn random_state(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `APPEND_QUERY_A` is never used [INFO] [stdout] --> src/bin/simulate.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | static APPEND_QUERY_A: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TRUNCATE_QUERY_A` is never used [INFO] [stdout] --> src/bin/simulate.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | static TRUNCATE_QUERY_A: &str = "DELETE FROM materialize1.consensus [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "1c2b82fa4447679dddb94251e408a928a9df89b7b543e8f259bf701a7074c0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c2b82fa4447679dddb94251e408a928a9df89b7b543e8f259bf701a7074c0e4", kill_on_drop: false }` [INFO] [stdout] 1c2b82fa4447679dddb94251e408a928a9df89b7b543e8f259bf701a7074c0e4