[INFO] cloning repository https://github.com/varun24143/rust_dsa_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/varun24143/rust_dsa_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarun24143%2Frust_dsa_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarun24143%2Frust_dsa_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 531b5900a874c16b690c872b00080cf766cd745a [INFO] checking varun24143/rust_dsa_test against try#be699666730c5a1745838222e98e2d85019affdc for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarun24143%2Frust_dsa_test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file target/rls/debug/incremental/rust_dsa-1zs07lsvnq5jh/s-g1wjh5lia5-l4l5p7-3weuhp9mi6s6/query-cache.bin [INFO] [stderr] error: unable to write file target/rls/debug/incremental/rust_dsa-1zs07lsvnq5jh/s-g1wjh5lia5-l4l5p7-3weuhp9mi6s6/work-products.bin [INFO] [stderr] fatal: cannot create directory at 'target/rls/debug/incremental/rust_dsa-1zs07lsvnq5jh/s-g1wjid2ykp-14t03oc-working': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking varun24143/rust_dsa_test against try#be699666730c5a1745838222e98e2d85019affdc for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarun24143%2Frust_dsa_test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file target/rls/debug/incremental/rust_dsa-149zs4mnc6ndn/s-g1xgvz3lyi-jl39e8-193bu3mf7x2b2/dep-graph.bin [INFO] [stderr] error: unable to write file target/rls/debug/incremental/rust_dsa-149zs4mnc6ndn/s-g1xgvz3lyi-jl39e8-193bu3mf7x2b2/query-cache.bin [INFO] [stderr] error: unable to write file target/rls/debug/incremental/rust_dsa-149zs4mnc6ndn/s-g1xgvz3lyi-jl39e8-193bu3mf7x2b2/work-products.bin [INFO] [stderr] fatal: cannot create directory at 'target/rls/debug/incremental/rust_dsa-149zs4mnc6ndn/s-g1xgxalalj-9fgm1y-7l4zr111wfdf': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking varun24143/rust_dsa_test against try#be699666730c5a1745838222e98e2d85019affdc for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarun24143%2Frust_dsa_test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/dep-graph.bin [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/dep-graph.part.bin [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/h5wjg60sub2pvr5.o [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/os0w6rrixnegl0p.o [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/query-cache.bin [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/work-products.bin [INFO] [stderr] error: unable to write file target/debug/rust_dsa.d [INFO] [stderr] error: unable to write file target/debug/rust_dsa.exe [INFO] [stderr] error: unable to write file target/debug/rust_dsa.pdb [INFO] [stderr] fatal: cannot create directory at 'target/rls': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking varun24143/rust_dsa_test against try#be699666730c5a1745838222e98e2d85019affdc for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarun24143%2Frust_dsa_test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/dep-graph.bin [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/dep-graph.part.bin [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/h5wjg60sub2pvr5.o [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/os0w6rrixnegl0p.o [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/query-cache.bin [INFO] [stderr] error: unable to write file target/debug/incremental/tests-jok8awra272f/s-g1jztw6rqg-1t5brgt-working/work-products.bin [INFO] [stderr] error: unable to write file target/debug/rust_dsa.d [INFO] [stderr] error: unable to write file target/debug/rust_dsa.exe [INFO] [stderr] error: unable to write file target/debug/rust_dsa.pdb [INFO] [stderr] fatal: cannot create directory at 'target/rls': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking varun24143/rust_dsa_test against try#be699666730c5a1745838222e98e2d85019affdc for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarun24143%2Frust_dsa_test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/varun24143/rust_dsa_test on toolchain be699666730c5a1745838222e98e2d85019affdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/varun24143/rust_dsa_test [INFO] finished tweaking git repo https://github.com/varun24143/rust_dsa_test [INFO] tweaked toml for git repo https://github.com/varun24143/rust_dsa_test written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/varun24143/rust_dsa_test 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" "+be699666730c5a1745838222e98e2d85019affdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4461179fc27d230874bd17977f5234a9a129054ea9127b49d66854d56394671a [INFO] running `Command { std: "docker" "start" "-a" "4461179fc27d230874bd17977f5234a9a129054ea9127b49d66854d56394671a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4461179fc27d230874bd17977f5234a9a129054ea9127b49d66854d56394671a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4461179fc27d230874bd17977f5234a9a129054ea9127b49d66854d56394671a", kill_on_drop: false }` [INFO] [stdout] 4461179fc27d230874bd17977f5234a9a129054ea9127b49d66854d56394671a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d8701683eb16287d258b6cb082b084af7507160acf5b23a1159ab8a48e75798 [INFO] running `Command { std: "docker" "start" "-a" "7d8701683eb16287d258b6cb082b084af7507160acf5b23a1159ab8a48e75798", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rust_dsa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/memtesting.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/skiplists.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conmut::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::conmut::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transactionlog::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::transactionlog::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tests::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tests::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::skiplists::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::skiplists::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/memtesting.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::memtesting::MyStruct` [INFO] [stdout] --> src/tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::memtesting::MyStruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conmut::*` [INFO] [stdout] --> src/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::conmut::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/skiplists.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conmut::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::conmut::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transactionlog::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::transactionlog::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tests::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tests::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::skiplists::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::skiplists::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Door` is never constructed [INFO] [stdout] --> src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Door { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Door { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 19 | fn new(is_open: bool) -> Door { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Openable` is never used [INFO] [stdout] --> src/main.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | trait Openable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ext` are never read [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct FileName { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 51 | name: Rc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | ext: Rc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/conmut.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/conmut.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/conmut.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn add(a: i32, b: i32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, and `c` are never read [INFO] [stdout] --> src/memtesting.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MyStruct { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | a: u8, [INFO] [stdout] | ^ [INFO] [stdout] 5 | b: u8, [INFO] [stdout] | ^ [INFO] [stdout] 6 | c: u8, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BetterTransactionLog` is never constructed [INFO] [stdout] --> src/transactionlog.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BetterTransactionLog { // Revised as per doubly linked list [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transactionlog.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 27 | // A nice and short way of creating a new node [INFO] [stdout] 28 | pub fn new(value: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_empty`, `append`, and `pop` are never used [INFO] [stdout] --> src/transactionlog.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BetterTransactionLog { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new_empty() -> BetterTransactionLog { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn append(&mut self, value: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transactionlog.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl ListIterator { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 75 | pub fn new(start_at: SingleLink) -> ListIterator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/tests.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn add(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/tests.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | type Link = Rc>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/skiplists.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/skiplists.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/skiplists.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 26 | fn new(links: Vec, offset: u64, command: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestTransactionLog` is never constructed [INFO] [stdout] --> src/skiplists.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct BestTransactionLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BestTransactionLog` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Door` is never constructed [INFO] [stdout] --> src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Door { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_empty`, `get_level`, `append`, and `find` are never used [INFO] [stdout] --> src/skiplists.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BestTransactionLog { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 54 | [INFO] [stdout] 55 | pub fn new_empty(max_level: usize) -> BestTransactionLog { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_level(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn append(&mut self, offset: u64, value: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn find(&self, offset: u64) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Sanitize` should have a snake case name [INFO] [stdout] --> src/conmut.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn Sanitize(s: String) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sanitize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Door { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 19 | fn new(is_open: bool) -> Door { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Openable` is never used [INFO] [stdout] --> src/main.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | trait Openable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ext` are never read [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct FileName { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 51 | name: Rc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | ext: Rc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/conmut.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/conmut.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/conmut.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn add(a: i32, b: i32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, and `c` are never read [INFO] [stdout] --> src/memtesting.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MyStruct { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | a: u8, [INFO] [stdout] | ^ [INFO] [stdout] 5 | b: u8, [INFO] [stdout] | ^ [INFO] [stdout] 6 | c: u8, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BetterTransactionLog` is never constructed [INFO] [stdout] --> src/transactionlog.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BetterTransactionLog { // Revised as per doubly linked list [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transactionlog.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 27 | // A nice and short way of creating a new node [INFO] [stdout] 28 | pub fn new(value: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_empty`, `append`, and `pop` are never used [INFO] [stdout] --> src/transactionlog.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BetterTransactionLog { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new_empty() -> BetterTransactionLog { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn append(&mut self, value: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transactionlog.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl ListIterator { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 75 | pub fn new(start_at: SingleLink) -> ListIterator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/tests.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | type Link = Rc>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/skiplists.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/skiplists.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/skiplists.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 26 | fn new(links: Vec, offset: u64, command: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestTransactionLog` is never constructed [INFO] [stdout] --> src/skiplists.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct BestTransactionLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BestTransactionLog` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_empty`, `get_level`, `append`, and `find` are never used [INFO] [stdout] --> src/skiplists.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BestTransactionLog { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 54 | [INFO] [stdout] 55 | pub fn new_empty(max_level: usize) -> BestTransactionLog { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_level(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn append(&mut self, offset: u64, value: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn find(&self, offset: u64) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Sanitize` should have a snake case name [INFO] [stdout] --> src/conmut.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn Sanitize(s: String) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sanitize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.17s [INFO] running `Command { std: "docker" "inspect" "7d8701683eb16287d258b6cb082b084af7507160acf5b23a1159ab8a48e75798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8701683eb16287d258b6cb082b084af7507160acf5b23a1159ab8a48e75798", kill_on_drop: false }` [INFO] [stdout] 7d8701683eb16287d258b6cb082b084af7507160acf5b23a1159ab8a48e75798