[INFO] cloning repository https://github.com/omriShneor/rustdex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omriShneor/rustdex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FomriShneor%2Frustdex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FomriShneor%2Frustdex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a76fef4267761860da8a83069356f1382f2e2b66 [INFO] checking omriShneor/rustdex against master#ed141926048597e3649bb238ca3dc417904cd56c for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FomriShneor%2Frustdex" "/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/omriShneor/rustdex on toolchain ed141926048597e3649bb238ca3dc417904cd56c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed141926048597e3649bb238ca3dc417904cd56c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/omriShneor/rustdex [INFO] finished tweaking git repo https://github.com/omriShneor/rustdex [INFO] tweaked toml for git repo https://github.com/omriShneor/rustdex written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/omriShneor/rustdex 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" "+ed141926048597e3649bb238ca3dc417904cd56c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed141926048597e3649bb238ca3dc417904cd56c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ee0e9a70301be4800f50d88c9681ec1c9b76d2fd378bc7481a72a8029f12cd5 [INFO] running `Command { std: "docker" "start" "-a" "0ee0e9a70301be4800f50d88c9681ec1c9b76d2fd378bc7481a72a8029f12cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ee0e9a70301be4800f50d88c9681ec1c9b76d2fd378bc7481a72a8029f12cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ee0e9a70301be4800f50d88c9681ec1c9b76d2fd378bc7481a72a8029f12cd5", kill_on_drop: false }` [INFO] [stdout] 0ee0e9a70301be4800f50d88c9681ec1c9b76d2fd378bc7481a72a8029f12cd5 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed141926048597e3649bb238ca3dc417904cd56c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdc0b19ede9892b43dd9b5d656002ec0f22ac420183868dd2af0863e213332a9 [INFO] running `Command { std: "docker" "start" "-a" "bdc0b19ede9892b43dd9b5d656002ec0f22ac420183868dd2af0863e213332a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rustdex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bitcask.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | fn delete(&self, key: String) -> BitcaskResult { [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: enum `BitcaskResult` is never used [INFO] [stdout] --> src/bitcask.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum BitcaskResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyDirEntry` is never constructed [INFO] [stdout] --> src/bitcask.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct KeyDirEntry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyDir` is never constructed [INFO] [stdout] --> src/bitcask.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct KeyDir { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitcaskHandler` is never constructed [INFO] [stdout] --> src/bitcask.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct BitcaskHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `put`, `delete`, `list_keys`, and `append_to_active_file` are never used [INFO] [stdout] --> src/bitcask.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl BitcaskHandler { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 47 | fn new(dir_path: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn get(&mut self, key: String) -> BitcaskResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn put(&mut self, key: String, value: Vec) -> BitcaskResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn delete(&self, key: String) -> BitcaskResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn list_keys(&self) -> BitcaskResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn append_to_active_file(&mut self, data_file_entry: DataFileEntry) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bitcask.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | fn delete(&self, key: String) -> BitcaskResult { [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: field `0` is never read [INFO] [stdout] --> src/bitcask.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | SerializeError(String), [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 13 | SerializeError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bitcask.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | UnExpectedError(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 15 | UnExpectedError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `KeysList` is never constructed [INFO] [stdout] --> src/bitcask.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum BitcaskResult { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | KeysList(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id` and `tstamp` are never read [INFO] [stdout] --> src/bitcask.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct KeyDirEntry { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 30 | file_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | tstamp: SystemTime [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete` and `list_keys` are never used [INFO] [stdout] --> src/bitcask.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl BitcaskHandler { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | fn delete(&self, key: String) -> BitcaskResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn list_keys(&self) -> BitcaskResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.85s [INFO] running `Command { std: "docker" "inspect" "bdc0b19ede9892b43dd9b5d656002ec0f22ac420183868dd2af0863e213332a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdc0b19ede9892b43dd9b5d656002ec0f22ac420183868dd2af0863e213332a9", kill_on_drop: false }` [INFO] [stdout] bdc0b19ede9892b43dd9b5d656002ec0f22ac420183868dd2af0863e213332a9