[INFO] fetching crate spray 0.1.0... [INFO] testing spray-0.1.0 against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] extracting crate spray 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate spray 0.1.0 [INFO] finished tweaking crates.io crate spray 0.1.0 [INFO] tweaked toml for crates.io crate spray 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spray 0.1.0 on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spray 0.1.0 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee1bdbd75e0e5f5cea4a18b5d2473e8705a254478abbd1045d06093678b17041 [INFO] running `Command { std: "docker" "start" "-a" "ee1bdbd75e0e5f5cea4a18b5d2473e8705a254478abbd1045d06093678b17041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee1bdbd75e0e5f5cea4a18b5d2473e8705a254478abbd1045d06093678b17041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee1bdbd75e0e5f5cea4a18b5d2473e8705a254478abbd1045d06093678b17041", kill_on_drop: false }` [INFO] [stdout] ee1bdbd75e0e5f5cea4a18b5d2473e8705a254478abbd1045d06093678b17041 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3f3873e572085f8f0d5c037ab531742420c465c01bb380f7ed64ba8c9da4112e [INFO] running `Command { std: "docker" "start" "-a" "3f3873e572085f8f0d5c037ab531742420c465c01bb380f7ed64ba8c9da4112e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling spray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::files` [INFO] [stdout] --> src/handle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::files; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `File` is never used [INFO] [stdout] --> src/files.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type File = tokio::fs::File; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Path` is never used [INFO] [stdout] --> src/files.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Path = std::path::Path; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PathBuf` is never used [INFO] [stdout] --> src/files.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type PathBuf = std::path::PathBuf; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/files.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn create(path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/files.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn open(path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_dir` is never used [INFO] [stdout] --> src/files.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_dir(path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stem_as_u64` is never used [INFO] [stdout] --> src/files.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn stem_as_u64(path: PathBuf) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_files_as_u64` is never used [INFO] [stdout] --> src/files.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn list_files_as_u64(path: &Path, extension: &'static str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handle` is never constructed [INFO] [stdout] --> src/handle.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Handle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `stream`, `add`, `log_size`, and `index_size` are never used [INFO] [stdout] --> src/handle.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl Handle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn stream(&mut self, offset: u64, bytes: usize, target: &mut T) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn add(&mut self, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn log_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn index_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENTRY_SIZE` is never used [INFO] [stdout] --> src/index.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ENTRY_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Index` is never constructed [INFO] [stdout] --> src/index.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `add_entry`, `find_entry`, and `size` are never used [INFO] [stdout] --> src/index.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl Index { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 17 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn add_entry(&mut self, value: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn find_entry(&mut self, offset: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ledger` is never constructed [INFO] [stdout] --> src/ledger.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ledger { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `add`, `stream`, and `segment_size` are never used [INFO] [stdout] --> src/ledger.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl Ledger { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub async fn new(location: &Path, segment_size: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn open(location: &Path, id: String, segment_size: u64) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn add(&mut self, segment_id: u64, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn stream( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn segment_size(&self, segment_id: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Log` is never constructed [INFO] [stdout] --> src/log.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `add_entry`, `stream_entries`, and `size` are never used [INFO] [stdout] --> src/log.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl Log { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 14 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn add_entry(&mut self, offset: u64, entry: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn stream_entries( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segments` is never constructed [INFO] [stdout] --> src/segment.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Segments { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `create`, `get`, `create_if_absent`, `get_mut`, and `len` are never used [INFO] [stdout] --> src/segment.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Segments { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 14 | pub fn open(location: PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn create(&mut self, id: u64) -> Result<&mut Segment> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get(&self, id: u64) -> Option<&Segment> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn create_if_absent(&mut self, id: u64) -> &mut Segment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_mut(&mut self, id: u64) -> Option<&mut Segment> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> src/segment.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `stream`, and `size` are never used [INFO] [stdout] --> src/segment.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Segment { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 57 | pub fn new(location: PathBuf, id: u64) -> Segment { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn add(&mut self, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn stream(&mut self, offset: u64, bytes: usize, target: &mut T) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_a_test_directory` is never used [INFO] [stdout] --> src/test_util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_a_test_directory() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SegmentFull` is never constructed [INFO] [stdout] --> src/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 8 | IOError(io::Error), [INFO] [stdout] 9 | SegmentFull(u64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_segment_full` is never used [INFO] [stdout] --> src/types.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 13 | pub fn is_segment_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.02s [INFO] running `Command { std: "docker" "inspect" "3f3873e572085f8f0d5c037ab531742420c465c01bb380f7ed64ba8c9da4112e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f3873e572085f8f0d5c037ab531742420c465c01bb380f7ed64ba8c9da4112e", kill_on_drop: false }` [INFO] [stdout] 3f3873e572085f8f0d5c037ab531742420c465c01bb380f7ed64ba8c9da4112e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8eced74aefac99008199b23d7f02ebd76902a8f07b2d94645e4993c915460662 [INFO] running `Command { std: "docker" "start" "-a" "8eced74aefac99008199b23d7f02ebd76902a8f07b2d94645e4993c915460662", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::files` [INFO] [stdout] --> src/handle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::files; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `File` is never used [INFO] [stdout] --> src/files.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type File = tokio::fs::File; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Path` is never used [INFO] [stdout] --> src/files.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Path = std::path::Path; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PathBuf` is never used [INFO] [stdout] --> src/files.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type PathBuf = std::path::PathBuf; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/files.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn create(path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/files.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn open(path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_dir` is never used [INFO] [stdout] --> src/files.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_dir(path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stem_as_u64` is never used [INFO] [stdout] --> src/files.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn stem_as_u64(path: PathBuf) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_files_as_u64` is never used [INFO] [stdout] --> src/files.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn list_files_as_u64(path: &Path, extension: &'static str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handle` is never constructed [INFO] [stdout] --> src/handle.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Handle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `stream`, `add`, `log_size`, and `index_size` are never used [INFO] [stdout] --> src/handle.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl Handle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn stream(&mut self, offset: u64, bytes: usize, target: &mut T) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn add(&mut self, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn log_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn index_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENTRY_SIZE` is never used [INFO] [stdout] --> src/index.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ENTRY_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Index` is never constructed [INFO] [stdout] --> src/index.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `add_entry`, `find_entry`, and `size` are never used [INFO] [stdout] --> src/index.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl Index { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 17 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn add_entry(&mut self, value: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn find_entry(&mut self, offset: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ledger` is never constructed [INFO] [stdout] --> src/ledger.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ledger { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `add`, `stream`, and `segment_size` are never used [INFO] [stdout] --> src/ledger.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl Ledger { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub async fn new(location: &Path, segment_size: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn open(location: &Path, id: String, segment_size: u64) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn add(&mut self, segment_id: u64, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn stream( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn segment_size(&self, segment_id: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Log` is never constructed [INFO] [stdout] --> src/log.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `add_entry`, `stream_entries`, and `size` are never used [INFO] [stdout] --> src/log.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl Log { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 14 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn add_entry(&mut self, offset: u64, entry: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn stream_entries( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segments` is never constructed [INFO] [stdout] --> src/segment.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Segments { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `create`, `get`, `create_if_absent`, `get_mut`, and `len` are never used [INFO] [stdout] --> src/segment.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Segments { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 14 | pub fn open(location: PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn create(&mut self, id: u64) -> Result<&mut Segment> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get(&self, id: u64) -> Option<&Segment> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn create_if_absent(&mut self, id: u64) -> &mut Segment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_mut(&mut self, id: u64) -> Option<&mut Segment> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> src/segment.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `stream`, and `size` are never used [INFO] [stdout] --> src/segment.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Segment { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 57 | pub fn new(location: PathBuf, id: u64) -> Segment { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn add(&mut self, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn stream(&mut self, offset: u64, bytes: usize, target: &mut T) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_a_test_directory` is never used [INFO] [stdout] --> src/test_util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_a_test_directory() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SegmentFull` is never constructed [INFO] [stdout] --> src/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 8 | IOError(io::Error), [INFO] [stdout] 9 | SegmentFull(u64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_segment_full` is never used [INFO] [stdout] --> src/types.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 13 | pub fn is_segment_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::files` [INFO] [stdout] --> src/handle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::files; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/index.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/index.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 10 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/log.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Log { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 8 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcTYULzK/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbyteorder-549def2b2525ef52.rlib,libuuid-f02412cd85b634f6.rlib,librand-4497c9fadc10e3e0.rlib,librand_chacha-c8e57545cc206422.rlib,libppv_lite86-ef53971f935c91f9.rlib,librand_core-97d6b90a1fa16563.rlib,libgetrandom-99ad25133b0376fa.rlib,libtokio-58a8994937c3b8a0.rlib,libsignal_hook_registry-9226f483a41b6689.rlib,libarc_swap-072139ab8f6eebb4.rlib,libnum_cpus-5a88e878fe706260.rlib,libmemchr-ef72552adde229fb.rlib,libfnv-81596130b397d5c3.rlib,libmio_uds-44a7a9c12e4f8bd7.rlib,libmio-886d5fcc61091de3.rlib,liblog-0458da19e351a080.rlib,libslab-7c577fd9ceb1ab41.rlib,libiovec-c13ea26647969b4c.rlib,libnet2-0379a76bd6ce943b.rlib,libcfg_if-2d17986ae484e939.rlib,liblibc-8c242142bf5979c3.rlib,libfutures_core-1fa6d914b49bd78d.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libbytes-3cae3e1c11d88d6b.rlib,libpin_project_lite-9425618866ebf4ff.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcTYULzK/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/spray-b825a42670125ddc" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-99ad25133b0376fa.rlib(getrandom-99ad25133b0376fa.getrandom.c6839bb42ca23352-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17he778326de60d23ceE+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spray` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8eced74aefac99008199b23d7f02ebd76902a8f07b2d94645e4993c915460662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eced74aefac99008199b23d7f02ebd76902a8f07b2d94645e4993c915460662", kill_on_drop: false }` [INFO] [stdout] 8eced74aefac99008199b23d7f02ebd76902a8f07b2d94645e4993c915460662