[INFO] fetching crate rust_examples 0.1.11... [INFO] checking rust_examples-0.1.11 against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] extracting crate rust_examples 0.1.11 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_examples 0.1.11 on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8a87d990059bf8e8fbaf994c95e57698435a225db4c1bc8caf78726db767d6d [INFO] running `Command { std: "docker" "start" "-a" "d8a87d990059bf8e8fbaf994c95e57698435a225db4c1bc8caf78726db767d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8a87d990059bf8e8fbaf994c95e57698435a225db4c1bc8caf78726db767d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8a87d990059bf8e8fbaf994c95e57698435a225db4c1bc8caf78726db767d6d", kill_on_drop: false }` [INFO] [stdout] d8a87d990059bf8e8fbaf994c95e57698435a225db4c1bc8caf78726db767d6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15e2ad3ccea3f260ff80f622fdce5b01e00df4a8be500948c45e73b082d1f073 [INFO] running `Command { std: "docker" "start" "-a" "15e2ad3ccea3f260ff80f622fdce5b01e00df4a8be500948c45e73b082d1f073", kill_on_drop: false }` [INFO] [stderr] Checking 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)]` 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_fourth.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_fourth.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_second.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_second.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_eighth.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_eighth.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_eighth.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_seventh.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_seventh.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_third.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rustonomicon/vec.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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)]` 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)]` 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)]` 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_fourth.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_fourth.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peek_tail(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_second.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_second.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_eighth.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_eighth.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 177 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_eighth.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 347 | pub fn cursor_mut(&mut self) -> CursorMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_seventh.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&mut self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_seventh.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/list_third.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rustonomicon/vec.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn drain(&mut self) -> Drain { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.55s [INFO] running `Command { std: "docker" "inspect" "15e2ad3ccea3f260ff80f622fdce5b01e00df4a8be500948c45e73b082d1f073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e2ad3ccea3f260ff80f622fdce5b01e00df4a8be500948c45e73b082d1f073", kill_on_drop: false }` [INFO] [stdout] 15e2ad3ccea3f260ff80f622fdce5b01e00df4a8be500948c45e73b082d1f073