[INFO] fetching crate mongobar 0.2.5... [INFO] testing mongobar-0.2.5 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mongobar 0.2.5 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate mongobar 0.2.5 [INFO] finished tweaking crates.io crate mongobar 0.2.5 [INFO] tweaked toml for crates.io crate mongobar 0.2.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mongobar 0.2.5 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mongobar 0.2.5 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json_path_core v0.1.6 [INFO] [stderr] Downloaded serde_json_path_macros_internal v0.1.1 [INFO] [stderr] Downloaded serde_json_path_macros v0.1.4 [INFO] [stderr] Downloaded tui-input v0.9.0 [INFO] [stderr] Downloaded mongodb-internal-macros v3.0.0 [INFO] [stderr] Downloaded serde_json_path v0.6.7 [INFO] [stderr] Downloaded console-api v0.8.0 [INFO] [stderr] Downloaded tokio-console v0.1.11 [INFO] [stderr] Downloaded console-api v0.7.0 [INFO] [stderr] Downloaded clap_complete v4.5.7 [INFO] [stderr] Downloaded console-subscriber v0.4.0 [INFO] [stderr] Downloaded bson v2.11.0 [INFO] [stderr] Downloaded mongodb v3.0.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93d3fbff2b579f40216219ca184ab0f14e2f355551f32f61f5c286165ebd797a [INFO] running `Command { std: "docker" "start" "-a" "93d3fbff2b579f40216219ca184ab0f14e2f355551f32f61f5c286165ebd797a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93d3fbff2b579f40216219ca184ab0f14e2f355551f32f61f5c286165ebd797a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d3fbff2b579f40216219ca184ab0f14e2f355551f32f61f5c286165ebd797a", kill_on_drop: false }` [INFO] [stdout] 93d3fbff2b579f40216219ca184ab0f14e2f355551f32f61f5c286165ebd797a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1125dea32280843914046b2ad5874cd9e5ddefd5199605e26708faccdfd1b023 [INFO] running `Command { std: "docker" "start" "-a" "1125dea32280843914046b2ad5874cd9e5ddefd5199605e26708faccdfd1b023", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling inventory v0.3.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling serde_json_path_core v0.1.6 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling prost-types v0.13.1 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling serde_json_path_macros_internal v0.1.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling bson v2.11.0 [INFO] [stderr] Compiling clap_builder v4.5.8 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling tonic v0.12.1 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling serde_json_path_macros v0.1.4 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling console-api v0.8.0 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling mongodb-internal-macros v3.0.0 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling console-subscriber v0.4.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling ratatui v0.27.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling mongodb v3.0.0 [INFO] [stderr] Compiling serde_json_path v0.6.7 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tui-input v0.9.0 [INFO] [stderr] Compiling clap v4.5.8 [INFO] [stderr] Compiling mongobar v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/mongo_stats.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ops, [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 import: `action::Aggregate` [INFO] [stdout] --> src/mongo_stats.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use mongodb::{action::Aggregate, Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress_total` [INFO] [stdout] --> src/mongobar/mod.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | let progress_total = progress_total.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_total` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_qps` [INFO] [stdout] --> src/mongobar/mod.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | let query_qps = query_qps.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_qps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upsert` [INFO] [stdout] --> src/mongobar/mod.rs:693:57 [INFO] [stdout] | [INFO] [stdout] 693 | ... let upsert = update [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_upsert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upsert` [INFO] [stdout] --> src/mongobar/mod.rs:734:53 [INFO] [stdout] | [INFO] [stdout] 734 | ... let upsert = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_upsert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/mongobar/mod.rs:810:53 [INFO] [stdout] | [INFO] [stdout] 810 | ... let limit = delete.get_i64("limit").unwrap_or(0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/mongobar/mod.rs:829:49 [INFO] [stdout] | [INFO] [stdout] 829 | ... let limit = delete.get_i64("limit").unwrap_or(0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/mongobar/mod.rs:973:13 [INFO] [stdout] | [INFO] [stdout] 973 | let client = Client::with_uri_str(self.config.uri.clone()).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_index` [INFO] [stdout] --> src/mongobar/op_logs.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn read(&self, thread_index: usize, row_index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_index` [INFO] [stdout] --> src/mongobar/op_logs.rs:174:45 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn read(&self, thread_index: usize, row_index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/ui.rs:476:33 [INFO] [stdout] | [INFO] [stdout] 476 | ... let filter = app.ui.filter.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/ui.rs:592:33 [INFO] [stdout] | [INFO] [stdout] 592 | ... let filter = app.ui.filter.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/ui.rs:640:33 [INFO] [stdout] | [INFO] [stdout] 640 | ... let filter = app.ui.filter.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur` [INFO] [stdout] --> src/ui.rs:366:37 [INFO] [stdout] | [INFO] [stdout] 366 | ... let cur = Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/ui.rs:846:44 [INFO] [stdout] | [INFO] [stdout] 846 | fn render_title(f: &mut Frame, area: Rect, app: &App, title: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sub` and `map_set` are never used [INFO] [stdout] --> src/indicator.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Metric { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn sub(&self, value: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn map_set(&self, key: &str, value: Count) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fork` is never used [INFO] [stdout] --> src/mongobar/mod.rs:1726:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Mongobar { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1726 | fn fork(&self, indic: Indicator) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lock` is never read [INFO] [stdout] --> src/mongobar/op_logs.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct OpLogs { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub lock: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpLogs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/mongobar/op_row.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct OpRow { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tool/analyze.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub audit_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub docs_examined: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub instanceid: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub keys_examined: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub return_num: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub thread_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub time: u64, [INFO] [stdout] 31 | pub user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub user_ip: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `boot_at` and `v` are never read [INFO] [stdout] --> src/ui.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | boot_at: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | v: f64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_replay_view` is never used [INFO] [stdout] --> src/ui.rs:801:4 [INFO] [stdout] | [INFO] [stdout] 801 | fn render_replay_view(frame: &mut Frame, area: Rect, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 36s [INFO] running `Command { std: "docker" "inspect" "1125dea32280843914046b2ad5874cd9e5ddefd5199605e26708faccdfd1b023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1125dea32280843914046b2ad5874cd9e5ddefd5199605e26708faccdfd1b023", kill_on_drop: false }` [INFO] [stdout] 1125dea32280843914046b2ad5874cd9e5ddefd5199605e26708faccdfd1b023 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4a89c49f1ab3e24012bd56c0cdc8562c225b36472229364137c85b822c32078 [INFO] running `Command { std: "docker" "start" "-a" "f4a89c49f1ab3e24012bd56c0cdc8562c225b36472229364137c85b822c32078", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.8 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ratatui v0.27.0 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling tui-input v0.9.0 [INFO] [stderr] Compiling clap v4.5.8 [INFO] [stderr] Compiling clap_complete v4.5.7 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling mongodb v3.0.0 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling tonic v0.12.1 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling console-api v0.8.0 [INFO] [stderr] Compiling console-subscriber v0.4.0 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling console-api v0.7.0 [INFO] [stderr] Compiling tokio-console v0.1.11 [INFO] [stderr] Compiling mongobar v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/mongo_stats.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ops, [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 import: `action::Aggregate` [INFO] [stdout] --> src/mongo_stats.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use mongodb::{action::Aggregate, Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress_total` [INFO] [stdout] --> src/mongobar/mod.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | let progress_total = progress_total.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_total` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_qps` [INFO] [stdout] --> src/mongobar/mod.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | let query_qps = query_qps.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_qps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upsert` [INFO] [stdout] --> src/mongobar/mod.rs:693:57 [INFO] [stdout] | [INFO] [stdout] 693 | ... let upsert = update [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_upsert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upsert` [INFO] [stdout] --> src/mongobar/mod.rs:734:53 [INFO] [stdout] | [INFO] [stdout] 734 | ... let upsert = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_upsert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/mongobar/mod.rs:810:53 [INFO] [stdout] | [INFO] [stdout] 810 | ... let limit = delete.get_i64("limit").unwrap_or(0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/mongobar/mod.rs:829:49 [INFO] [stdout] | [INFO] [stdout] 829 | ... let limit = delete.get_i64("limit").unwrap_or(0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/mongobar/mod.rs:973:13 [INFO] [stdout] | [INFO] [stdout] 973 | let client = Client::with_uri_str(self.config.uri.clone()).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_index` [INFO] [stdout] --> src/mongobar/op_logs.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn read(&self, thread_index: usize, row_index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_index` [INFO] [stdout] --> src/mongobar/op_logs.rs:174:45 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn read(&self, thread_index: usize, row_index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/ui.rs:476:33 [INFO] [stdout] | [INFO] [stdout] 476 | ... let filter = app.ui.filter.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/ui.rs:592:33 [INFO] [stdout] | [INFO] [stdout] 592 | ... let filter = app.ui.filter.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/ui.rs:640:33 [INFO] [stdout] | [INFO] [stdout] 640 | ... let filter = app.ui.filter.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur` [INFO] [stdout] --> src/ui.rs:366:37 [INFO] [stdout] | [INFO] [stdout] 366 | ... let cur = Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/ui.rs:846:44 [INFO] [stdout] | [INFO] [stdout] 846 | fn render_title(f: &mut Frame, area: Rect, app: &App, title: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sub` and `map_set` are never used [INFO] [stdout] --> src/indicator.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Metric { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn sub(&self, value: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn map_set(&self, key: &str, value: Count) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fork` is never used [INFO] [stdout] --> src/mongobar/mod.rs:1726:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Mongobar { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1726 | fn fork(&self, indic: Indicator) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lock` is never read [INFO] [stdout] --> src/mongobar/op_logs.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct OpLogs { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub lock: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpLogs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/mongobar/op_row.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct OpRow { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tool/analyze.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub audit_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub docs_examined: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub instanceid: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub keys_examined: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub return_num: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub thread_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub time: u64, [INFO] [stdout] 31 | pub user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub user_ip: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `boot_at` and `v` are never read [INFO] [stdout] --> src/ui.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | boot_at: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | v: f64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_replay_view` is never used [INFO] [stdout] --> src/ui.rs:801:4 [INFO] [stdout] | [INFO] [stdout] 801 | fn render_replay_view(frame: &mut Frame, area: Rect, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 50s [INFO] running `Command { std: "docker" "inspect" "f4a89c49f1ab3e24012bd56c0cdc8562c225b36472229364137c85b822c32078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a89c49f1ab3e24012bd56c0cdc8562c225b36472229364137c85b822c32078", kill_on_drop: false }` [INFO] [stdout] f4a89c49f1ab3e24012bd56c0cdc8562c225b36472229364137c85b822c32078 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad96e6c6297a568697e1541485f14b1110035b80676b535e3ca39d1d8d2e3814 [INFO] running `Command { std: "docker" "start" "-a" "ad96e6c6297a568697e1541485f14b1110035b80676b535e3ca39d1d8d2e3814", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ops` [INFO] [stderr] --> src/mongo_stats.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | ops, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `action::Aggregate` [INFO] [stderr] --> src/mongo_stats.rs:11:15 [INFO] [stderr] | [INFO] [stderr] 11 | use mongodb::{action::Aggregate, Client}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `progress_total` [INFO] [stderr] --> src/mongobar/mod.rs:501:17 [INFO] [stderr] | [INFO] [stderr] 501 | let progress_total = progress_total.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_total` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `query_qps` [INFO] [stderr] --> src/mongobar/mod.rs:509:17 [INFO] [stderr] | [INFO] [stderr] 509 | let query_qps = query_qps.clone(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_qps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `upsert` [INFO] [stderr] --> src/mongobar/mod.rs:693:57 [INFO] [stderr] | [INFO] [stderr] 693 | ... let upsert = update [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_upsert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `upsert` [INFO] [stderr] --> src/mongobar/mod.rs:734:53 [INFO] [stderr] | [INFO] [stderr] 734 | ... let upsert = [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_upsert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> src/mongobar/mod.rs:810:53 [INFO] [stderr] | [INFO] [stderr] 810 | ... let limit = delete.get_i64("limit").unwrap_or(0); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> src/mongobar/mod.rs:829:49 [INFO] [stderr] | [INFO] [stderr] 829 | ... let limit = delete.get_i64("limit").unwrap_or(0); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/mongobar/mod.rs:973:13 [INFO] [stderr] | [INFO] [stderr] 973 | let client = Client::with_uri_str(self.config.uri.clone()).await?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `thread_index` [INFO] [stderr] --> src/mongobar/op_logs.rs:174:24 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn read(&self, thread_index: usize, row_index: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `row_index` [INFO] [stderr] --> src/mongobar/op_logs.rs:174:45 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn read(&self, thread_index: usize, row_index: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filter` [INFO] [stderr] --> src/ui.rs:476:33 [INFO] [stderr] | [INFO] [stderr] 476 | ... let filter = app.ui.filter.clone(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filter` [INFO] [stderr] --> src/ui.rs:592:33 [INFO] [stderr] | [INFO] [stderr] 592 | ... let filter = app.ui.filter.clone(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filter` [INFO] [stderr] --> src/ui.rs:640:33 [INFO] [stderr] | [INFO] [stderr] 640 | ... let filter = app.ui.filter.clone(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cur` [INFO] [stderr] --> src/ui.rs:366:37 [INFO] [stderr] | [INFO] [stderr] 366 | ... let cur = Instant::now(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cur` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/ui.rs:846:44 [INFO] [stderr] | [INFO] [stderr] 846 | fn render_title(f: &mut Frame, area: Rect, app: &App, title: &str) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: methods `sub` and `map_set` are never used [INFO] [stderr] --> src/indicator.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl Metric { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn sub(&self, value: usize) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 122 | pub fn map_set(&self, key: &str, value: Count) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `fork` is never used [INFO] [stderr] --> src/mongobar/mod.rs:1726:8 [INFO] [stderr] | [INFO] [stderr] 56 | impl Mongobar { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 1726 | fn fork(&self, indic: Indicator) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `lock` is never read [INFO] [stderr] --> src/mongobar/op_logs.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct OpLogs { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 36 | pub lock: Arc>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpLogs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `hash` is never read [INFO] [stderr] --> src/mongobar/op_row.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) struct OpRow { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 25 | pub hash: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/tool/analyze.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Record { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 19 | pub audit_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub docs_examined: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 24 | pub instanceid: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 25 | pub keys_examined: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub return_num: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 29 | pub thread_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 30 | pub time: u64, [INFO] [stderr] 31 | pub user: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 32 | pub user_ip: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `boot_at` and `v` are never read [INFO] [stderr] --> src/ui.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 38 | struct App { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 49 | boot_at: i64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | v: f64, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: function `render_replay_view` is never used [INFO] [stderr] --> src/ui.rs:801:4 [INFO] [stderr] | [INFO] [stderr] 801 | fn render_replay_view(frame: &mut Frame, area: Rect, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mongobar` (bin "mongobar" test) generated 23 warnings (run `cargo fix --bin "mongobar" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mongobar-4479973baaf7c86a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test indicator::tests::test_streaming_median ... ok [INFO] [stdout] test utils::tests::test_match_date_replace ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad96e6c6297a568697e1541485f14b1110035b80676b535e3ca39d1d8d2e3814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad96e6c6297a568697e1541485f14b1110035b80676b535e3ca39d1d8d2e3814", kill_on_drop: false }` [INFO] [stdout] ad96e6c6297a568697e1541485f14b1110035b80676b535e3ca39d1d8d2e3814