[INFO] fetching crate camelliakv 1.0.0... [INFO] testing camelliakv-1.0.0 against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] extracting crate camelliakv 1.0.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate camelliakv 1.0.0 on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate camelliakv 1.0.0 [INFO] finished tweaking crates.io crate camelliakv 1.0.0 [INFO] tweaked toml for crates.io crate camelliakv 1.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trackable v1.3.0 [INFO] [stderr] Downloaded fibers v0.1.13 [INFO] [stderr] Downloaded nbchan v0.1.3 [INFO] [stderr] Downloaded fibers_global v0.1.2 [INFO] [stderr] Downloaded splay_tree v0.2.10 [INFO] [stderr] Downloaded atomic_immut v0.1.4 [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded trackable_derive v1.0.0 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded prometrics v0.1.13 [INFO] [stderr] Downloaded trackable v0.2.24 [INFO] [stderr] Downloaded procinfo v0.4.2 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded nom v2.2.1 [INFO] [stderr] Downloaded uuid v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e64055450b9a7244e09b13852fd4c699d47289b0acdafe18345a3dd715b958e8 [INFO] running `Command { std: "docker" "start" "-a" "e64055450b9a7244e09b13852fd4c699d47289b0acdafe18345a3dd715b958e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e64055450b9a7244e09b13852fd4c699d47289b0acdafe18345a3dd715b958e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64055450b9a7244e09b13852fd4c699d47289b0acdafe18345a3dd715b958e8", kill_on_drop: false }` [INFO] [stdout] e64055450b9a7244e09b13852fd4c699d47289b0acdafe18345a3dd715b958e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fcb98d03948c4b37dce2096ea3b2acd38eb35004af28864e8a7d50b61b4eff8 [INFO] running `Command { std: "docker" "start" "-a" "0fcb98d03948c4b37dce2096ea3b2acd38eb35004af28864e8a7d50b61b4eff8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling nbchan v0.1.3 [INFO] [stderr] Compiling atomic_immut v0.1.4 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling splay_tree v0.2.10 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling fibers v0.1.13 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling trackable v1.3.0 [INFO] [stderr] Compiling trackable v0.2.24 [INFO] [stderr] Compiling prometrics v0.1.13 [INFO] [stderr] Compiling camelliakv v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{self, str::FromStr}; [INFO] [stdout] | ^^^^ the item `std` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/metrics.rs:791:5 [INFO] [stdout] | [INFO] [stdout] 785 | pub struct StorageMetrics { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 791 | header: Gauge, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0fcb98d03948c4b37dce2096ea3b2acd38eb35004af28864e8a7d50b61b4eff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fcb98d03948c4b37dce2096ea3b2acd38eb35004af28864e8a7d50b61b4eff8", kill_on_drop: false }` [INFO] [stdout] 0fcb98d03948c4b37dce2096ea3b2acd38eb35004af28864e8a7d50b61b4eff8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ef82a704096c1b734d0d3e46da44efe5c255791e0d37d647cde623f7d5c79ee [INFO] running `Command { std: "docker" "start" "-a" "8ef82a704096c1b734d0d3e46da44efe5c255791e0d37d647cde623f7d5c79ee", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fibers_global v0.1.2 [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{self, str::FromStr}; [INFO] [stdout] | ^^^^ the item `std` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/metrics.rs:791:5 [INFO] [stdout] | [INFO] [stdout] 785 | pub struct StorageMetrics { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 791 | header: Gauge, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling camelliakv v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `BlockSize` is imported redundantly [INFO] [stdout] --> src/block/aligned_bytes.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | use super::super::BlockSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | use super::*; [INFO] [stdout] | -------- the item `BlockSize` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/nvm/file.rs:438:19 [INFO] [stdout] | [INFO] [stdout] 438 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/nvm/file.rs:438:25 [INFO] [stdout] | [INFO] [stdout] 438 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | use super::*; [INFO] [stdout] | -------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockSize` is imported redundantly [INFO] [stdout] --> src/nvm/file.rs:445:38 [INFO] [stdout] | [INFO] [stdout] 444 | use super::*; [INFO] [stdout] | -------- the item `BlockSize` is already imported here [INFO] [stdout] 445 | use crate::block::{AlignedBytes, BlockSize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StorageHeader` is imported redundantly [INFO] [stdout] --> src/nvm/file.rs:446:26 [INFO] [stdout] | [INFO] [stdout] 444 | use super::*; [INFO] [stdout] | -------- the item `StorageHeader` is already imported here [INFO] [stdout] 445 | use crate::block::{AlignedBytes, BlockSize}; [INFO] [stdout] 446 | use crate::storage::{StorageHeader, MAJOR_VERSION, MINOR_VERSION}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/nvm/memory.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/nvm/memory.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | use super::*; [INFO] [stdout] | -------- the item `Seek` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SeekFrom` is imported redundantly [INFO] [stdout] --> src/nvm/memory.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | use super::*; [INFO] [stdout] | -------- the item `SeekFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/nvm/memory.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | use super::*; [INFO] [stdout] | -------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NonVolatileMemory` is imported redundantly [INFO] [stdout] --> src/nvm/memory.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | use super::*; [INFO] [stdout] | -------- the item `NonVolatileMemory` is already imported here [INFO] [stdout] 113 | use crate::nvm::NonVolatileMemory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/nvm/shared_memory.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/nvm/shared_memory.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | use super::*; [INFO] [stdout] | -------- the item `Seek` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SeekFrom` is imported redundantly [INFO] [stdout] --> src/nvm/shared_memory.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 161 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | use super::*; [INFO] [stdout] | -------- the item `SeekFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/nvm/shared_memory.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | use super::*; [INFO] [stdout] | -------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NonVolatileMemory` is imported redundantly [INFO] [stdout] --> src/nvm/shared_memory.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 164 | use super::*; [INFO] [stdout] | -------- the item `NonVolatileMemory` is already imported here [INFO] [stdout] 165 | use crate::nvm::NonVolatileMemory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/storage/allocator/free_portion.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 122 | use super::*; [INFO] [stdout] | -------- the item `Address` is already imported here [INFO] [stdout] 123 | use crate::storage::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MetricBuilder` is imported redundantly [INFO] [stdout] --> src/storage/data_region.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use prometrics::metrics::MetricBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | -------- the item `MetricBuilder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DataPortionAllocator` is imported redundantly [INFO] [stdout] --> src/storage/data_region.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | use super::super::allocator::DataPortionAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | -------- the item `DataPortionAllocator` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockSize` is imported redundantly [INFO] [stdout] --> src/storage/data_region.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | -------- the item `BlockSize` is already imported here [INFO] [stdout] 168 | use crate::block::BlockSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Uuid` is imported redundantly [INFO] [stdout] --> src/storage/header.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 195 | [INFO] [stdout] 196 | use super::*; [INFO] [stdout] | -------- the item `Uuid` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockSize` is imported redundantly [INFO] [stdout] --> src/storage/header.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 196 | use super::*; [INFO] [stdout] | -------- the item `BlockSize` is already imported here [INFO] [stdout] 197 | use crate::block::BlockSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockSize` is imported redundantly [INFO] [stdout] --> src/storage/journal/header.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | use super::*; [INFO] [stdout] | -------- the item `BlockSize` is already imported here [INFO] [stdout] 91 | use crate::block::BlockSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/storage/journal/nvm_buffer.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/storage/journal/nvm_buffer.rs:244:25 [INFO] [stdout] | [INFO] [stdout] 244 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | use super::*; [INFO] [stdout] | -------- the item `Seek` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SeekFrom` is imported redundantly [INFO] [stdout] --> src/storage/journal/nvm_buffer.rs:244:31 [INFO] [stdout] | [INFO] [stdout] 244 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | use super::*; [INFO] [stdout] | -------- the item `SeekFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/storage/journal/nvm_buffer.rs:244:41 [INFO] [stdout] | [INFO] [stdout] 244 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | use super::*; [INFO] [stdout] | -------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LumpId` is imported redundantly [INFO] [stdout] --> src/storage/journal/record.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 200 | use super::*; [INFO] [stdout] | -------- the item `LumpId` is already imported here [INFO] [stdout] 201 | use crate::lump::LumpId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DataPortion` is imported redundantly [INFO] [stdout] --> src/storage/journal/record.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 200 | use super::*; [INFO] [stdout] | -------- the item `DataPortion` is already imported here [INFO] [stdout] 201 | use crate::lump::LumpId; [INFO] [stdout] 202 | use crate::storage::portion::DataPortion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/storage/journal/record.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 200 | use super::*; [INFO] [stdout] | -------- the item `Address` is already imported here [INFO] [stdout] ... [INFO] [stdout] 203 | use crate::storage::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MetricBuilder` is imported redundantly [INFO] [stdout] --> src/storage/journal/ring_buffer.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | use prometrics::metrics::MetricBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | use super::*; [INFO] [stdout] | -------- the item `MetricBuilder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/storage/journal/ring_buffer.rs:359:26 [INFO] [stdout] | [INFO] [stdout] 356 | use super::*; [INFO] [stdout] | -------- the item `Address` is already imported here [INFO] [stdout] ... [INFO] [stdout] 359 | use crate::storage::{Address, JournalRecord}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JournalRecord` is imported redundantly [INFO] [stdout] --> src/storage/journal/ring_buffer.rs:359:35 [INFO] [stdout] | [INFO] [stdout] 356 | use super::*; [INFO] [stdout] | -------- the item `JournalRecord` is already imported here [INFO] [stdout] ... [INFO] [stdout] 359 | use crate::storage::{Address, JournalRecord}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorKind` is imported redundantly [INFO] [stdout] --> src/storage/journal/ring_buffer.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 356 | use super::*; [INFO] [stdout] | -------- the item `ErrorKind` is already imported here [INFO] [stdout] ... [INFO] [stdout] 360 | use crate::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/storage/portion.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | use super::*; [INFO] [stdout] | -------- the item `Address` is already imported here [INFO] [stdout] 85 | use crate::storage::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockSize` is imported redundantly [INFO] [stdout] --> src/storage/mod.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 426 | use super::*; [INFO] [stdout] | -------- the item `BlockSize` is already imported here [INFO] [stdout] 427 | use crate::block::BlockSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LumpData` is imported redundantly [INFO] [stdout] --> src/storage/mod.rs:428:23 [INFO] [stdout] | [INFO] [stdout] 426 | use super::*; [INFO] [stdout] | -------- the item `LumpData` is already imported here [INFO] [stdout] 427 | use crate::block::BlockSize; [INFO] [stdout] 428 | use crate::lump::{LumpData, LumpId}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LumpId` is imported redundantly [INFO] [stdout] --> src/storage/mod.rs:428:33 [INFO] [stdout] | [INFO] [stdout] 426 | use super::*; [INFO] [stdout] | -------- the item `LumpId` is already imported here [INFO] [stdout] 427 | use crate::block::BlockSize; [INFO] [stdout] 428 | use crate::lump::{LumpData, LumpId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{self, str::FromStr}; [INFO] [stdout] | ^^^^ the item `std` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/metrics.rs:791:5 [INFO] [stdout] | [INFO] [stdout] 785 | pub struct StorageMetrics { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 791 | header: Gauge, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8ef82a704096c1b734d0d3e46da44efe5c255791e0d37d647cde623f7d5c79ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef82a704096c1b734d0d3e46da44efe5c255791e0d37d647cde623f7d5c79ee", kill_on_drop: false }` [INFO] [stdout] 8ef82a704096c1b734d0d3e46da44efe5c255791e0d37d647cde623f7d5c79ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dff2fc60bf47a8b9c4ffefdc6ae6017da4c82557234c03c18be215cd3264cc0a [INFO] running `Command { std: "docker" "start" "-a" "dff2fc60bf47a8b9c4ffefdc6ae6017da4c82557234c03c18be215cd3264cc0a", kill_on_drop: false }` [INFO] [stderr] warning: the item `std` is imported redundantly [INFO] [stderr] --> src/error.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{self, str::FromStr}; [INFO] [stderr] | ^^^^ the item `std` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `header` is never read [INFO] [stderr] --> src/metrics.rs:791:5 [INFO] [stderr] | [INFO] [stderr] 785 | pub struct StorageMetrics { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 791 | header: Gauge, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StorageMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `BlockSize` is imported redundantly [INFO] [stderr] --> src/block/aligned_bytes.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | use super::super::BlockSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 135 | use super::*; [INFO] [stderr] | -------- the item `BlockSize` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Read` is imported redundantly [INFO] [stderr] --> src/nvm/file.rs:438:19 [INFO] [stderr] | [INFO] [stderr] 438 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 444 | use super::*; [INFO] [stderr] | -------- the item `Read` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Write` is imported redundantly [INFO] [stderr] --> src/nvm/file.rs:438:25 [INFO] [stderr] | [INFO] [stderr] 438 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 444 | use super::*; [INFO] [stderr] | -------- the item `Write` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `BlockSize` is imported redundantly [INFO] [stderr] --> src/nvm/file.rs:445:38 [INFO] [stderr] | [INFO] [stderr] 444 | use super::*; [INFO] [stderr] | -------- the item `BlockSize` is already imported here [INFO] [stderr] 445 | use crate::block::{AlignedBytes, BlockSize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `StorageHeader` is imported redundantly [INFO] [stderr] --> src/nvm/file.rs:446:26 [INFO] [stderr] | [INFO] [stderr] 444 | use super::*; [INFO] [stderr] | -------- the item `StorageHeader` is already imported here [INFO] [stderr] 445 | use crate::block::{AlignedBytes, BlockSize}; [INFO] [stderr] 446 | use crate::storage::{StorageHeader, MAJOR_VERSION, MINOR_VERSION}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Read` is imported redundantly [INFO] [stderr] --> src/nvm/memory.rs:109:19 [INFO] [stderr] | [INFO] [stderr] 109 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | use super::*; [INFO] [stderr] | -------- the item `Read` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Seek` is imported redundantly [INFO] [stderr] --> src/nvm/memory.rs:109:25 [INFO] [stderr] | [INFO] [stderr] 109 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | use super::*; [INFO] [stderr] | -------- the item `Seek` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `SeekFrom` is imported redundantly [INFO] [stderr] --> src/nvm/memory.rs:109:31 [INFO] [stderr] | [INFO] [stderr] 109 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | use super::*; [INFO] [stderr] | -------- the item `SeekFrom` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Write` is imported redundantly [INFO] [stderr] --> src/nvm/memory.rs:109:41 [INFO] [stderr] | [INFO] [stderr] 109 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | use super::*; [INFO] [stderr] | -------- the item `Write` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `NonVolatileMemory` is imported redundantly [INFO] [stderr] --> src/nvm/memory.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 112 | use super::*; [INFO] [stderr] | -------- the item `NonVolatileMemory` is already imported here [INFO] [stderr] 113 | use crate::nvm::NonVolatileMemory; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Read` is imported redundantly [INFO] [stderr] --> src/nvm/shared_memory.rs:161:19 [INFO] [stderr] | [INFO] [stderr] 161 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 164 | use super::*; [INFO] [stderr] | -------- the item `Read` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Seek` is imported redundantly [INFO] [stderr] --> src/nvm/shared_memory.rs:161:25 [INFO] [stderr] | [INFO] [stderr] 161 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 164 | use super::*; [INFO] [stderr] | -------- the item `Seek` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `SeekFrom` is imported redundantly [INFO] [stderr] --> src/nvm/shared_memory.rs:161:31 [INFO] [stderr] | [INFO] [stderr] 161 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 164 | use super::*; [INFO] [stderr] | -------- the item `SeekFrom` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Write` is imported redundantly [INFO] [stderr] --> src/nvm/shared_memory.rs:161:41 [INFO] [stderr] | [INFO] [stderr] 161 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 164 | use super::*; [INFO] [stderr] | -------- the item `Write` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `NonVolatileMemory` is imported redundantly [INFO] [stderr] --> src/nvm/shared_memory.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 164 | use super::*; [INFO] [stderr] | -------- the item `NonVolatileMemory` is already imported here [INFO] [stderr] 165 | use crate::nvm::NonVolatileMemory; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Address` is imported redundantly [INFO] [stderr] --> src/storage/allocator/free_portion.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 122 | use super::*; [INFO] [stderr] | -------- the item `Address` is already imported here [INFO] [stderr] 123 | use crate::storage::Address; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `MetricBuilder` is imported redundantly [INFO] [stderr] --> src/storage/data_region.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | use prometrics::metrics::MetricBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 167 | use super::*; [INFO] [stderr] | -------- the item `MetricBuilder` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `DataPortionAllocator` is imported redundantly [INFO] [stderr] --> src/storage/data_region.rs:166:9 [INFO] [stderr] | [INFO] [stderr] 166 | use super::super::allocator::DataPortionAllocator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 167 | use super::*; [INFO] [stderr] | -------- the item `DataPortionAllocator` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `BlockSize` is imported redundantly [INFO] [stderr] --> src/storage/data_region.rs:168:9 [INFO] [stderr] | [INFO] [stderr] 167 | use super::*; [INFO] [stderr] | -------- the item `BlockSize` is already imported here [INFO] [stderr] 168 | use crate::block::BlockSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Uuid` is imported redundantly [INFO] [stderr] --> src/storage/header.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 195 | [INFO] [stderr] 196 | use super::*; [INFO] [stderr] | -------- the item `Uuid` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `BlockSize` is imported redundantly [INFO] [stderr] --> src/storage/header.rs:197:9 [INFO] [stderr] | [INFO] [stderr] 196 | use super::*; [INFO] [stderr] | -------- the item `BlockSize` is already imported here [INFO] [stderr] 197 | use crate::block::BlockSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `BlockSize` is imported redundantly [INFO] [stderr] --> src/storage/journal/header.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 90 | use super::*; [INFO] [stderr] | -------- the item `BlockSize` is already imported here [INFO] [stderr] 91 | use crate::block::BlockSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Read` is imported redundantly [INFO] [stderr] --> src/storage/journal/nvm_buffer.rs:244:19 [INFO] [stderr] | [INFO] [stderr] 244 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 247 | use super::*; [INFO] [stderr] | -------- the item `Read` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Seek` is imported redundantly [INFO] [stderr] --> src/storage/journal/nvm_buffer.rs:244:25 [INFO] [stderr] | [INFO] [stderr] 244 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 247 | use super::*; [INFO] [stderr] | -------- the item `Seek` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `SeekFrom` is imported redundantly [INFO] [stderr] --> src/storage/journal/nvm_buffer.rs:244:31 [INFO] [stderr] | [INFO] [stderr] 244 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 247 | use super::*; [INFO] [stderr] | -------- the item `SeekFrom` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Write` is imported redundantly [INFO] [stderr] --> src/storage/journal/nvm_buffer.rs:244:41 [INFO] [stderr] | [INFO] [stderr] 244 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 247 | use super::*; [INFO] [stderr] | -------- the item `Write` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `LumpId` is imported redundantly [INFO] [stderr] --> src/storage/journal/record.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 200 | use super::*; [INFO] [stderr] | -------- the item `LumpId` is already imported here [INFO] [stderr] 201 | use crate::lump::LumpId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `DataPortion` is imported redundantly [INFO] [stderr] --> src/storage/journal/record.rs:202:9 [INFO] [stderr] | [INFO] [stderr] 200 | use super::*; [INFO] [stderr] | -------- the item `DataPortion` is already imported here [INFO] [stderr] 201 | use crate::lump::LumpId; [INFO] [stderr] 202 | use crate::storage::portion::DataPortion; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Address` is imported redundantly [INFO] [stderr] --> src/storage/journal/record.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 200 | use super::*; [INFO] [stderr] | -------- the item `Address` is already imported here [INFO] [stderr] ... [INFO] [stderr] 203 | use crate::storage::Address; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `MetricBuilder` is imported redundantly [INFO] [stderr] --> src/storage/journal/ring_buffer.rs:353:9 [INFO] [stderr] | [INFO] [stderr] 353 | use prometrics::metrics::MetricBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 356 | use super::*; [INFO] [stderr] | -------- the item `MetricBuilder` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Address` is imported redundantly [INFO] [stderr] --> src/storage/journal/ring_buffer.rs:359:26 [INFO] [stderr] | [INFO] [stderr] 356 | use super::*; [INFO] [stderr] | -------- the item `Address` is already imported here [INFO] [stderr] ... [INFO] [stderr] 359 | use crate::storage::{Address, JournalRecord}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `JournalRecord` is imported redundantly [INFO] [stderr] --> src/storage/journal/ring_buffer.rs:359:35 [INFO] [stderr] | [INFO] [stderr] 356 | use super::*; [INFO] [stderr] | -------- the item `JournalRecord` is already imported here [INFO] [stderr] ... [INFO] [stderr] 359 | use crate::storage::{Address, JournalRecord}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `ErrorKind` is imported redundantly [INFO] [stderr] --> src/storage/journal/ring_buffer.rs:360:9 [INFO] [stderr] | [INFO] [stderr] 356 | use super::*; [INFO] [stderr] | -------- the item `ErrorKind` is already imported here [INFO] [stderr] ... [INFO] [stderr] 360 | use crate::ErrorKind; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Address` is imported redundantly [INFO] [stderr] --> src/storage/portion.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 84 | use super::*; [INFO] [stderr] | -------- the item `Address` is already imported here [INFO] [stderr] 85 | use crate::storage::Address; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `BlockSize` is imported redundantly [INFO] [stderr] --> src/storage/mod.rs:427:9 [INFO] [stderr] | [INFO] [stderr] 426 | use super::*; [INFO] [stderr] | -------- the item `BlockSize` is already imported here [INFO] [stderr] 427 | use crate::block::BlockSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `LumpData` is imported redundantly [INFO] [stderr] --> src/storage/mod.rs:428:23 [INFO] [stderr] | [INFO] [stderr] 426 | use super::*; [INFO] [stderr] | -------- the item `LumpData` is already imported here [INFO] [stderr] 427 | use crate::block::BlockSize; [INFO] [stderr] 428 | use crate::lump::{LumpData, LumpId}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `LumpId` is imported redundantly [INFO] [stderr] --> src/storage/mod.rs:428:33 [INFO] [stderr] | [INFO] [stderr] 426 | use super::*; [INFO] [stderr] | -------- the item `LumpId` is already imported here [INFO] [stderr] 427 | use crate::block::BlockSize; [INFO] [stderr] 428 | use crate::lump::{LumpData, LumpId}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `std` is imported redundantly [INFO] [stderr] --> src/error.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{self, str::FromStr}; [INFO] [stderr] | ^^^^ the item `std` is already defined here [INFO] [stderr] [INFO] [stderr] warning: `camelliakv` (lib) generated 2 warnings [INFO] [stderr] warning: `camelliakv` (lib test) generated 39 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/camelliakv-cfd2f57eed65c857) [INFO] [stdout] [INFO] [stdout] running 56 tests [INFO] [stdout] test block::aligned_bytes::tests::new_works ... ok [INFO] [stdout] test block::aligned_bytes::tests::align_works ... ok [INFO] [stdout] test block::aligned_bytes::tests::resize_works ... ok [INFO] [stdout] test block::aligned_bytes::tests::aligned_resize_works ... ok [INFO] [stdout] test block::aligned_bytes::tests::truncate_works ... ok [INFO] [stdout] test block::aligned_bytes::tests::from_bytes_works ... ok [INFO] [stdout] test nvm::file::tests::create_parent_directories_does_nothing_if_there_is_no_parent ... ok [INFO] [stdout] test nvm::file::tests::create_parent_directories_creates_parent_directories ... ok [INFO] [stdout] test nvm::memory::tests::it_works ... ok [INFO] [stdout] test nvm::file::tests::create_parent_directories_is_idempotent ... ok [INFO] [stdout] test nvm::file::tests::create_if_absent_must_create_parent_directories ... ok [INFO] [stdout] test storage::address::tests::it_works ... ok [INFO] [stdout] test nvm::file::tests::direct_io_works ... ok [INFO] [stdout] test nvm::file::tests::disabling_direct_io_works ... ok [INFO] [stdout] test nvm::shared_memory::tests::it_works ... ok [INFO] [stdout] test storage::allocator::free_portion::tests::it_works ... ok [INFO] [stdout] test storage::allocator::data_portion_allocator::tests::allocate_and_release ... ok [INFO] [stdout] test storage::allocator::data_portion_allocator::tests::rebuild2 ... ok [INFO] [stdout] test storage::allocator::data_portion_allocator::tests::it_works ... ok [INFO] [stdout] test storage::data_region::tests::data_region_works ... ok [INFO] [stdout] test nvm::file::tests::error_handlings_works ... ok [INFO] [stdout] test storage::header::tests::compatibility_check_works ... ok [INFO] [stdout] test storage::header::tests::it_works ... ok [INFO] [stdout] test storage::allocator::data_portion_allocator::tests::rebuild ... ok [INFO] [stdout] test storage::journal::header::tests::it_works ... ok [INFO] [stdout] test storage::journal::nvm_buffer::tests::overwritten ... ok [INFO] [stdout] test storage::journal::nvm_buffer::tests::write_seek_read ... ok [INFO] [stdout] test storage::journal::nvm_buffer::tests::write_seek_write_flush ... ok [INFO] [stdout] test storage::journal::nvm_buffer::tests::write_write_flush ... ok [INFO] [stdout] test storage::journal::record::tests::checksum_works ... ok [INFO] [stdout] test storage::journal::nvm_buffer::tests::write_seek_write ... ok [INFO] [stdout] test storage::journal::ring_buffer::tests::append_and_read_records ... ok [INFO] [stdout] test storage::portion::tests::it_works ... ok [INFO] [stdout] test storage::journal::ring_buffer::tests::go_round_ring_buffer ... ok [INFO] [stdout] test storage::journal::ring_buffer::tests::full ... ok [INFO] [stdout] test storage::journal::ring_buffer::tests::read_embedded_data ... ok [INFO] [stdout] test storage::journal::ring_buffer::tests::too_large_record ... ok [INFO] [stdout] test nvm::file::tests::create_if_absent_works ... FAILED [INFO] [stdout] test nvm::file::tests::open_and_create_works ... FAILED [INFO] [stdout] test storage::tests::block_size_check_when_create ... ok [INFO] [stdout] test storage::tests::block_size_check_when_open ... ok [INFO] [stdout] test nvm::file::tests::nvm_operations_works ... ok [INFO] [stdout] test storage::journal::record::tests::read_write_works ... ok [INFO] [stdout] test storage::tests::open_older_compatible_version_works ... ok [INFO] [stdout] test storage::tests::full_gc_works ... ok [INFO] [stdout] test nvm::file::tests::exclusive_lock_works ... ok [INFO] [stdout] test storage::tests::confirm_that_the_problem_of_pr23_is_resolved ... ok [INFO] [stdout] [INFO] [stdout] test nvm::file::tests::disabling_exclusive_lock_works ... ok [INFO] [stdout] test storage::address::tests::overflow - should panic ... ok [INFO] [stdout] test storage::address::tests::underflow - should panic ... ok [INFO] [stdout] test storage::allocator::free_portion::tests::underflow - should panic ... ok [INFO] [stdout] test storage::allocator::data_portion_allocator::tests::it_panics - should panic ... ok [INFO] [stdout] test storage::tests::it_works ... ok [INFO] [stdout] test storage::tests::full ... ok [INFO] [stdout] test storage::tests::journal_overflow_example ... ok [INFO] [stdout] test storage::tests::max_size_lump ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- nvm::file::tests::create_if_absent_works stdout ---- [INFO] [stdout] Error: Other (cause; Resource temporarily unavailable (os error 11)) [INFO] [stdout] HISTORY: [INFO] [stdout] [0] at src/nvm/file.rs:80 [INFO] [stdout] [1] at src/nvm/file.rs:255 [INFO] [stdout] [2] at src/nvm/file.rs:551 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- nvm::file::tests::open_and_create_works stdout ---- [INFO] [stdout] Error: Other (cause; Resource temporarily unavailable (os error 11)) [INFO] [stdout] HISTORY: [INFO] [stdout] [0] at src/nvm/file.rs:80 [INFO] [stdout] [1] at src/nvm/file.rs:255 [INFO] [stdout] [2] at src/nvm/file.rs:520 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] nvm::file::tests::create_if_absent_works [INFO] [stdout] nvm::file::tests::open_and_create_works [INFO] [stdout] [INFO] [stdout] test result: FAILED. 54 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "dff2fc60bf47a8b9c4ffefdc6ae6017da4c82557234c03c18be215cd3264cc0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dff2fc60bf47a8b9c4ffefdc6ae6017da4c82557234c03c18be215cd3264cc0a", kill_on_drop: false }` [INFO] [stdout] dff2fc60bf47a8b9c4ffefdc6ae6017da4c82557234c03c18be215cd3264cc0a