[INFO] fetching crate rust_examples 0.1.11... [INFO] testing rust_examples-0.1.11 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rust_examples 0.1.11 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rust_examples 0.1.11 [INFO] finished tweaking crates.io crate rust_examples 0.1.11 [INFO] tweaked toml for crates.io crate rust_examples 0.1.11 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_examples 0.1.11 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust_examples 0.1.11 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11c8dbd64da9ea71fe827b92feabb4d8aea3f6f7ae848d9160bb3562945102b9 [INFO] running `Command { std: "docker" "start" "-a" "11c8dbd64da9ea71fe827b92feabb4d8aea3f6f7ae848d9160bb3562945102b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11c8dbd64da9ea71fe827b92feabb4d8aea3f6f7ae848d9160bb3562945102b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c8dbd64da9ea71fe827b92feabb4d8aea3f6f7ae848d9160bb3562945102b9", kill_on_drop: false }` [INFO] [stdout] 11c8dbd64da9ea71fe827b92feabb4d8aea3f6f7ae848d9160bb3562945102b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bf4ac04ef3e8274d063e75e3524624a3da59276dec26b1780141c11c570d363 [INFO] running `Command { std: "docker" "start" "-a" "2bf4ac04ef3e8274d063e75e3524624a3da59276dec26b1780141c11c570d363", kill_on_drop: false }` [INFO] [stderr] Compiling rust_examples v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/rustonomicon/vec.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/list_fifth.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/list_fifth.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/list_fifth.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct List<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stdout] --> src/list_fifth.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a, T> List<'a, T> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn push(&'a mut self, element: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn pop(&'a mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/list_eighth.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl LinkedList { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn push_front(&mut self, element: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn front(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn back(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn front_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn back_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/list_eighth.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_mut` is never used [INFO] [stdout] --> src/list_eighth.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl LinkedList { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_iter` is never used [INFO] [stdout] --> src/list_eighth.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 248 | impl LinkedList { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 249 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CursorMut` is never constructed [INFO] [stdout] --> src/list_eighth.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | struct CursorMut<'a, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cursor_mut` is never used [INFO] [stdout] --> src/list_eighth.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 346 | impl LinkedList { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/list_eighth.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 355 | impl<'a, T> CursorMut<'a, T> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 356 | pub fn remove_current(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn move_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn move_prev(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn current(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn peek_next(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn index(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn peek_prev(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub fn split_before(&mut self) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | pub fn split_after(&mut self) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn splice_before(&mut self, mut input: LinkedList) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn splice_after(&mut self, mut input: LinkedList) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/list_seventh.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/list_seventh.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Link = *mut Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/list_seventh.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntoIter` is never constructed [INFO] [stdout] --> src/list_seventh.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct IntoIter(List); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/list_seventh.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/list_seventh.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/list_seventh.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn push(&mut self, element: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Arc` is never constructed [INFO] [stdout] --> src/rustonomicon/arc.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArcInner` is never constructed [INFO] [stdout] --> src/rustonomicon/arc.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ArcInner { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rustonomicon/arc.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Arc { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> src/rustonomicon/meet_unsafe.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn index(idx: usize, arr: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_arr` is never used [INFO] [stdout] --> src/rustonomicon/memory.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn create_arr() -> [Box; 10] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_arr_by_write` is never used [INFO] [stdout] --> src/rustonomicon/memory.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn create_arr_by_write() -> [Box; 10] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Demo` is never constructed [INFO] [stdout] --> src/rustonomicon/memory.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Demo(bool, i32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createDemo` is never used [INFO] [stdout] --> src/rustonomicon/memory.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn createDemo() -> Demo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec` is never constructed [INFO] [stdout] --> src/rustonomicon/vec.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rustonomicon/vec.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Vec { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn cap(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn ptr(&self) -> *mut T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn insert(&mut self, index: usize, elem: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn remove(&mut self, index: usize) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rustonomicon/vec.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 103 | impl RawValIter { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 104 | unsafe fn new(slice: &[T]) -> RawValIter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntoIter` is never constructed [INFO] [stdout] --> src/rustonomicon/vec.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | struct IntoIter { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawVec` is never constructed [INFO] [stdout] --> src/rustonomicon/vec.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | struct RawVec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `grow` and `new` are never used [INFO] [stdout] --> src/rustonomicon/vec.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl RawVec { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 211 | fn grow(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn new() -> RawVec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/silly1.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/silly1.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn push_left(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn push_right(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn pop_left(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn pop_right(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn peek_left(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn peek_right(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn peek_left_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn peek_right_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn go_left(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn go_right(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_fourth.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_fourth.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_second.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_second.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_eighth.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_eighth.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_eighth.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_seventh.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_seventh.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_third.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&mut self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/rustonomicon/arc.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Box::from_raw(self.ptr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = Box::from_raw(self.ptr.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `size` should have an upper case name [INFO] [stdout] --> src/rustonomicon/memory.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | const size: usize = 10; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 3 - const size: usize = 10; [INFO] [stdout] 3 + const SIZE: usize = 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `size` should have an upper case name [INFO] [stdout] --> src/rustonomicon/memory.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | const size: usize = 10; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 14 - const size: usize = 10; [INFO] [stdout] 14 + const SIZE: usize = 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createDemo` should have a snake case name [INFO] [stdout] --> src/rustonomicon/memory.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn createDemo() -> Demo { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_demo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustonomicon/vec.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "2bf4ac04ef3e8274d063e75e3524624a3da59276dec26b1780141c11c570d363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bf4ac04ef3e8274d063e75e3524624a3da59276dec26b1780141c11c570d363", kill_on_drop: false }` [INFO] [stdout] 2bf4ac04ef3e8274d063e75e3524624a3da59276dec26b1780141c11c570d363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f23f8670fa165883b499a586781c45a3234436ba120d04690278644ff2f57aea [INFO] running `Command { std: "docker" "start" "-a" "f23f8670fa165883b499a586781c45a3234436ba120d04690278644ff2f57aea", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/rustonomicon/vec.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/list_fifth.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/list_fifth.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/list_fifth.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct List<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stdout] --> src/list_fifth.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a, T> List<'a, T> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn push(&'a mut self, element: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn pop(&'a mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/list_eighth.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl LinkedList { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn push_front(&mut self, element: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn front(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn back(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn front_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn back_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/list_eighth.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_mut` is never used [INFO] [stdout] --> src/list_eighth.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl LinkedList { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_iter` is never used [INFO] [stdout] --> src/list_eighth.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 248 | impl LinkedList { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 249 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CursorMut` is never constructed [INFO] [stdout] --> src/list_eighth.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | struct CursorMut<'a, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cursor_mut` is never used [INFO] [stdout] --> src/list_eighth.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 346 | impl LinkedList { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/list_eighth.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 355 | impl<'a, T> CursorMut<'a, T> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 356 | pub fn remove_current(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn move_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn move_prev(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn current(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn peek_next(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn index(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn peek_prev(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub fn split_before(&mut self) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | pub fn split_after(&mut self) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn splice_before(&mut self, mut input: LinkedList) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn splice_after(&mut self, mut input: LinkedList) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/list_seventh.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/list_seventh.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Link = *mut Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/list_seventh.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntoIter` is never constructed [INFO] [stdout] --> src/list_seventh.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct IntoIter(List); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/list_seventh.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/list_seventh.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/list_seventh.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn push(&mut self, element: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Arc` is never constructed [INFO] [stdout] --> src/rustonomicon/arc.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArcInner` is never constructed [INFO] [stdout] --> src/rustonomicon/arc.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ArcInner { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rustonomicon/arc.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Arc { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> src/rustonomicon/meet_unsafe.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn index(idx: usize, arr: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_arr` is never used [INFO] [stdout] --> src/rustonomicon/memory.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn create_arr() -> [Box; 10] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_arr_by_write` is never used [INFO] [stdout] --> src/rustonomicon/memory.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn create_arr_by_write() -> [Box; 10] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Demo` is never constructed [INFO] [stdout] --> src/rustonomicon/memory.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Demo(bool, i32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createDemo` is never used [INFO] [stdout] --> src/rustonomicon/memory.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn createDemo() -> Demo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec` is never constructed [INFO] [stdout] --> src/rustonomicon/vec.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rustonomicon/vec.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Vec { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn cap(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn ptr(&self) -> *mut T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn insert(&mut self, index: usize, elem: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn remove(&mut self, index: usize) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rustonomicon/vec.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 103 | impl RawValIter { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 104 | unsafe fn new(slice: &[T]) -> RawValIter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntoIter` is never constructed [INFO] [stdout] --> src/rustonomicon/vec.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | struct IntoIter { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawVec` is never constructed [INFO] [stdout] --> src/rustonomicon/vec.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | struct RawVec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `grow` and `new` are never used [INFO] [stdout] --> src/rustonomicon/vec.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl RawVec { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 211 | fn grow(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn new() -> RawVec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/silly1.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/silly1.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn push_left(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn push_right(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn pop_left(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn pop_right(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn peek_left(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn peek_right(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn peek_left_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn peek_right_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn go_left(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn go_right(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_fourth.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_fourth.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_second.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_second.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_eighth.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_eighth.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_eighth.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_seventh.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_seventh.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_third.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&mut self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/rustonomicon/arc.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Box::from_raw(self.ptr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = Box::from_raw(self.ptr.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `size` should have an upper case name [INFO] [stdout] --> src/rustonomicon/memory.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | const size: usize = 10; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 3 - const size: usize = 10; [INFO] [stdout] 3 + const SIZE: usize = 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `size` should have an upper case name [INFO] [stdout] --> src/rustonomicon/memory.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | const size: usize = 10; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 14 - const size: usize = 10; [INFO] [stdout] 14 + const SIZE: usize = 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createDemo` should have a snake case name [INFO] [stdout] --> src/rustonomicon/memory.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn createDemo() -> Demo { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_demo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_examples v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustonomicon/vec.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/option.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let a: Option<&String> = str.as_deref(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/option.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let a: Option<&mut String> = str.as_deref_mut(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/option.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let a: &mut Box = a; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/option.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let a: Box = a; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> examples/macro_rules_five.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> examples/macro_rules_five.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_assign` is never used [INFO] [stdout] --> examples/macro_rules_five.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | op!(add_assign, Add, +=, add); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_assign` is never used [INFO] [stdout] --> examples/macro_rules_five.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | op!(mul_assign, Mul, *=, mul); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub_assign` is never used [INFO] [stdout] --> examples/macro_rules_five.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | op!(sub_assign, Sub, -=, sub); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/rustonomicon/vec.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> src/list_fifth.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a, T> List<'a, T> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn push(&'a mut self, element: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/list_eighth.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl LinkedList { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Arc` is never constructed [INFO] [stdout] --> src/rustonomicon/arc.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArcInner` is never constructed [INFO] [stdout] --> src/rustonomicon/arc.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ArcInner { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rustonomicon/arc.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Arc { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec` is never constructed [INFO] [stdout] --> src/rustonomicon/vec.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rustonomicon/vec.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Vec { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn cap(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn ptr(&self) -> *mut T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn insert(&mut self, index: usize, elem: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn remove(&mut self, index: usize) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rustonomicon/vec.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 103 | impl RawValIter { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 104 | unsafe fn new(slice: &[T]) -> RawValIter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntoIter` is never constructed [INFO] [stdout] --> src/rustonomicon/vec.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | struct IntoIter { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawVec` is never constructed [INFO] [stdout] --> src/rustonomicon/vec.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | struct RawVec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `grow` and `new` are never used [INFO] [stdout] --> src/rustonomicon/vec.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl RawVec { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 211 | fn grow(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn new() -> RawVec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peek_left_mut`, `peek_right_mut`, and `go_right` are never used [INFO] [stdout] --> src/silly1.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl List { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn peek_left_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn peek_right_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn go_right(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_fourth.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_fourth.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_second.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_second.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_eighth.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_eighth.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_eighth.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_seventh.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_seventh.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_third.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&mut self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/rustonomicon/arc.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Box::from_raw(self.ptr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = Box::from_raw(self.ptr.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `size` should have an upper case name [INFO] [stdout] --> src/rustonomicon/memory.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | const size: usize = 10; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 3 - const size: usize = 10; [INFO] [stdout] 3 + const SIZE: usize = 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `size` should have an upper case name [INFO] [stdout] --> src/rustonomicon/memory.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | const size: usize = 10; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 14 - const size: usize = 10; [INFO] [stdout] 14 + const SIZE: usize = 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createDemo` should have a snake case name [INFO] [stdout] --> src/rustonomicon/memory.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn createDemo() -> Demo { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_demo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustonomicon/vec.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "f23f8670fa165883b499a586781c45a3234436ba120d04690278644ff2f57aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f23f8670fa165883b499a586781c45a3234436ba120d04690278644ff2f57aea", kill_on_drop: false }` [INFO] [stdout] f23f8670fa165883b499a586781c45a3234436ba120d04690278644ff2f57aea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfa5a6f0d81bcee89dcadd92b1b4b3039ee8123e8cf3605e7bba1e4269373a6d [INFO] running `Command { std: "docker" "start" "-a" "bfa5a6f0d81bcee89dcadd92b1b4b3039ee8123e8cf3605e7bba1e4269373a6d", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/rustonomicon/vec.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Node` is never constructed [INFO] [stderr] --> src/list_fifth.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Node { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `Link` is never used [INFO] [stderr] --> src/list_fifth.rs:5:6 [INFO] [stderr] | [INFO] [stderr] 5 | type Link = Option>>; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `List` is never constructed [INFO] [stderr] --> src/list_fifth.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct List<'a, T> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stderr] --> src/list_fifth.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl<'a, T> List<'a, T> { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 12 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn push(&'a mut self, element: T) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn pop(&'a mut self) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/list_eighth.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl LinkedList { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn push_front(&mut self, element: T) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn front(&self) -> Option<&T> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn back(&self) -> Option<&T> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn front_mut(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn back_mut(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IterMut` is never constructed [INFO] [stderr] --> src/list_eighth.rs:170:8 [INFO] [stderr] | [INFO] [stderr] 170 | struct IterMut<'a, T> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `iter_mut` is never used [INFO] [stderr] --> src/list_eighth.rs:177:12 [INFO] [stderr] | [INFO] [stderr] 176 | impl LinkedList { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 177 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `into_iter` is never used [INFO] [stderr] --> src/list_eighth.rs:249:12 [INFO] [stderr] | [INFO] [stderr] 248 | impl LinkedList { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 249 | pub fn into_iter(self) -> IntoIter { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CursorMut` is never constructed [INFO] [stderr] --> src/list_eighth.rs:341:8 [INFO] [stderr] | [INFO] [stderr] 341 | struct CursorMut<'a, T> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `cursor_mut` is never used [INFO] [stderr] --> src/list_eighth.rs:347:12 [INFO] [stderr] | [INFO] [stderr] 346 | impl LinkedList { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 347 | pub fn cursor_mut(&mut self) -> CursorMut { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/list_eighth.rs:356:12 [INFO] [stderr] | [INFO] [stderr] 355 | impl<'a, T> CursorMut<'a, T> { [INFO] [stderr] | ---------------------------- methods in this implementation [INFO] [stderr] 356 | pub fn remove_current(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 379 | pub fn move_next(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 395 | pub fn move_prev(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 411 | pub fn current(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 415 | pub fn peek_next(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 425 | pub fn index(&self) -> Option { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 428 | pub fn peek_prev(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 438 | pub fn split_before(&mut self) -> LinkedList { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 473 | pub fn split_after(&mut self) -> LinkedList { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 505 | pub fn splice_before(&mut self, mut input: LinkedList) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 536 | pub fn splice_after(&mut self, mut input: LinkedList) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `List` is never constructed [INFO] [stderr] --> src/list_seventh.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct List { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Link` is never used [INFO] [stderr] --> src/list_seventh.rs:5:6 [INFO] [stderr] | [INFO] [stderr] 5 | type Link = *mut Node; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Node` is never constructed [INFO] [stderr] --> src/list_seventh.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct Node { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IntoIter` is never constructed [INFO] [stderr] --> src/list_seventh.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | struct IntoIter(List); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Iter` is never constructed [INFO] [stderr] --> src/list_seventh.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | struct Iter<'a, T> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IterMut` is never constructed [INFO] [stderr] --> src/list_seventh.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | struct IterMut<'a, T> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/list_seventh.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl List { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 18 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn push(&mut self, element: T) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn pop(&mut self) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn into_iter(self) -> IntoIter { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | pub fn iter(&mut self) -> Iter { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn peek(&self) -> Option<&T> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Arc` is never constructed [INFO] [stderr] --> src/rustonomicon/arc.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct Arc { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ArcInner` is never constructed [INFO] [stderr] --> src/rustonomicon/arc.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | struct ArcInner { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/rustonomicon/arc.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Arc { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 18 | pub fn new(data: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `index` is never used [INFO] [stderr] --> src/rustonomicon/meet_unsafe.rs:2:4 [INFO] [stderr] | [INFO] [stderr] 2 | fn index(idx: usize, arr: &[u8]) -> Option { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_arr` is never used [INFO] [stderr] --> src/rustonomicon/memory.rs:2:4 [INFO] [stderr] | [INFO] [stderr] 2 | fn create_arr() -> [Box; 10] { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_arr_by_write` is never used [INFO] [stderr] --> src/rustonomicon/memory.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn create_arr_by_write() -> [Box; 10] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Demo` is never constructed [INFO] [stderr] --> src/rustonomicon/memory.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | struct Demo(bool, i32); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `createDemo` is never used [INFO] [stderr] --> src/rustonomicon/memory.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn createDemo() -> Demo { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Vec` is never constructed [INFO] [stderr] --> src/rustonomicon/vec.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct Vec { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/rustonomicon/vec.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Vec { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 14 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn cap(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn ptr(&self) -> *mut T { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn push(&mut self, elem: T) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn pop(&mut self) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn insert(&mut self, index: usize, elem: T) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn remove(&mut self, index: usize) -> T { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn drain(&mut self) -> Drain { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/rustonomicon/vec.rs:104:15 [INFO] [stderr] | [INFO] [stderr] 103 | impl RawValIter { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 104 | unsafe fn new(slice: &[T]) -> RawValIter { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IntoIter` is never constructed [INFO] [stderr] --> src/rustonomicon/vec.rs:119:8 [INFO] [stderr] | [INFO] [stderr] 119 | struct IntoIter { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RawVec` is never constructed [INFO] [stderr] --> src/rustonomicon/vec.rs:204:8 [INFO] [stderr] | [INFO] [stderr] 204 | struct RawVec { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `grow` and `new` are never used [INFO] [stderr] --> src/rustonomicon/vec.rs:211:8 [INFO] [stderr] | [INFO] [stderr] 210 | impl RawVec { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 211 | fn grow(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 232 | fn new() -> RawVec { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `List` is never constructed [INFO] [stderr] --> src/silly1.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | struct List { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/silly1.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl List { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 14 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn push_left(&mut self, elem: T) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn push_right(&mut self, elem: T) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn pop_left(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn pop_right(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn peek_left(&self) -> Option<&T> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn peek_right(&self) -> Option<&T> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn peek_left_mut(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn peek_right_mut(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn go_left(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn go_right(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/list_fourth.rs:61:23 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/list_fourth.rs:95:22 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/list_second.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 45 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/list_second.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 48 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/list_eighth.rs:143:17 [INFO] [stderr] | [INFO] [stderr] 143 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 143 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/list_eighth.rs:177:21 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 177 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/list_eighth.rs:347:23 [INFO] [stderr] | [INFO] [stderr] 347 | pub fn cursor_mut(&mut self) -> CursorMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 347 | pub fn cursor_mut(&mut self) -> CursorMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/list_seventh.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn iter(&mut self) -> Iter { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 56 | pub fn iter(&mut self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/list_seventh.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 63 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/list_third.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn iter(&mut self) -> Iter { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn iter(&mut self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/rustonomicon/arc.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | Box::from_raw(self.ptr.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 61 | let _ = Box::from_raw(self.ptr.as_ptr()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: constant `size` should have an upper case name [INFO] [stderr] --> src/rustonomicon/memory.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | const size: usize = 10; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 3 - const size: usize = 10; [INFO] [stderr] 3 + const SIZE: usize = 10; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `size` should have an upper case name [INFO] [stderr] --> src/rustonomicon/memory.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | const size: usize = 10; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 14 - const size: usize = 10; [INFO] [stderr] 14 + const SIZE: usize = 10; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function `createDemo` should have a snake case name [INFO] [stderr] --> src/rustonomicon/memory.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn createDemo() -> Demo { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_demo` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rustonomicon/vec.rs:70:18 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn drain(&mut self) -> Drain { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | pub fn drain(&mut self) -> Drain<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rust_examples` (lib) generated 50 warnings (run `cargo fix --lib -p rust_examples` to apply 13 suggestions) [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> examples/option.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let a: Option<&String> = str.as_deref(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> examples/option.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let a: Option<&mut String> = str.as_deref_mut(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> examples/option.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let a: &mut Box = a; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> examples/option.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | let a: Box = a; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: `rust_examples` (example "option") generated 4 warnings [INFO] [stderr] warning: unused import: `std::iter` [INFO] [stderr] --> examples/macro_rules_five.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | use std::iter; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> examples/macro_rules_five.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | mod test { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `add_assign` is never used [INFO] [stderr] --> examples/macro_rules_five.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | op!(add_assign, Add, +=, add); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `mul_assign` is never used [INFO] [stderr] --> examples/macro_rules_five.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | op!(mul_assign, Mul, *=, mul); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `sub_assign` is never used [INFO] [stderr] --> examples/macro_rules_five.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | op!(sub_assign, Sub, -=, sub); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `push` is never used [INFO] [stderr] --> src/list_fifth.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl<'a, T> List<'a, T> { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn push(&'a mut self, element: T) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `clear` is never used [INFO] [stderr] --> src/list_eighth.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl LinkedList { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `peek_left_mut`, `peek_right_mut`, and `go_right` are never used [INFO] [stderr] --> src/silly1.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl List { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn peek_left_mut(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn peek_right_mut(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn go_right(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_examples` (example "macro_rules_five") generated 4 warnings (run `cargo fix --example "macro_rules_five"` to apply 1 suggestion) [INFO] [stderr] warning: `rust_examples` (lib test) generated 28 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_examples-1e395d26f2025ede) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test list_eighth::test::test_basic ... ok [INFO] [stdout] test list_eighth::test::test_cursor_move_peek ... ok [INFO] [stdout] test list_eighth::test::test_basic_front ... ok [INFO] [stdout] test list_eighth::test::test_cursor_mut_insert ... ok [INFO] [stdout] test list_eighth::test::test_debug ... ok [INFO] [stdout] test list_eighth::test::test_eq ... ok [INFO] [stdout] test list_eighth::test::test_hashmap ... ok [INFO] [stdout] test list_eighth::test::test_iterator ... ok [INFO] [stdout] test list_eighth::test::test_iterator_double_end ... ok [INFO] [stdout] test list_eighth::test::test_iterator_mut_double_end ... ok [INFO] [stdout] test list_eighth::test::test_mut_iter ... ok [INFO] [stdout] test list_eighth::test::test_ord ... ok [INFO] [stdout] test list_eighth::test::test_ord_nan ... ok [INFO] [stdout] test list_eighth::test::test_rev_iter ... ok [INFO] [stdout] test list_fifth::test::basics ... ok [INFO] [stdout] test list_fourth::test::into_iter ... ok [INFO] [stderr] [INFO] [stderr] thread 'rustonomicon::meet_unsafe::test::meet_unsafe' (55) panicked at src/rustonomicon/meet_unsafe.rs:3:24: [INFO] [stderr] unsafe precondition(s) violated: slice::get_unchecked requires that the index is within the slice [INFO] [stderr] [INFO] [stderr] This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety. [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55faa347e112 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x55faa347e112 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x55faa347e112 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x55faa347e112 - ::fmt::hb1988e8b50fa5f19 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x55faa348e54f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x55faa348e54f - core::fmt::write::hcd056e06a609f600 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x55faa344b1b1 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x55faa344b1b1 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x55faa3457282 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x55faa345bdcf - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x55faa345bc29 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x55faa341c76e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 12: 0x55faa341c76e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x55faa345c48f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 14: 0x55faa345c48f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x55faa345c2b6 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stderr] 16: 0x55faa34573b9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x55faa343f6ad - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x55faa3495cbd - core::panicking::panic_nounwind_fmt::runtime::h4ec66813e41e0d5b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:120:22 [INFO] [stderr] 19: 0x55faa3495cbd - core::panicking::panic_nounwind_fmt::h104e567e1186279f [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stderr] 20: 0x55faa33e972c - >::get_unchecked::precondition_check::hfab3f91438b9e2ff [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ub_checks.rs:73:21 [INFO] [stderr] 21: 0x55faa33e9679 - >::get_unchecked::h6290b50281c3deb3 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ub_checks.rs:78:17 [INFO] [stderr] 22: 0x55faa33f78e8 - core::slice::::get_unchecked::h9a510a947b3184de [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/slice/mod.rs:644:26 [INFO] [stderr] 23: 0x55faa33edd77 - rust_examples::rustonomicon::meet_unsafe::index::h6daf2b11df490fb6 [INFO] [stderr] at /opt/rustwide/workdir/src/rustonomicon/meet_unsafe.rs:3:24 [INFO] [stderr] 24: 0x55faa33d9504 - rust_examples::rustonomicon::meet_unsafe::test::meet_unsafe::hc77ad0af3289645a [INFO] [stderr] at /opt/rustwide/workdir/src/rustonomicon/meet_unsafe.rs:13:17 [INFO] [stderr] 25: 0x55faa33d9557 - rust_examples::rustonomicon::meet_unsafe::test::meet_unsafe::{{closure}}::h0e440ce6dbf4e2eb [INFO] [stderr] at /opt/rustwide/workdir/src/rustonomicon/meet_unsafe.rs:11:21 [INFO] [stderr] 26: 0x55faa33da506 - core::ops::function::FnOnce::call_once::hcdfbba88a0248383 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 27: 0x55faa341c54b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 28: 0x55faa341c54b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stderr] 29: 0x55faa3432175 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stderr] 30: 0x55faa3432175 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 31: 0x55faa3432175 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 32: 0x55faa3432175 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 33: 0x55faa3432175 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stderr] 34: 0x55faa3432175 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stderr] 35: 0x55faa3432175 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stderr] 36: 0x55faa3408984 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stderr] 37: 0x55faa3408984 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 38: 0x55faa340c32a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 39: 0x55faa340c32a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 40: 0x55faa340c32a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 41: 0x55faa340c32a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 42: 0x55faa340c32a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stderr] 43: 0x55faa340c32a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 44: 0x55faa340c32a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 45: 0x55faa34524ff - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stderr] 46: 0x55faa34524ff - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stderr] 47: 0x767a7186baa4 - [INFO] [stderr] 48: 0x767a718f8a34 - clone [INFO] [stderr] 49: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/rust_examples-1e395d26f2025ede` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "bfa5a6f0d81bcee89dcadd92b1b4b3039ee8123e8cf3605e7bba1e4269373a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa5a6f0d81bcee89dcadd92b1b4b3039ee8123e8cf3605e7bba1e4269373a6d", kill_on_drop: false }` [INFO] [stdout] bfa5a6f0d81bcee89dcadd92b1b4b3039ee8123e8cf3605e7bba1e4269373a6d