[INFO] cloning repository https://github.com/uuhan/cloyster [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uuhan/cloyster" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuuhan%2Fcloyster", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuuhan%2Fcloyster'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d3cab5ba1dd4ceca79fd586a1851c9f6e0ba30a [INFO] checking uuhan/cloyster against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuuhan%2Fcloyster" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uuhan/cloyster on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/uuhan/cloyster [INFO] finished tweaking git repo https://github.com/uuhan/cloyster [INFO] tweaked toml for git repo https://github.com/uuhan/cloyster written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/uuhan/cloyster already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compare v0.1.0 [INFO] [stderr] Downloaded binary-heap-plus v0.4.1 [INFO] [stderr] Downloaded abyss-promise v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aac66f828fe3579e8a60340534d058c39f40245c5db8b6ac327982cfb1e26165 [INFO] running `Command { std: "docker" "start" "-a" "aac66f828fe3579e8a60340534d058c39f40245c5db8b6ac327982cfb1e26165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aac66f828fe3579e8a60340534d058c39f40245c5db8b6ac327982cfb1e26165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aac66f828fe3579e8a60340534d058c39f40245c5db8b6ac327982cfb1e26165", kill_on_drop: false }` [INFO] [stdout] aac66f828fe3579e8a60340534d058c39f40245c5db8b6ac327982cfb1e26165 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c27618ce6bdf35cc62db49a01192324b66593dc41063dbdb1004537b74e75303 [INFO] running `Command { std: "docker" "start" "-a" "c27618ce6bdf35cc62db49a01192324b66593dc41063dbdb1004537b74e75303", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling im v15.0.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking compare v0.1.0 [INFO] [stderr] Checking binary-heap-plus v0.4.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling blake3 v1.2.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking abyss-promise v0.1.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking cloyster v0.1.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Condvar`, `Mutex` [INFO] [stdout] --> src/lib.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | pub use parking_lot::{Condvar, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicI64` [INFO] [stdout] --> src/lib.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | AtomicBool, AtomicI64, AtomicI64 as AtomicLsn, AtomicU64, AtomicUsize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AtomicUsize` is imported redundantly [INFO] [stdout] --> src/pagecache/config.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use super::{LogReader, *}; [INFO] [stdout] | - the item `AtomicUsize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `deserialize` is imported redundantly [INFO] [stdout] --> src/pagecache/config.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use bincode::{deserialize, serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use super::{LogReader, *}; [INFO] [stdout] | - the item `deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serialize` is imported redundantly [INFO] [stdout] --> src/pagecache/config.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use bincode::{deserialize, serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use super::{LogReader, *}; [INFO] [stdout] | - the item `serialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LogReader` is imported redundantly [INFO] [stdout] --> src/pagecache/config.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use super::{LogReader, *}; [INFO] [stdout] | ^^^^^^^^^ - the item `LogReader` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DoublyLinkedList`, `Item` [INFO] [stdout] --> src/pagecache/ds/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | dll::{DoublyLinkedList, Item}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Condvar` is imported redundantly [INFO] [stdout] --> src/pagecache/iobuf.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use parking_lot::{Condvar, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::{atomic::*, sync::*}; [INFO] [stdout] | ------- the item `Condvar` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/pagecache/iobuf.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use parking_lot::{Condvar, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::{atomic::*, sync::*}; [INFO] [stdout] | ------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RwLock` is imported redundantly [INFO] [stdout] --> src/pagecache/iobuf.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use parking_lot::{Condvar, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::{atomic::*, sync::*}; [INFO] [stdout] | ------- the item `RwLock` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LogReader` is imported redundantly [INFO] [stdout] --> src/pagecache/iobuf.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::reader::LogReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `LogReader` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LogReader` is imported redundantly [INFO] [stdout] --> src/pagecache/iterator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use self::reader::LogReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `LogReader` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/pagecache/iterator.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::BTreeMap, io}; [INFO] [stdout] | ^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pio` is imported redundantly [INFO] [stdout] --> src/pagecache/reader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::Pio; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `Pio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/pagecache/result.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::PartialEq, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/pagecache/result.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::{self, Display}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/pagecache/result.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Condvar`, `Mutex` [INFO] [stdout] --> src/lib.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | pub use parking_lot::{Condvar, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicI64` [INFO] [stdout] --> src/lib.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | AtomicBool, AtomicI64, AtomicI64 as AtomicLsn, AtomicU64, AtomicUsize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AtomicUsize` is imported redundantly [INFO] [stdout] --> src/pagecache/config.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use super::{LogReader, *}; [INFO] [stdout] | - the item `AtomicUsize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `deserialize` is imported redundantly [INFO] [stdout] --> src/pagecache/config.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use bincode::{deserialize, serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use super::{LogReader, *}; [INFO] [stdout] | - the item `deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serialize` is imported redundantly [INFO] [stdout] --> src/pagecache/config.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use bincode::{deserialize, serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use super::{LogReader, *}; [INFO] [stdout] | - the item `serialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LogReader` is imported redundantly [INFO] [stdout] --> src/pagecache/config.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use super::{LogReader, *}; [INFO] [stdout] | ^^^^^^^^^ - the item `LogReader` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DoublyLinkedList`, `Item` [INFO] [stdout] --> src/pagecache/ds/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | dll::{DoublyLinkedList, Item}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Condvar` is imported redundantly [INFO] [stdout] --> src/pagecache/iobuf.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use parking_lot::{Condvar, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::{atomic::*, sync::*}; [INFO] [stdout] | ------- the item `Condvar` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/pagecache/iobuf.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use parking_lot::{Condvar, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::{atomic::*, sync::*}; [INFO] [stdout] | ------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RwLock` is imported redundantly [INFO] [stdout] --> src/pagecache/iobuf.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use parking_lot::{Condvar, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::{atomic::*, sync::*}; [INFO] [stdout] | ------- the item `RwLock` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LogReader` is imported redundantly [INFO] [stdout] --> src/pagecache/iobuf.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::reader::LogReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `LogReader` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LogReader` is imported redundantly [INFO] [stdout] --> src/pagecache/iterator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use self::reader::LogReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `LogReader` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/pagecache/iterator.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::BTreeMap, io}; [INFO] [stdout] | ^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pio` is imported redundantly [INFO] [stdout] --> src/pagecache/reader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::Pio; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `Pio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/pagecache/result.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::PartialEq, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/pagecache/result.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::{self, Display}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/pagecache/result.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/iobuf.rs:861:31 [INFO] [stdout] | [INFO] [stdout] 861 | let res = self.header.compare_and_swap(old, new, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/iobuf.rs:861:31 [INFO] [stdout] | [INFO] [stdout] 861 | let res = self.header.compare_and_swap(old, new, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/ds/dll.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let node = Node::new(item); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/ds/dll.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let node = Node::new(item); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item`, `prev`, and `next` are never read [INFO] [stdout] --> src/ds/dll.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub item: Item, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub prev: *mut Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub next: *mut Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `remove` are never used [INFO] [stdout] --> src/ds/dll.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Node { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(item: Item) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn remove(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head`, `tail`, and `size` are never read [INFO] [stdout] --> src/ds/dll.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DoublyLinkedList { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 38 | pub head: *mut Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub tail: *mut Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_head`, `push_tail`, and `len` are never used [INFO] [stdout] --> src/ds/dll.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl DoublyLinkedList { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 57 | pub fn push_head(&mut self, item: Item) -> *mut Node { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn push_tail(&mut self, item: Item) -> *mut Node { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CasResult` is never used [INFO] [stdout] --> src/ds/stack.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type CasResult<'g, T> = Either>, (Shared<'g, Node>, Owned>)>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `head`, `push`, `cas`, and `cap` are never used [INFO] [stdout] --> src/ds/stack.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Stack { [INFO] [stdout] | ----------------------------------------------- methods in this implementation [INFO] [stdout] 67 | /// return current head pointer of the stack [INFO] [stdout] 68 | pub fn head<'g>(&self, guard: &'g Guard) -> Shared<'g, Node> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn push(&self, inner: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn cas<'g>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn cap<'g>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guard` is never read [INFO] [stdout] --> src/iter.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Iter { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | guard: Guard, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `try_lock` are never used [INFO] [stdout] --> src/lock.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl FastLock { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 22 | #[cfg(not(loom))] [INFO] [stdout] 23 | pub const fn new(inner: T) -> FastLock { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/pagecache/config.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | buf.split_off(len - 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 403 | let _ = buf.split_off(len - 4); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/pagecache/snapshot.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | buf.split_off(len - 12); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 200 | let _ = buf.split_off(len - 12); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item`, `prev`, and `next` are never read [INFO] [stdout] --> src/ds/dll.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub item: Item, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub prev: *mut Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub next: *mut Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `remove` are never used [INFO] [stdout] --> src/ds/dll.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Node { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(item: Item) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn remove(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head`, `tail`, and `size` are never read [INFO] [stdout] --> src/ds/dll.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DoublyLinkedList { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 38 | pub head: *mut Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub tail: *mut Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_head`, `push_tail`, and `len` are never used [INFO] [stdout] --> src/ds/dll.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl DoublyLinkedList { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 57 | pub fn push_head(&mut self, item: Item) -> *mut Node { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn push_tail(&mut self, item: Item) -> *mut Node { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CasResult` is never used [INFO] [stdout] --> src/ds/stack.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type CasResult<'g, T> = Either>, (Shared<'g, Node>, Owned>)>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `head`, `push`, `cas`, and `cap` are never used [INFO] [stdout] --> src/ds/stack.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Stack { [INFO] [stdout] | ----------------------------------------------- methods in this implementation [INFO] [stdout] 67 | /// return current head pointer of the stack [INFO] [stdout] 68 | pub fn head<'g>(&self, guard: &'g Guard) -> Shared<'g, Node> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn push(&self, inner: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn cas<'g>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn cap<'g>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guard` is never read [INFO] [stdout] --> src/iter.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Iter { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | guard: Guard, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `try_lock` are never used [INFO] [stdout] --> src/lock.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl FastLock { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 22 | #[cfg(not(loom))] [INFO] [stdout] 23 | pub const fn new(inner: T) -> FastLock { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/pagecache/ds/stack.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Stack { [INFO] [stdout] | ----------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | fn pop(&self, guard: &Guard) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/pagecache/config.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | buf.split_off(len - 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 403 | let _ = buf.split_off(len - 4); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/pagecache/snapshot.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | buf.split_off(len - 12); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 200 | let _ = buf.split_off(len - 12); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> examples/demo.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use cloyster::pagecache::{self, pin, Config, Materializer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> examples/demo.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | key = pc [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> examples/demo.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut key, page, size_on_disk) = pc.get(id, &guard).unwrap().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size_on_disk` [INFO] [stdout] --> examples/demo.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut key, page, size_on_disk) = pc.get(id, &guard).unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_on_disk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/demo.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut key, page, size_on_disk) = pc.get(id, &guard).unwrap().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.44s [INFO] running `Command { std: "docker" "inspect" "c27618ce6bdf35cc62db49a01192324b66593dc41063dbdb1004537b74e75303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27618ce6bdf35cc62db49a01192324b66593dc41063dbdb1004537b74e75303", kill_on_drop: false }` [INFO] [stdout] c27618ce6bdf35cc62db49a01192324b66593dc41063dbdb1004537b74e75303