[INFO] cloning repository https://github.com/JackG-eth/my-rust-std [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JackG-eth/my-rust-std" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackG-eth%2Fmy-rust-std", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackG-eth%2Fmy-rust-std'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c28e25be7a56db689b17fc38a71b36e03a3c973a [INFO] checking JackG-eth/my-rust-std against try#50d7e48beb74b48bd17c3749bfb73843c9ae0166 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackG-eth%2Fmy-rust-std" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JackG-eth/my-rust-std [INFO] finished tweaking git repo https://github.com/JackG-eth/my-rust-std [INFO] tweaked toml for git repo https://github.com/JackG-eth/my-rust-std written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JackG-eth/my-rust-std on toolchain 50d7e48beb74b48bd17c3749bfb73843c9ae0166 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JackG-eth/my-rust-std 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" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking JackG-eth/my-rust-std against try#50d7e48beb74b48bd17c3749bfb73843c9ae0166 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackG-eth%2Fmy-rust-std" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JackG-eth/my-rust-std [INFO] finished tweaking git repo https://github.com/JackG-eth/my-rust-std [INFO] tweaked toml for git repo https://github.com/JackG-eth/my-rust-std written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JackG-eth/my-rust-std on toolchain 50d7e48beb74b48bd17c3749bfb73843c9ae0166 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JackG-eth/my-rust-std 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" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6eab26a3e09dcdb3f46cc7de08f271a04e028dfeed1646539ededf05346001f9 [INFO] running `Command { std: "docker" "start" "-a" "6eab26a3e09dcdb3f46cc7de08f271a04e028dfeed1646539ededf05346001f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eab26a3e09dcdb3f46cc7de08f271a04e028dfeed1646539ededf05346001f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eab26a3e09dcdb3f46cc7de08f271a04e028dfeed1646539ededf05346001f9", kill_on_drop: false }` [INFO] [stdout] 6eab26a3e09dcdb3f46cc7de08f271a04e028dfeed1646539ededf05346001f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3d4240ab54c9aee8f978eb0d4e4cf984364c5a56aceda29b9ffe65e22114ae1 [INFO] running `Command { std: "docker" "start" "-a" "e3d4240ab54c9aee8f978eb0d4e4cf984364c5a56aceda29b9ffe65e22114ae1", kill_on_drop: false }` [INFO] [stderr] Checking my-std v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rc::Weak` [INFO] [stdout] --> src/my_arc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | rc::Weak, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::btree_map::RangeMut` and `path::Iter` [INFO] [stdout] --> src/my_vec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::btree_map::RangeMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | path::Iter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/my_deque.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Weak` [INFO] [stdout] --> src/my_arc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | rc::Weak, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::btree_map::RangeMut` and `path::Iter` [INFO] [stdout] --> src/my_vec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::btree_map::RangeMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | path::Iter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/my_deque.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InnerArc` is never constructed [INFO] [stdout] --> src/my_arc.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InnerArc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/my_arc.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl InnerArc { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 15 | fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyArc` is never constructed [INFO] [stdout] --> src/my_arc.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MyArc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyWeak` is never constructed [INFO] [stdout] --> src/my_arc.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MyWeak { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upgrade` is never used [INFO] [stdout] --> src/my_arc.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl MyWeak { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 33 | fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/my_arc.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl MyArc { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 55 | fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn get_strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn get_weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_mut_ref(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn get_value_ref(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn try_unwrap(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn downgrade(&self) -> MyWeak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InnerRc` is never constructed [INFO] [stdout] --> src/my_rc.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct InnerRc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_count`, and `get_ref` are never used [INFO] [stdout] --> src/my_rc.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl InnerRc { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 9 | fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_ref(&self) -> &T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyRc` is never constructed [INFO] [stdout] --> src/my_rc.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct MyRc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `try_unwrap`, `get_count`, `get_value_ref`, and `get_mut_ref` are never used [INFO] [stdout] --> src/my_rc.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl MyRc { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 30 | fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn try_unwrap(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_value_ref(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_mut_ref(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pop`, `get_len`, `get_capacity`, `insert`, and `remove` are never used [INFO] [stdout] --> src/my_vec.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl MyVec { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn get_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn get_capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn insert(&mut self, index: usize, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn remove(&mut self, index: usize) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_pos`, `remove_pos`, and `read_last` are never used [INFO] [stdout] --> src/my_vec.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 312 | impl RawVec { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 347 | fn write_pos(&mut self, index: usize, value: T, len: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn remove_pos(&mut self, index: usize, len: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | fn read_last(&self, len: usize) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/my_deque.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl MyDeque { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn pop_back(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn pop_front(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn peek_back(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn peek_front(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn get_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn contains(&self, value: &T) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read`, `read_mut`, and `drop_index` are never used [INFO] [stdout] --> src/my_deque.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 222 | impl RawVec { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 320 | fn read(&self, index: usize) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | fn read_mut(&mut self, index: usize) -> &mut T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn drop_index(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/my_linked_list.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | 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/my_linked_list.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | 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] 178 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/my_arc.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | let c = b.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rc2` [INFO] [stdout] --> src/my_arc.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let rc2 = rc.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rc2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/my_rc.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let c = b.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rc2` [INFO] [stdout] --> src/my_rc.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let rc2 = rc.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rc2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_count` and `get_ref` are never used [INFO] [stdout] --> src/my_rc.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl InnerRc { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_ref(&self) -> &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 `try_unwrap` is never used [INFO] [stdout] --> src/my_rc.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl MyRc { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn try_unwrap(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity`, `is_full`, and `get_mut` are never used [INFO] [stdout] --> src/my_deque.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl MyDeque { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn get_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_mut` is never used [INFO] [stdout] --> src/my_deque.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 222 | impl RawVec { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 324 | fn read_mut(&mut self, index: usize) -> &mut T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/my_linked_list.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | 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/my_linked_list.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | 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] 178 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "e3d4240ab54c9aee8f978eb0d4e4cf984364c5a56aceda29b9ffe65e22114ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d4240ab54c9aee8f978eb0d4e4cf984364c5a56aceda29b9ffe65e22114ae1", kill_on_drop: false }` [INFO] [stdout] e3d4240ab54c9aee8f978eb0d4e4cf984364c5a56aceda29b9ffe65e22114ae1