[INFO] cloning repository https://github.com/kemkemG0/simple_db_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kemkemG0/simple_db_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkemkemG0%2Fsimple_db_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkemkemG0%2Fsimple_db_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 955ad750b495ed23672e975ba9e8713e9507679a [INFO] testing kemkemG0/simple_db_rust against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkemkemG0%2Fsimple_db_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kemkemG0/simple_db_rust [INFO] finished tweaking git repo https://github.com/kemkemG0/simple_db_rust [INFO] tweaked toml for git repo https://github.com/kemkemG0/simple_db_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kemkemG0/simple_db_rust on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kemkemG0/simple_db_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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8eeb2e720f5d9e848882c952e9955f57c4936feb9f140fd701c79987fb6dbe10 [INFO] running `Command { std: "docker" "start" "-a" "8eeb2e720f5d9e848882c952e9955f57c4936feb9f140fd701c79987fb6dbe10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8eeb2e720f5d9e848882c952e9955f57c4936feb9f140fd701c79987fb6dbe10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eeb2e720f5d9e848882c952e9955f57c4936feb9f140fd701c79987fb6dbe10", kill_on_drop: false }` [INFO] [stdout] 8eeb2e720f5d9e848882c952e9955f57c4936feb9f140fd701c79987fb6dbe10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4a629eb63cb375edd36f7d59269fdac8577c4e189d8d652da982379db3828bf [INFO] running `Command { std: "docker" "start" "-a" "d4a629eb63cb375edd36f7d59269fdac8577c4e189d8d652da982379db3828bf", kill_on_drop: false }` [INFO] [stderr] Compiling simple_db_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/file/block_id.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::hash_map::DefaultHasher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/tx/recovery/checkpoint_record.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tx::transaction::{Transaction, TransactionError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/tx/recovery/rollback_record.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | tx::transaction::{Transaction, TransactionError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/tx/recovery/setint_record.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | tx::transaction::{Transaction, TransactionError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::log` [INFO] [stdout] --> src/tx/recovery/setstring_record.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::log; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/tx/recovery/setstring_record.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | tx::transaction::{Transaction, TransactionError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/tx/recovery/start_record.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | tx::transaction::{Transaction, TransactionError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tx/recovery/checkpoint_record.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn undo(&self, tx: &mut Transaction) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/tx/recovery/commit_record.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tx/recovery/commit_record.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn undo(&self, tx: &mut Transaction) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/tx/recovery/rollback_record.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tx/recovery/rollback_record.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn undo(&self, tx: &mut Transaction) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/tx/recovery/setint_record.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tx/recovery/setint_record.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn undo(&self, tx: &mut Transaction) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/tx/recovery/start_record.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tx/recovery/start_record.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn undo(&self, tx: &mut Transaction) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn pin(&mut self, block_id: &BlockId) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn unpin(&mut self, block_id: &BlockId) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_int(&self, block_id: &BlockId, offset: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/tx/transaction.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_int(&self, block_id: &BlockId, offset: usize) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_string(&self, block_id: &BlockId, offset: usize) -> &str { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/tx/transaction.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_string(&self, block_id: &BlockId, offset: usize) -> &str { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/tx/transaction.rs:58:51 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/tx/transaction.rs:58:66 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok_to_log` [INFO] [stdout] --> src/tx/transaction.rs:58:76 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ok_to_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/tx/transaction.rs:60:54 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/tx/transaction.rs:60:69 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok_to_log` [INFO] [stdout] --> src/tx/transaction.rs:60:80 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ok_to_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/tx/transaction.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn size(&self, file_name: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/tx/transaction.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn append(&mut self, file_name: &str) -> BlockId { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleDB` is never constructed [INFO] [stdout] --> src/app/simple_db.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SimpleDB { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `file_manager`, `log_manager`, and `buffer_manager` are never used [INFO] [stdout] --> src/app/simple_db.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SimpleDB { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(db_dir: &str, block_size: usize, buffer_size: u16) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn file_manager(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn log_manager(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn buffer_manager(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Buffer` is never constructed [INFO] [stdout] --> src/buffer/buffer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Buffer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/buffer/buffer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Buffer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(file_manager: Arc, log_manager: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn contents(&mut self) -> &mut Page { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn block(&self) -> Option<&BlockId> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_pinned(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set_modified(&mut self, txnum: u32, lsn: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn modifing_tx_num(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn pin(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn unpin(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn assign_to_block(&mut self, block_id: BlockId) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn flush(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BufferAbortError` is never used [INFO] [stdout] --> src/buffer/buffer_manager.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum BufferAbortError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferManager` is never constructed [INFO] [stdout] --> src/buffer/buffer_manager.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BufferManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/buffer/buffer_manager.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 39 | impl BufferManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 40 | const MAX_TIME: u128 = 10 * 1000; // 10 seconds [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn available(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn flush_all(&mut self, txnum: u32) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn unpin(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn pin(&mut self, blk: &BlockId) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn try_to_pin(&mut self, blk: &BlockId) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn find_existing_buffer(&mut self, blk: &BlockId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn choose_unpinned_buffer(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn waiting_too_long(&self, start_time: u128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_buffer(&mut self, idx: usize) -> &mut Buffer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn set_max_time(&mut self, max_time_m_sec: u128) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_mill_sec` is never used [INFO] [stdout] --> src/buffer/buffer_manager.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn now_mill_sec() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockId` is never constructed [INFO] [stdout] --> src/file/block_id.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BlockId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `filename`, `number`, and `is_null` are never used [INFO] [stdout] --> src/file/block_id.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl BlockId { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(filename: &str, blk_num: u64) -> BlockId { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn filename(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn number(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileManager` is never constructed [INFO] [stdout] --> src/file/file_manager.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/file/file_manager.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl FileManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(db_directory: path::PathBuf, block_size: usize) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn read(&self, blk: &BlockId, page: &mut Page) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn write(&self, blk: &BlockId, page: &mut Page) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn append(&self, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn is_new(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn length(&self, file_name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn block_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_file(&self, filename: &str) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/file/page.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/file/page.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Page { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 8 | // A constructor for creating data buffers [INFO] [stdout] 9 | pub fn new(block_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from_bytes(b: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_int(&self, offset: usize) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_int(&mut self, offset: usize, n: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_bytes(&self, offset: usize) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_string(&self, offset: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_bytes(&mut self, offset: usize, b: &[u8]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn set_string(&mut self, offset: usize, s: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn max_length(strlen: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn contents(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogIterator` is never constructed [INFO] [stdout] --> src/log/log_iterator.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LogIterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `has_next`, and `move_to_block` are never used [INFO] [stdout] --> src/log/log_iterator.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl LogIterator { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(file_manager: Arc, current_block: &BlockId) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn has_next(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn move_to_block(&mut self, block_id: &BlockId) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogManager` is never constructed [INFO] [stdout] --> src/log/log_manager.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LogManager { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `flush`, `iterator`, `append`, `get_last_saved_lsn`, and `append_new_block` are never used [INFO] [stdout] --> src/log/log_manager.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl LogManager { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(file_manager: Arc, log_file: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn flush(&mut self, lsn: u32) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn iterator(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn append(&mut self, log_record: &Vec) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_last_saved_lsn(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn append_new_block(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConcurrencyManager` is never constructed [INFO] [stdout] --> src/tx/concurrency/concurrency_manager.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ConcurrencyManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/concurrency/concurrency_manager.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl ConcurrencyManager { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 11 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LockAbortError` is never used [INFO] [stdout] --> src/tx/concurrency/lock_table.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum LockAbortError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LockTable` is never constructed [INFO] [stdout] --> src/tx/concurrency/lock_table.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LockTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tx/concurrency/lock_table.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 25 | impl LockTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 26 | const MAX_TIME: u128 = 10 * 1000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub fn new() -> LockTable { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn s_lock(&mut self, blk: &BlockId) -> Result<(), LockAbortError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn x_lock(&mut self, blk: &BlockId) -> Result<(), LockAbortError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn unlock(&mut self, blk: &BlockId) -> Result<(), SystemTimeError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn has_x_lock(&self, blk: &BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn has_other_s_lock(&self, blk: &BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn waiting_too_long(&self, time_stamp: u128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_lock_value(&self, blk: &BlockId) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_mill_sec` is never used [INFO] [stdout] --> src/tx/concurrency/lock_table.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn now_mill_sec() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckPointRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/checkpoint_record.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CheckPointRecord {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/recovery/checkpoint_record.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl CheckPointRecord { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommitRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/commit_record.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CommitRecord {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/recovery/commit_record.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl CommitRecord { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Op` is never used [INFO] [stdout] --> src/tx/recovery/log_record.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Op { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LogRecord` is never used [INFO] [stdout] --> src/tx/recovery/log_record.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait LogRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_log_record` is never used [INFO] [stdout] --> src/tx/recovery/log_record.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_log_record(rec: Vec) -> Result, TransactionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecoveryManager` is never constructed [INFO] [stdout] --> src/tx/recovery/recovery_manager.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RecoveryManager {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RollbackRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/rollback_record.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RollbackRecord {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/recovery/rollback_record.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RollbackRecord { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SetIntRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/setint_record.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SetIntRecord {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/recovery/setint_record.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl SetIntRecord { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SetStringRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/setstring_record.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SetStringRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `write_to_log` are never used [INFO] [stdout] --> src/tx/recovery/setstring_record.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SetStringRecord { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 23 | pub fn new(page: Page) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn write_to_log( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StartRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/start_record.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct StartRecord {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/recovery/start_record.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl StartRecord { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transaction` is never constructed [INFO] [stdout] --> src/tx/transaction.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionError` is never used [INFO] [stdout] --> src/tx/transaction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum TransactionError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tx/transaction.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Transaction { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn commit(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | pub fn rollback(&mut self) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub fn recover(&mut self) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | [INFO] [stdout] 49 | pub fn pin(&mut self, block_id: &BlockId) {} [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | pub fn unpin(&mut self, block_id: &BlockId) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | [INFO] [stdout] 52 | pub fn get_int(&self, block_id: &BlockId, offset: usize) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_string(&self, block_id: &BlockId, offset: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | [INFO] [stdout] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | [INFO] [stdout] 62 | pub fn available_buffers(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn size(&self, file_name: &str) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn append(&mut self, file_name: &str) -> BlockId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn block_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "d4a629eb63cb375edd36f7d59269fdac8577c4e189d8d652da982379db3828bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a629eb63cb375edd36f7d59269fdac8577c4e189d8d652da982379db3828bf", kill_on_drop: false }` [INFO] [stdout] d4a629eb63cb375edd36f7d59269fdac8577c4e189d8d652da982379db3828bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eebcb89942b0d3ba5d9db783552883d1d851e740e07ecaea143b7bcd65ba1b47 [INFO] running `Command { std: "docker" "start" "-a" "eebcb89942b0d3ba5d9db783552883d1d851e740e07ecaea143b7bcd65ba1b47", kill_on_drop: false }` [INFO] [stderr] Compiling simple_db_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/file/block_id.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::hash_map::DefaultHasher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/tx/recovery/checkpoint_record.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tx::transaction::{Transaction, TransactionError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/tx/recovery/rollback_record.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | tx::transaction::{Transaction, TransactionError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/tx/recovery/setint_record.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | tx::transaction::{Transaction, TransactionError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::log` [INFO] [stdout] --> src/tx/recovery/setstring_record.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::log; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/tx/recovery/setstring_record.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | tx::transaction::{Transaction, TransactionError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/tx/recovery/start_record.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | tx::transaction::{Transaction, TransactionError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `iter::zip`, and `mem::size_of` [INFO] [stdout] --> src/tx/test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | iter::zip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | mem::size_of, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tx/recovery/checkpoint_record.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn undo(&self, tx: &mut Transaction) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/tx/recovery/commit_record.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tx/recovery/commit_record.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn undo(&self, tx: &mut Transaction) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/tx/recovery/rollback_record.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tx/recovery/rollback_record.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn undo(&self, tx: &mut Transaction) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/tx/recovery/setint_record.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tx/recovery/setint_record.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn undo(&self, tx: &mut Transaction) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/tx/recovery/start_record.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tx/recovery/start_record.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn undo(&self, tx: &mut Transaction) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn pin(&mut self, block_id: &BlockId) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn unpin(&mut self, block_id: &BlockId) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_int(&self, block_id: &BlockId, offset: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/tx/transaction.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_int(&self, block_id: &BlockId, offset: usize) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_string(&self, block_id: &BlockId, offset: usize) -> &str { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/tx/transaction.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_string(&self, block_id: &BlockId, offset: usize) -> &str { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/tx/transaction.rs:58:51 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/tx/transaction.rs:58:66 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok_to_log` [INFO] [stdout] --> src/tx/transaction.rs:58:76 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ok_to_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/tx/transaction.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/tx/transaction.rs:60:54 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/tx/transaction.rs:60:69 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok_to_log` [INFO] [stdout] --> src/tx/transaction.rs:60:80 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ok_to_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/tx/transaction.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn size(&self, file_name: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/tx/transaction.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn append(&mut self, file_name: &str) -> BlockId { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/buffer/buffer_manager.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Time(SystemTimeError), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BufferAbortError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - Time(SystemTimeError), [INFO] [stdout] 16 + Time(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/buffer/buffer_manager.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | IO(Error), [INFO] [stdout] | -- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BufferAbortError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - IO(Error), [INFO] [stdout] 17 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush_all` is never used [INFO] [stdout] --> src/buffer/buffer_manager.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BufferManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn flush_all(&mut self, txnum: u32) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_null` is never used [INFO] [stdout] --> src/file/block_id.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl BlockId { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_new` is never read [INFO] [stdout] --> src/file/file_manager.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | is_new: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_new` is never used [INFO] [stdout] --> src/file/file_manager.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl FileManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn is_new(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_last_saved_lsn` is never used [INFO] [stdout] --> src/log/log_manager.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl LogManager { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_last_saved_lsn(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConcurrencyManager` is never constructed [INFO] [stdout] --> src/tx/concurrency/concurrency_manager.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ConcurrencyManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/concurrency/concurrency_manager.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl ConcurrencyManager { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 11 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LockAbortError` is never used [INFO] [stdout] --> src/tx/concurrency/lock_table.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum LockAbortError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LockTable` is never constructed [INFO] [stdout] --> src/tx/concurrency/lock_table.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LockTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tx/concurrency/lock_table.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 25 | impl LockTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 26 | const MAX_TIME: u128 = 10 * 1000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub fn new() -> LockTable { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn s_lock(&mut self, blk: &BlockId) -> Result<(), LockAbortError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn x_lock(&mut self, blk: &BlockId) -> Result<(), LockAbortError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn unlock(&mut self, blk: &BlockId) -> Result<(), SystemTimeError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn has_x_lock(&self, blk: &BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn has_other_s_lock(&self, blk: &BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn waiting_too_long(&self, time_stamp: u128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_lock_value(&self, blk: &BlockId) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_mill_sec` is never used [INFO] [stdout] --> src/tx/concurrency/lock_table.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn now_mill_sec() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckPointRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/checkpoint_record.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CheckPointRecord {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/recovery/checkpoint_record.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl CheckPointRecord { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommitRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/commit_record.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CommitRecord {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/recovery/commit_record.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl CommitRecord { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Op` is never used [INFO] [stdout] --> src/tx/recovery/log_record.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Op { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LogRecord` is never used [INFO] [stdout] --> src/tx/recovery/log_record.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait LogRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_log_record` is never used [INFO] [stdout] --> src/tx/recovery/log_record.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_log_record(rec: Vec) -> Result, TransactionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecoveryManager` is never constructed [INFO] [stdout] --> src/tx/recovery/recovery_manager.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RecoveryManager {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RollbackRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/rollback_record.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RollbackRecord {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/recovery/rollback_record.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RollbackRecord { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SetIntRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/setint_record.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SetIntRecord {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/recovery/setint_record.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl SetIntRecord { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SetStringRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/setstring_record.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SetStringRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `write_to_log` are never used [INFO] [stdout] --> src/tx/recovery/setstring_record.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SetStringRecord { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 23 | pub fn new(page: Page) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn write_to_log( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StartRecord` is never constructed [INFO] [stdout] --> src/tx/recovery/start_record.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct StartRecord {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tx/recovery/start_record.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl StartRecord { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(page: Page) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_manager`, `log_manager`, and `buffer_manager` are never read [INFO] [stdout] --> src/tx/transaction.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 13 | file_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | log_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | buffer_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionError` is never used [INFO] [stdout] --> src/tx/transaction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum TransactionError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `recover`, `unpin`, `available_buffers`, `size`, `append`, and `block_size` are never used [INFO] [stdout] --> src/tx/transaction.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Transaction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn recover(&mut self) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn unpin(&mut self, block_id: &BlockId) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn available_buffers(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn size(&self, file_name: &str) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn append(&mut self, file_name: &str) -> BlockId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn block_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "eebcb89942b0d3ba5d9db783552883d1d851e740e07ecaea143b7bcd65ba1b47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebcb89942b0d3ba5d9db783552883d1d851e740e07ecaea143b7bcd65ba1b47", kill_on_drop: false }` [INFO] [stdout] eebcb89942b0d3ba5d9db783552883d1d851e740e07ecaea143b7bcd65ba1b47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e1cabc30aa7ed5b407f98097fc50e1d118b00e0932a9b5cbd74cdfa823052ec9 [INFO] running `Command { std: "docker" "start" "-a" "e1cabc30aa7ed5b407f98097fc50e1d118b00e0932a9b5cbd74cdfa823052ec9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `collections::hash_map::DefaultHasher` [INFO] [stderr] --> src/file/block_id.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | collections::hash_map::DefaultHasher, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TransactionError` [INFO] [stderr] --> src/tx/recovery/checkpoint_record.rs:1:43 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::tx::transaction::{Transaction, TransactionError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TransactionError` [INFO] [stderr] --> src/tx/recovery/rollback_record.rs:3:36 [INFO] [stderr] | [INFO] [stderr] 3 | tx::transaction::{Transaction, TransactionError}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TransactionError` [INFO] [stderr] --> src/tx/recovery/setint_record.rs:3:36 [INFO] [stderr] | [INFO] [stderr] 3 | tx::transaction::{Transaction, TransactionError}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::log` [INFO] [stderr] --> src/tx/recovery/setstring_record.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::log; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TransactionError` [INFO] [stderr] --> src/tx/recovery/setstring_record.rs:11:36 [INFO] [stderr] | [INFO] [stderr] 11 | tx::transaction::{Transaction, TransactionError}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TransactionError` [INFO] [stderr] --> src/tx/recovery/start_record.rs:3:36 [INFO] [stderr] | [INFO] [stderr] 3 | tx::transaction::{Transaction, TransactionError}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `Mutex`, `iter::zip`, and `mem::size_of` [INFO] [stderr] --> src/tx/test.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | iter::zip, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | mem::size_of, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 7 | sync::{Arc, Mutex}, [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx` [INFO] [stderr] --> src/tx/recovery/checkpoint_record.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn undo(&self, tx: &mut Transaction) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/tx/recovery/commit_record.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn new(page: Page) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx` [INFO] [stderr] --> src/tx/recovery/commit_record.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn undo(&self, tx: &mut Transaction) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/tx/recovery/rollback_record.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(page: Page) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx` [INFO] [stderr] --> src/tx/recovery/rollback_record.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | fn undo(&self, tx: &mut Transaction) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/tx/recovery/setint_record.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(page: Page) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx` [INFO] [stderr] --> src/tx/recovery/setint_record.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | fn undo(&self, tx: &mut Transaction) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/tx/recovery/start_record.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(page: Page) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx` [INFO] [stderr] --> src/tx/recovery/start_record.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | fn undo(&self, tx: &mut Transaction) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_id` [INFO] [stderr] --> src/tx/transaction.rs:49:27 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn pin(&mut self, block_id: &BlockId) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_id` [INFO] [stderr] --> src/tx/transaction.rs:50:29 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn unpin(&mut self, block_id: &BlockId) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_id` [INFO] [stderr] --> src/tx/transaction.rs:52:27 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn get_int(&self, block_id: &BlockId, offset: usize) -> u32 { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/tx/transaction.rs:52:47 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn get_int(&self, block_id: &BlockId, offset: usize) -> u32 { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_id` [INFO] [stderr] --> src/tx/transaction.rs:55:30 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn get_string(&self, block_id: &BlockId, offset: usize) -> &str { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/tx/transaction.rs:55:50 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn get_string(&self, block_id: &BlockId, offset: usize) -> &str { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_id` [INFO] [stderr] --> src/tx/transaction.rs:58:31 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/tx/transaction.rs:58:51 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/tx/transaction.rs:58:66 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ok_to_log` [INFO] [stderr] --> src/tx/transaction.rs:58:76 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn set_int(&mut self, block_id: &BlockId, offset: usize, val: u32, ok_to_log: bool) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ok_to_log` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_id` [INFO] [stderr] --> src/tx/transaction.rs:60:34 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/tx/transaction.rs:60:54 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/tx/transaction.rs:60:69 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ok_to_log` [INFO] [stderr] --> src/tx/transaction.rs:60:80 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn set_string(&mut self, block_id: &BlockId, offset: usize, val: &str, ok_to_log: bool) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ok_to_log` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_name` [INFO] [stderr] --> src/tx/transaction.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn size(&self, file_name: &str) -> usize { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_name` [INFO] [stderr] --> src/tx/transaction.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn append(&mut self, file_name: &str) -> BlockId { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/buffer/buffer_manager.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | Time(SystemTimeError), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BufferAbortError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 - Time(SystemTimeError), [INFO] [stderr] 16 + Time(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/buffer/buffer_manager.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | IO(Error), [INFO] [stderr] | -- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BufferAbortError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - IO(Error), [INFO] [stderr] 17 + IO(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `flush_all` is never used [INFO] [stderr] --> src/buffer/buffer_manager.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 39 | impl BufferManager { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn flush_all(&mut self, txnum: u32) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_null` is never used [INFO] [stderr] --> src/file/block_id.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl BlockId { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn is_null(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `is_new` is never read [INFO] [stderr] --> src/file/file_manager.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct FileManager { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | is_new: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_new` is never used [INFO] [stderr] --> src/file/file_manager.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl FileManager { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 87 | pub fn is_new(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_last_saved_lsn` is never used [INFO] [stderr] --> src/log/log_manager.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl LogManager { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn get_last_saved_lsn(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ConcurrencyManager` is never constructed [INFO] [stderr] --> src/tx/concurrency/concurrency_manager.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct ConcurrencyManager { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/tx/concurrency/concurrency_manager.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 10 | impl ConcurrencyManager { [INFO] [stderr] | ----------------------- associated function in this implementation [INFO] [stderr] 11 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `LockAbortError` is never used [INFO] [stderr] --> src/tx/concurrency/lock_table.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum LockAbortError { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LockTable` is never constructed [INFO] [stderr] --> src/tx/concurrency/lock_table.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct LockTable { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/tx/concurrency/lock_table.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 25 | impl LockTable { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 26 | const MAX_TIME: u128 = 10 * 1000; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 27 | [INFO] [stderr] 28 | pub fn new() -> LockTable { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn s_lock(&mut self, blk: &BlockId) -> Result<(), LockAbortError> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn x_lock(&mut self, blk: &BlockId) -> Result<(), LockAbortError> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn unlock(&mut self, blk: &BlockId) -> Result<(), SystemTimeError> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn has_x_lock(&self, blk: &BlockId) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn has_other_s_lock(&self, blk: &BlockId) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn waiting_too_long(&self, time_stamp: u128) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn get_lock_value(&self, blk: &BlockId) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `now_mill_sec` is never used [INFO] [stderr] --> src/tx/concurrency/lock_table.rs:91:4 [INFO] [stderr] | [INFO] [stderr] 91 | fn now_mill_sec() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CheckPointRecord` is never constructed [INFO] [stderr] --> src/tx/recovery/checkpoint_record.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct CheckPointRecord {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/tx/recovery/checkpoint_record.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 6 | impl CheckPointRecord { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 7 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CommitRecord` is never constructed [INFO] [stderr] --> src/tx/recovery/commit_record.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct CommitRecord {} [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/tx/recovery/commit_record.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 6 | impl CommitRecord { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 7 | pub fn new(page: Page) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Op` is never used [INFO] [stderr] --> src/tx/recovery/log_record.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | pub enum Op { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: trait `LogRecord` is never used [INFO] [stderr] --> src/tx/recovery/log_record.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | pub trait LogRecord { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_log_record` is never used [INFO] [stderr] --> src/tx/recovery/log_record.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn create_log_record(rec: Vec) -> Result, TransactionError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecoveryManager` is never constructed [INFO] [stderr] --> src/tx/recovery/recovery_manager.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct RecoveryManager {} [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RollbackRecord` is never constructed [INFO] [stderr] --> src/tx/recovery/rollback_record.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct RollbackRecord {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/tx/recovery/rollback_record.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl RollbackRecord { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 10 | pub fn new(page: Page) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SetIntRecord` is never constructed [INFO] [stderr] --> src/tx/recovery/setint_record.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct SetIntRecord {} [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/tx/recovery/setint_record.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl SetIntRecord { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 10 | pub fn new(page: Page) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SetStringRecord` is never constructed [INFO] [stderr] --> src/tx/recovery/setstring_record.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct SetStringRecord { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `write_to_log` are never used [INFO] [stderr] --> src/tx/recovery/setstring_record.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl SetStringRecord { [INFO] [stderr] | -------------------- associated functions in this implementation [INFO] [stderr] 23 | pub fn new(page: Page) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | fn write_to_log( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StartRecord` is never constructed [INFO] [stderr] --> src/tx/recovery/start_record.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct StartRecord {} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/tx/recovery/start_record.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl StartRecord { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 10 | pub fn new(page: Page) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `file_manager`, `log_manager`, and `buffer_manager` are never read [INFO] [stderr] --> src/tx/transaction.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Transaction { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 13 | file_manager: Arc, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 14 | log_manager: Arc>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 15 | buffer_manager: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `TransactionError` is never used [INFO] [stderr] --> src/tx/transaction.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | pub enum TransactionError { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `recover`, `unpin`, `available_buffers`, `size`, `append`, and `block_size` are never used [INFO] [stderr] --> src/tx/transaction.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 32 | impl Transaction { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn recover(&mut self) {} [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn unpin(&mut self, block_id: &BlockId) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | pub fn available_buffers(&self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn size(&self, file_name: &str) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn append(&mut self, file_name: &str) -> BlockId { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn block_size(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `simple_db_rust` (bin "simple_db_rust" test) generated 65 warnings (run `cargo fix --bin "simple_db_rust" -p simple_db_rust --tests` to apply 33 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simple_db_rust-6cb1eef724f07352) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test file::block_id::tests::test_block_id ... ok [INFO] [stdout] test file::page::tests::test_set_get_string ... ok [INFO] [stdout] test buffer::test::tests::buffer_manager_test::test_buffer_manager ... FAILED [INFO] [stdout] test buffer::test::tests::buffer_test::test_buffer ... FAILED [INFO] [stdout] test file::test::tests::test_file ... FAILED [INFO] [stdout] test log::test::tests::test_log ... FAILED [INFO] [stdout] test tx::test::tests::test_transaction ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- buffer::test::tests::buffer_manager_test::test_buffer_manager stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'buffer::test::tests::buffer_manager_test::test_buffer_manager' (17) panicked at src/buffer/test.rs:50:67: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x582a2a4c59ea - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x582a2a4c59ea - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x582a2a4c59ea - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x582a2a4c59ea - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x582a2a4d9a3a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x582a2a4d9a3a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x582a2a4ca512 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x582a2a4ca512 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x582a2a4a32bf - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x582a2a4a32bf - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x582a2a4bd4f9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x582a2a4595cc - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x582a2a4595cc - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x582a2a4bd6b2 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x582a2a4bd6b2 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x582a2a4a3378 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x582a2a498419 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x582a2a4a408d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x582a2a4da18c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x582a2a4d9f02 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x582a2a431d75 - >::unwrap [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x582a2a431d75 - simple_db_rust[d8586ac632b68bee]::buffer::test::tests::buffer_manager_test::test_buffer_manager [INFO] [stdout] at /opt/rustwide/workdir/src/buffer/test.rs:50:67 [INFO] [stdout] 22: 0x582a2a42f927 - simple_db_rust[d8586ac632b68bee]::buffer::test::tests::buffer_manager_test::test_buffer_manager::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/buffer/test.rs:49:33 [INFO] [stdout] 23: 0x582a2a4449a6 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x582a2a44d6ab - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x582a2a44d6ab - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x582a2a45a09b - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x582a2a45a09b - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x582a2a45a09b - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x582a2a45a09b - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x582a2a45a09b - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x582a2a45a09b - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x582a2a45a09b - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x582a2a4544f4 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x582a2a4544f4 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x582a2a45cca2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x582a2a45cca2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x582a2a45cca2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x582a2a45cca2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x582a2a45cca2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x582a2a45cca2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x582a2a45cca2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x582a2a4c52cf - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x582a2a4c52cf - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x70584f364aa4 - [INFO] [stdout] 45: 0x70584f3f1a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- buffer::test::tests::buffer_test::test_buffer stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'buffer::test::tests::buffer_test::test_buffer' (18) panicked at src/buffer/test.rs:10:59: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x582a2a4c59ea - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x582a2a4c59ea - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x582a2a4c59ea - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x582a2a4c59ea - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x582a2a4d9a3a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x582a2a4d9a3a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x582a2a4ca512 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x582a2a4ca512 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x582a2a4a32bf - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x582a2a4a32bf - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x582a2a4bd4f9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x582a2a4595cc - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x582a2a4595cc - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x582a2a4bd6b2 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x582a2a4bd6b2 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x582a2a4a3378 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x582a2a498419 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x582a2a4a408d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x582a2a4da18c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x582a2a4d9f02 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x582a2a44b135 - >::unwrap [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x582a2a44b135 - simple_db_rust[d8586ac632b68bee]::buffer::test::tests::buffer_test::test_buffer [INFO] [stdout] at /opt/rustwide/workdir/src/buffer/test.rs:10:59 [INFO] [stdout] 22: 0x582a2a4490b7 - simple_db_rust[d8586ac632b68bee]::buffer::test::tests::buffer_test::test_buffer::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/buffer/test.rs:9:25 [INFO] [stdout] 23: 0x582a2a444966 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x582a2a44d6ab - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x582a2a44d6ab - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x582a2a45a09b - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x582a2a45a09b - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x582a2a45a09b - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x582a2a45a09b - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x582a2a45a09b - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x582a2a45a09b - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x582a2a45a09b - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x582a2a4544f4 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x582a2a4544f4 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x582a2a45cca2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x582a2a45cca2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x582a2a45cca2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x582a2a45cca2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x582a2a45cca2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x582a2a45cca2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x582a2a45cca2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x582a2a4c52cf - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x582a2a4c52cf - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x70584f364aa4 - [INFO] [stdout] 45: 0x70584f3f1a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- file::test::tests::test_file stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'file::test::tests::test_file' (21) panicked at src/file/test.rs:12:60: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x582a2a4c59ea - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x582a2a4c59ea - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x582a2a4c59ea - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x582a2a4c59ea - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x582a2a4d9a3a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x582a2a4d9a3a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x582a2a4ca512 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x582a2a4ca512 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x582a2a4a32bf - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x582a2a4a32bf - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x582a2a4bd4f9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x582a2a4595cc - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x582a2a4595cc - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x582a2a4bd6b2 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x582a2a4bd6b2 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x582a2a4a3378 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x582a2a498419 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x582a2a4a408d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x582a2a4da18c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x582a2a4d9f02 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x582a2a4422e5 - >::unwrap [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x582a2a4422e5 - simple_db_rust[d8586ac632b68bee]::file::test::tests::test_file [INFO] [stdout] at /opt/rustwide/workdir/src/file/test.rs:12:60 [INFO] [stdout] 22: 0x582a2a43c5c7 - simple_db_rust[d8586ac632b68bee]::file::test::tests::test_file::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/file/test.rs:11:19 [INFO] [stdout] 23: 0x582a2a4448e6 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x582a2a44d6ab - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x582a2a44d6ab - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x582a2a45a09b - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x582a2a45a09b - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x582a2a45a09b - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x582a2a45a09b - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x582a2a45a09b - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x582a2a45a09b - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x582a2a45a09b - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x582a2a4544f4 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x582a2a4544f4 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x582a2a45cca2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x582a2a45cca2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x582a2a45cca2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x582a2a45cca2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x582a2a45cca2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x582a2a45cca2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x582a2a45cca2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x582a2a4c52cf - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x582a2a4c52cf - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x70584f364aa4 - [INFO] [stdout] 45: 0x70584f3f1a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- log::test::tests::test_log stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'log::test::tests::test_log' (22) panicked at src/log/test.rs:14:58: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x582a2a4c59ea - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x582a2a4c59ea - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x582a2a4c59ea - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x582a2a4c59ea - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x582a2a4d9a3a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x582a2a4d9a3a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x582a2a4ca512 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x582a2a4ca512 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x582a2a4a32bf - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x582a2a4a32bf - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x582a2a4bd4f9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x582a2a4595cc - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x582a2a4595cc - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x582a2a4bd6b2 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x582a2a4bd6b2 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x582a2a4a3378 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x582a2a498419 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x582a2a4a408d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x582a2a4da18c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x582a2a4d9f02 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x582a2a44172d - >::unwrap [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x582a2a44172d - simple_db_rust[d8586ac632b68bee]::log::test::tests::test_log [INFO] [stdout] at /opt/rustwide/workdir/src/log/test.rs:14:58 [INFO] [stdout] 22: 0x582a2a43c567 - simple_db_rust[d8586ac632b68bee]::log::test::tests::test_log::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/log/test.rs:13:18 [INFO] [stdout] 23: 0x582a2a444866 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x582a2a44d6ab - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x582a2a44d6ab - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x582a2a45a09b - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x582a2a45a09b - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x582a2a45a09b - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x582a2a45a09b - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x582a2a45a09b - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x582a2a45a09b - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x582a2a45a09b - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x582a2a4544f4 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x582a2a4544f4 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x582a2a45cca2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x582a2a45cca2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x582a2a45cca2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x582a2a45cca2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x582a2a45cca2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x582a2a45cca2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x582a2a45cca2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x582a2a4c52cf - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x582a2a4c52cf - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x70584f364aa4 - [INFO] [stdout] 45: 0x70584f3f1a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tx::test::tests::test_transaction stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tx::test::tests::test_transaction' (23) panicked at src/tx/test.rs:13:62: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x582a2a4c59ea - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x582a2a4c59ea - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x582a2a4c59ea - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x582a2a4c59ea - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x582a2a4d9a3a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x582a2a4d9a3a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x582a2a4ca512 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x582a2a4ca512 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x582a2a4a32bf - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x582a2a4a32bf - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x582a2a4bd4f9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x582a2a4595cc - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x582a2a4595cc - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x582a2a4bd6b2 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x582a2a4bd6b2 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x582a2a4a3378 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x582a2a498419 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x582a2a4a408d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x582a2a4da18c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x582a2a4d9f02 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x582a2a449cf5 - >::unwrap [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x582a2a449cf5 - simple_db_rust[d8586ac632b68bee]::tx::test::tests::test_transaction [INFO] [stdout] at /opt/rustwide/workdir/src/tx/test.rs:13:62 [INFO] [stderr] error: test failed, to rerun pass `--bin simple_db_rust` [INFO] [stdout] 22: 0x582a2a449087 - simple_db_rust[d8586ac632b68bee]::tx::test::tests::test_transaction::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/tx/test.rs:12:26 [INFO] [stdout] 23: 0x582a2a444826 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x582a2a44d6ab - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x582a2a44d6ab - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x582a2a45a09b - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x582a2a45a09b - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x582a2a45a09b - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x582a2a45a09b - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x582a2a45a09b - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x582a2a45a09b - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x582a2a45a09b - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x582a2a4544f4 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x582a2a4544f4 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x582a2a45cca2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x582a2a45cca2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x582a2a45cca2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x582a2a45cca2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x582a2a45cca2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x582a2a45cca2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x582a2a45cca2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x582a2a4c52cf - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x582a2a4c52cf - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x70584f364aa4 - [INFO] [stdout] 45: 0x70584f3f1a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] buffer::test::tests::buffer_manager_test::test_buffer_manager [INFO] [stdout] buffer::test::tests::buffer_test::test_buffer [INFO] [stdout] file::test::tests::test_file [INFO] [stdout] log::test::tests::test_log [INFO] [stdout] tx::test::tests::test_transaction [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e1cabc30aa7ed5b407f98097fc50e1d118b00e0932a9b5cbd74cdfa823052ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1cabc30aa7ed5b407f98097fc50e1d118b00e0932a9b5cbd74cdfa823052ec9", kill_on_drop: false }` [INFO] [stdout] e1cabc30aa7ed5b407f98097fc50e1d118b00e0932a9b5cbd74cdfa823052ec9