[INFO] cloning repository https://github.com/rishavbhowmik/storage-engine-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rishavbhowmik/storage-engine-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishavbhowmik%2Fstorage-engine-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishavbhowmik%2Fstorage-engine-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f443dfc459f82417678708289c379e2cf7054bb5 [INFO] testing rishavbhowmik/storage-engine-rust against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishavbhowmik%2Fstorage-engine-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rishavbhowmik/storage-engine-rust [INFO] finished tweaking git repo https://github.com/rishavbhowmik/storage-engine-rust [INFO] tweaked toml for git repo https://github.com/rishavbhowmik/storage-engine-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rishavbhowmik/storage-engine-rust 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 git repo https://github.com/rishavbhowmik/storage-engine-rust 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 037808ba62e2bef559c94924856e29bb53f3c4c00f2c718d9e9a5cc203fc2373 [INFO] running `Command { std: "docker" "start" "-a" "037808ba62e2bef559c94924856e29bb53f3c4c00f2c718d9e9a5cc203fc2373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "037808ba62e2bef559c94924856e29bb53f3c4c00f2c718d9e9a5cc203fc2373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "037808ba62e2bef559c94924856e29bb53f3c4c00f2c718d9e9a5cc203fc2373", kill_on_drop: false }` [INFO] [stdout] 037808ba62e2bef559c94924856e29bb53f3c4c00f2c718d9e9a5cc203fc2373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cda231e9af8b6d2b13d93c5b516d4ed08afe2cf6b691d8958af97da4f7e64891 [INFO] running `Command { std: "docker" "start" "-a" "cda231e9af8b6d2b13d93c5b516d4ed08afe2cf6b691d8958af97da4f7e64891", kill_on_drop: false }` [INFO] [stderr] Compiling se1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/storage/util.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] 2 + pub fn u32_to_bytes(n: u32) -> [u8; 4] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/storage/util.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] 2 + pub fn u32_to_bytes(n: u32) -> [u8; 4] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageHeader` is never constructed [INFO] [stdout] --> src/storage/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct StorageHeader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STORAGE_HEADER_SIZE` is never used [INFO] [stdout] --> src/storage/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const STORAGE_HEADER_SIZE: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_bytes`, and `to_bytes` are never used [INFO] [stdout] --> src/storage/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl StorageHeader { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 17 | fn new(block_len: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn from_bytes(bytes: &[u8; STORAGE_HEADER_SIZE]) -> StorageHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn to_bytes(&self) -> [u8; STORAGE_HEADER_SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockHeader` is never constructed [INFO] [stdout] --> src/storage/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct BlockHeader { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_HEADER_SIZE` is never used [INFO] [stdout] --> src/storage/mod.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | const BLOCK_HEADER_SIZE: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_bytes`, and `to_bytes` are never used [INFO] [stdout] --> src/storage/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl BlockHeader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 69 | fn new(block_data_size: u32) -> BlockHeader { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn from_bytes(bytes: &[u8; BLOCK_HEADER_SIZE]) -> BlockHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn to_bytes(&self) -> [u8; BLOCK_HEADER_SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/storage/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/mod.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl Storage { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | fn open_file_writer(file_path: &String, truncate: bool) -> Result<(File, u64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn open_file_reader(file_path: &String) -> Result<(File, u64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn new(file_path: String, block_len: usize) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn open(file_path: String) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn block_exists(&mut self, block_index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn is_empty_block(&mut self, block_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn set_storage_header(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn get_storage_header(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn read_storage_block_headers(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub fn read_block(&mut self, block_index: usize) -> Result<(usize, Vec), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn write_block(&mut self, block_index: usize, data: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub fn delete_block(&mut self, block_index: usize, hard_delete: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/storage/error.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u32_to_bytes` is never used [INFO] [stdout] --> src/storage/util.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_to_u32` is never used [INFO] [stdout] --> src/storage/util.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn bytes_to_u32(bytes: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "cda231e9af8b6d2b13d93c5b516d4ed08afe2cf6b691d8958af97da4f7e64891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda231e9af8b6d2b13d93c5b516d4ed08afe2cf6b691d8958af97da4f7e64891", kill_on_drop: false }` [INFO] [stdout] cda231e9af8b6d2b13d93c5b516d4ed08afe2cf6b691d8958af97da4f7e64891 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2a24b56fb901c39256a2602b6350b179b8a0becf72ac3b85294d87c985c7bfd3 [INFO] running `Command { std: "docker" "start" "-a" "2a24b56fb901c39256a2602b6350b179b8a0becf72ac3b85294d87c985c7bfd3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/storage/util.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] 2 + pub fn u32_to_bytes(n: u32) -> [u8; 4] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/storage/util.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] 2 + pub fn u32_to_bytes(n: u32) -> [u8; 4] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageHeader` is never constructed [INFO] [stdout] --> src/storage/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct StorageHeader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STORAGE_HEADER_SIZE` is never used [INFO] [stdout] --> src/storage/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const STORAGE_HEADER_SIZE: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_bytes`, and `to_bytes` are never used [INFO] [stdout] --> src/storage/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl StorageHeader { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 17 | fn new(block_len: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn from_bytes(bytes: &[u8; STORAGE_HEADER_SIZE]) -> StorageHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn to_bytes(&self) -> [u8; STORAGE_HEADER_SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockHeader` is never constructed [INFO] [stdout] --> src/storage/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct BlockHeader { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_HEADER_SIZE` is never used [INFO] [stdout] --> src/storage/mod.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | const BLOCK_HEADER_SIZE: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_bytes`, and `to_bytes` are never used [INFO] [stdout] --> src/storage/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl BlockHeader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 69 | fn new(block_data_size: u32) -> BlockHeader { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn from_bytes(bytes: &[u8; BLOCK_HEADER_SIZE]) -> BlockHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn to_bytes(&self) -> [u8; BLOCK_HEADER_SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/storage/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/mod.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl Storage { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | fn open_file_writer(file_path: &String, truncate: bool) -> Result<(File, u64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn open_file_reader(file_path: &String) -> Result<(File, u64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn new(file_path: String, block_len: usize) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn open(file_path: String) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn block_exists(&mut self, block_index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn is_empty_block(&mut self, block_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn set_storage_header(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn get_storage_header(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn read_storage_block_headers(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub fn read_block(&mut self, block_index: usize) -> Result<(usize, Vec), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn write_block(&mut self, block_index: usize, data: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub fn delete_block(&mut self, block_index: usize, hard_delete: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/storage/error.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u32_to_bytes` is never used [INFO] [stdout] --> src/storage/util.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_to_u32` is never used [INFO] [stdout] --> src/storage/util.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn bytes_to_u32(bytes: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling se1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/storage/util.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] 2 + pub fn u32_to_bytes(n: u32) -> [u8; 4] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/storage/util.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - pub fn u32_to_bytes(n: u32) -> ([u8; 4]) { [INFO] [stdout] 2 + pub fn u32_to_bytes(n: u32) -> [u8; 4] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/storage/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/mod.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl Storage { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | fn open_file_writer(file_path: &String, truncate: bool) -> Result<(File, u64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn open_file_reader(file_path: &String) -> Result<(File, u64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn new(file_path: String, block_len: usize) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn open(file_path: String) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn block_exists(&mut self, block_index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn is_empty_block(&mut self, block_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn set_storage_header(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn get_storage_header(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn read_storage_block_headers(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub fn read_block(&mut self, block_index: usize) -> Result<(usize, Vec), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn write_block(&mut self, block_index: usize, data: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub fn delete_block(&mut self, block_index: usize, hard_delete: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/storage/error.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Error { [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/rustcSFn2T0/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtempfile-8da0d89724f1c842.rlib,librand-d21bb490e105f66f.rlib,librand_chacha-d154986c327cee62.rlib,libppv_lite86-7955ccdf208dacd3.rlib,librand_core-e7379593d77a934c.rlib,libgetrandom-a138dc773a2f888e.rlib,liblibc-7253a04f790802a5.rlib,libremove_dir_all-4e221c62d36b2749.rlib,libcfg_if-66d55f6b302e88c8.rlib}.rlib" "/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/{libse1-939d96de00cfb101.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/rustcSFn2T0/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/storage_flows-cde4483ce381207c" "-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-a138dc773a2f888e.rlib(getrandom-a138dc773a2f888e.getrandom.4eeba8ad6187f255-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.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h8f9825d638e74aafE+0xb6): 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 `se1` (test "storage_flows") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2a24b56fb901c39256a2602b6350b179b8a0becf72ac3b85294d87c985c7bfd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a24b56fb901c39256a2602b6350b179b8a0becf72ac3b85294d87c985c7bfd3", kill_on_drop: false }` [INFO] [stdout] 2a24b56fb901c39256a2602b6350b179b8a0becf72ac3b85294d87c985c7bfd3