[INFO] cloning repository https://github.com/rohankumardubey/wickdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohankumardubey/wickdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fwickdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fwickdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8e4c6f6a1f284efab49974dd983fff3b3a48383 [INFO] checking rohankumardubey/wickdb against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fwickdb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohankumardubey/wickdb on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/rohankumardubey/wickdb [INFO] finished tweaking git repo https://github.com/rohankumardubey/wickdb [INFO] tweaked toml for git repo https://github.com/rohankumardubey/wickdb written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rohankumardubey/wickdb 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-async v2.4.0 [INFO] [stderr] Downloaded syn v1.0.13 [INFO] [stderr] Downloaded bstr v0.2.9 [INFO] [stderr] Downloaded csv v1.1.2 [INFO] [stderr] Downloaded snap v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0be997a6c1055f805059d6a4bddd04e4a850106bc936fbc029f87979438747c3 [INFO] running `Command { std: "docker" "start" "-a" "0be997a6c1055f805059d6a4bddd04e4a850106bc936fbc029f87979438747c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0be997a6c1055f805059d6a4bddd04e4a850106bc936fbc029f87979438747c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be997a6c1055f805059d6a4bddd04e4a850106bc936fbc029f87979438747c3", kill_on_drop: false }` [INFO] [stdout] 0be997a6c1055f805059d6a4bddd04e4a850106bc936fbc029f87979438747c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b0e6c8164ac4a76c231ed458c277b7c68a90f6447ed8fbc09fb9a8adabf3d97 [INFO] running `Command { std: "docker" "start" "-a" "1b0e6c8164ac4a76c231ed458c277b7c68a90f6447ed8fbc09fb9a8adabf3d97", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling snap v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking slog-async v2.4.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking slog-term v2.5.0 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bstr v0.2.9 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking csv v1.1.2 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Checking wickdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `micros`, `bytes_read`, and `bytes_written` are never read [INFO] [stdout] --> src/compaction.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct CompactionStats { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 370 | // The microseconds this compaction takes [INFO] [stdout] 371 | pub micros: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 372 | /// The data size read by this compaction [INFO] [stdout] 373 | pub bytes_read: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 374 | /// The data size created in new generated SSTables [INFO] [stdout] 375 | pub bytes_written: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactionStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::slice::Iter` that must be used [INFO] [stdout] --> src/compaction.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | self.base.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = self.base.iter(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/iterator.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 234 | let _ = self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/iterator.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 240 | let _ = self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/cache/mod.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 121 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 124 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Options` is imported redundantly [INFO] [stdout] --> src/db/mod.rs:1491:67 [INFO] [stdout] | [INFO] [stdout] 1489 | use super::*; [INFO] [stdout] | -------- the item `Options` is already imported here [INFO] [stdout] 1490 | use crate::storage::mem::MemStorage; [INFO] [stdout] 1491 | use crate::{BloomFilter, BytewiseComparator, CompressionType, Options}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/iterator.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 428 | use crate::iterator::*; [INFO] [stdout] | ------------------ the item `Result` is already imported here [INFO] [stdout] ... [INFO] [stdout] 431 | use crate::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ordering` is imported redundantly [INFO] [stdout] --> src/iterator.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 428 | use crate::iterator::*; [INFO] [stdout] | ------------------ the item `Ordering` is already imported here [INFO] [stdout] ... [INFO] [stdout] 432 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/mem/skiplist.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 375 | use super::*; [INFO] [stdout] | -------- the item `Iterator` is already imported here [INFO] [stdout] 376 | use crate::iterator::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/mem/skiplist.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 375 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 385 | use std::sync::{Arc, Condvar, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/mem/skiplist.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 375 | use super::*; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 386 | use std::{ptr, thread}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FilterPolicy` is imported redundantly [INFO] [stdout] --> src/sstable/filter_block.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | use super::*; [INFO] [stdout] | -------- the item `FilterPolicy` is already imported here [INFO] [stdout] 178 | use crate::filter::FilterPolicy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `remove_file` is imported redundantly [INFO] [stdout] --> src/storage/file.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 157 | use super::*; [INFO] [stdout] | -------- the item `remove_file` is already imported here [INFO] [stdout] 158 | use std::fs::remove_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/storage/file.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 157 | use super::*; [INFO] [stdout] | -------- the item `Write` is already imported here [INFO] [stdout] 158 | use std::fs::remove_file; [INFO] [stdout] 159 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `File` is imported redundantly [INFO] [stdout] --> src/storage/mem.rs:595:26 [INFO] [stdout] | [INFO] [stdout] 594 | use super::*; [INFO] [stdout] | -------- the item `File` is already imported here [INFO] [stdout] 595 | use crate::storage::{File, Storage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Storage` is imported redundantly [INFO] [stdout] --> src/storage/mem.rs:595:32 [INFO] [stdout] | [INFO] [stdout] 594 | use super::*; [INFO] [stdout] | -------- the item `Storage` is already imported here [INFO] [stdout] 595 | use crate::storage::{File, Storage}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InternalKey` is imported redundantly [INFO] [stdout] --> src/version/version_set.rs:1251:29 [INFO] [stdout] | [INFO] [stdout] 1250 | use super::*; [INFO] [stdout] | -------- the item `InternalKey` is already imported here [INFO] [stdout] 1251 | use crate::db::format::{InternalKey, InternalKeyComparator, ValueType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InternalKeyComparator` is imported redundantly [INFO] [stdout] --> src/version/version_set.rs:1251:42 [INFO] [stdout] | [INFO] [stdout] 1250 | use super::*; [INFO] [stdout] | -------- the item `InternalKeyComparator` is already imported here [INFO] [stdout] 1251 | use crate::db::format::{InternalKey, InternalKeyComparator, ValueType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InternalKey` is imported redundantly [INFO] [stdout] --> src/version/mod.rs:733:29 [INFO] [stdout] | [INFO] [stdout] 732 | use super::*; [INFO] [stdout] | -------- the item `InternalKey` is already imported here [INFO] [stdout] 733 | use crate::db::format::{InternalKey, InternalKeyComparator, ValueType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InternalKeyComparator` is imported redundantly [INFO] [stdout] --> src/version/mod.rs:733:42 [INFO] [stdout] | [INFO] [stdout] 732 | use super::*; [INFO] [stdout] | -------- the item `InternalKeyComparator` is already imported here [INFO] [stdout] 733 | use crate::db::format::{InternalKey, InternalKeyComparator, ValueType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueType` is imported redundantly [INFO] [stdout] --> src/version/mod.rs:733:65 [INFO] [stdout] | [INFO] [stdout] 732 | use super::*; [INFO] [stdout] | -------- the item `ValueType` is already imported here [INFO] [stdout] 733 | use crate::db::format::{InternalKey, InternalKeyComparator, ValueType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `micros`, `bytes_read`, and `bytes_written` are never read [INFO] [stdout] --> src/compaction.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct CompactionStats { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 370 | // The microseconds this compaction takes [INFO] [stdout] 371 | pub micros: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 372 | /// The data size read by this compaction [INFO] [stdout] 373 | pub bytes_read: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 374 | /// The data size created in new generated SSTables [INFO] [stdout] 375 | pub bytes_written: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactionStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::slice::Iter` that must be used [INFO] [stdout] --> src/compaction.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | self.base.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = self.base.iter(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/iterator.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 234 | let _ = self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/iterator.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 240 | let _ = self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0, snap v1.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "1b0e6c8164ac4a76c231ed458c277b7c68a90f6447ed8fbc09fb9a8adabf3d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b0e6c8164ac4a76c231ed458c277b7c68a90f6447ed8fbc09fb9a8adabf3d97", kill_on_drop: false }` [INFO] [stdout] 1b0e6c8164ac4a76c231ed458c277b7c68a90f6447ed8fbc09fb9a8adabf3d97