[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 master#2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36 for pr-95819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarun24143%2Frust_dsa_test" "/workspace/builds/worker-91/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-91/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 8% (33/392) Updating files: 9% (36/392) Updating files: 10% (40/392) Updating files: 11% (44/392) Updating files: 12% (48/392) Updating files: 13% (51/392) Updating files: 14% (55/392) Updating files: 15% (59/392) Updating files: 16% (63/392) Updating files: 17% (67/392) Updating files: 18% (71/392) Updating files: 19% (75/392) Updating files: 20% (79/392) Updating files: 21% (83/392) Updating files: 22% (87/392) Updating files: 23% (91/392) Updating files: 24% (95/392) Updating files: 25% (98/392) Updating files: 26% (102/392) Updating files: 27% (106/392) Updating files: 28% (110/392) Updating files: 29% (114/392) Updating files: 30% (118/392) Updating files: 31% (122/392) Updating files: 32% (126/392) Updating files: 33% (130/392) Updating files: 34% (134/392) Updating files: 35% (138/392) Updating files: 36% (142/392) Updating files: 37% (146/392) Updating files: 38% (149/392) Updating files: 39% (153/392) Updating files: 40% (157/392) Updating files: 41% (161/392) Updating files: 42% (165/392) Updating files: 43% (169/392) Updating files: 44% (173/392) Updating files: 44% (175/392) Updating files: 45% (177/392) Updating files: 46% (181/392) Updating files: 47% (185/392) Updating files: 48% (189/392) Updating files: 49% (193/392) Updating files: 50% (196/392) Updating files: 51% (200/392) Updating files: 52% (204/392) Updating files: 53% (208/392) Updating files: 54% (212/392) Updating files: 55% (216/392) Updating files: 56% (220/392) Updating files: 57% (224/392) Updating files: 57% (227/392) Updating files: 58% (228/392) Updating files: 59% (232/392) Updating files: 60% (236/392) Updating files: 61% (240/392) Updating files: 62% (244/392) Updating files: 63% (247/392) Updating files: 64% (251/392) Updating files: 65% (255/392) Updating files: 66% (259/392) Updating files: 67% (263/392) Updating files: 68% (267/392) Updating files: 69% (271/392) Updating files: 70% (275/392) Updating files: 71% (279/392) Updating files: 72% (283/392) Updating files: 73% (287/392) Updating files: 74% (291/392) Updating files: 75% (294/392) Updating files: 76% (298/392) Updating files: 77% (302/392) Updating files: 78% (306/392) Updating files: 79% (310/392) Updating files: 80% (314/392) Updating files: 81% (318/392) Updating files: 82% (322/392) Updating files: 83% (326/392) Updating files: 84% (330/392) Updating files: 85% (334/392) Updating files: 86% (338/392) Updating files: 87% (342/392) Updating files: 88% (345/392) Updating files: 89% (349/392) Updating files: 90% (353/392) Updating files: 91% (357/392) Updating files: 92% (361/392) Updating files: 93% (365/392) Updating files: 94% (369/392) Updating files: 95% (373/392) Updating files: 96% (377/392) Updating files: 96% (380/392) Updating files: 97% (381/392) Updating files: 98% (385/392) Updating files: 99% (389/392) Updating files: 100% (392/392) Updating files: 100% (392/392), done. [INFO] validating manifest of git repo https://github.com/varun24143/rust_dsa_test on toolchain 2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "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-91/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: "/workspace/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7139053dda1fe67b87d886ced1571d8a48b8058351dc0bdc26911e4caa6d1805 [INFO] running `Command { std: "docker" "start" "-a" "7139053dda1fe67b87d886ced1571d8a48b8058351dc0bdc26911e4caa6d1805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7139053dda1fe67b87d886ced1571d8a48b8058351dc0bdc26911e4caa6d1805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7139053dda1fe67b87d886ced1571d8a48b8058351dc0bdc26911e4caa6d1805", kill_on_drop: false }` [INFO] [stdout] 7139053dda1fe67b87d886ced1571d8a48b8058351dc0bdc26911e4caa6d1805 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3abc62d4a4dbf49ca6535a745ec976b65692f1f65b6d78e934d3585cf833114e [INFO] running `Command { std: "docker" "start" "-a" "3abc62d4a4dbf49ca6535a745ec976b65692f1f65b6d78e934d3585cf833114e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: `std::mem` [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: 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: 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: 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: 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: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new(is_open: bool) -> Door { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new(is_open: bool) -> Door { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | name: 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] --> src/main.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ext` [INFO] [stdout] --> src/main.rs:52:5 [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] --> src/main.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/conmut.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | value: String, [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] --> src/conmut.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> src/conmut.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | next: Link, [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] --> src/conmut.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prev` [INFO] [stdout] --> src/conmut.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | prev: Link, [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] --> src/conmut.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [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: field is never read: `a` [INFO] [stdout] --> src/memtesting.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | a: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/memtesting.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | b: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c` [INFO] [stdout] --> src/memtesting.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | c: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BetterTransactionLog` [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 is never used: `new` [INFO] [stdout] --> src/transactionlog.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(value: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_empty` [INFO] [stdout] --> src/transactionlog.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_empty() -> BetterTransactionLog { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/transactionlog.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn append(&mut self, value: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/transactionlog.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | name: 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] --> src/main.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/transactionlog.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(start_at: SingleLink) -> ListIterator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [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: field is never read: `ext` [INFO] [stdout] --> src/main.rs:52:5 [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] --> src/main.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Link` [INFO] [stdout] --> src/tests.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | type Link = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/skiplists.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(links: Vec, offset: u64, command: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/conmut.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | value: String, [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] --> src/conmut.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head` [INFO] [stdout] --> src/skiplists.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | head: Link, [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] --> src/skiplists.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> src/conmut.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | next: Link, [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] --> src/conmut.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tails` [INFO] [stdout] --> src/skiplists.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | tails: Vec, // This property is a vector pointing to the tail of each level [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] --> src/skiplists.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_level` [INFO] [stdout] --> src/skiplists.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | max_level: usize, [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] --> src/skiplists.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prev` [INFO] [stdout] --> src/conmut.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | prev: Link, [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] --> src/conmut.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_empty` [INFO] [stdout] --> src/skiplists.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new_empty(max_level: usize) -> BestTransactionLog { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [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: field is never read: `a` [INFO] [stdout] --> src/memtesting.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | a: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/memtesting.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | b: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_level` [INFO] [stdout] --> src/skiplists.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_level(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c` [INFO] [stdout] --> src/memtesting.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | c: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/skiplists.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn append(&mut self, offset: u64, value: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/skiplists.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn find(&self, offset: u64) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BetterTransactionLog` [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 is never used: `new` [INFO] [stdout] --> src/transactionlog.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(value: String) -> Rc> { [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 is never used: `new_empty` [INFO] [stdout] --> src/transactionlog.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_empty() -> BetterTransactionLog { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/transactionlog.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn append(&mut self, value: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/transactionlog.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/transactionlog.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(start_at: SingleLink) -> ListIterator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Link` [INFO] [stdout] --> src/tests.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | type Link = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/skiplists.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(links: Vec, offset: u64, command: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head` [INFO] [stdout] --> src/skiplists.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | head: Link, [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] --> src/skiplists.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tails` [INFO] [stdout] --> src/skiplists.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | tails: Vec, // This property is a vector pointing to the tail of each level [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] --> src/skiplists.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_level` [INFO] [stdout] --> src/skiplists.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | max_level: usize, [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] --> src/skiplists.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_empty` [INFO] [stdout] --> src/skiplists.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new_empty(max_level: usize) -> BestTransactionLog { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_level` [INFO] [stdout] --> src/skiplists.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_level(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/skiplists.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn append(&mut self, offset: u64, value: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/skiplists.rs:101:12 [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "3abc62d4a4dbf49ca6535a745ec976b65692f1f65b6d78e934d3585cf833114e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3abc62d4a4dbf49ca6535a745ec976b65692f1f65b6d78e934d3585cf833114e", kill_on_drop: false }` [INFO] [stdout] 3abc62d4a4dbf49ca6535a745ec976b65692f1f65b6d78e934d3585cf833114e