[INFO] cloning repository https://github.com/wuhaiji/rs-many-lists [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wuhaiji/rs-many-lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuhaiji%2Frs-many-lists", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuhaiji%2Frs-many-lists'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce0045ca5042a0da8396239a6b6c83dd73e35cb2 [INFO] checking wuhaiji/rs-many-lists against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuhaiji%2Frs-many-lists" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wuhaiji/rs-many-lists on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wuhaiji/rs-many-lists [INFO] finished tweaking git repo https://github.com/wuhaiji/rs-many-lists [INFO] tweaked toml for git repo https://github.com/wuhaiji/rs-many-lists written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wuhaiji/rs-many-lists 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" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking wuhaiji/rs-many-lists against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuhaiji%2Frs-many-lists" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wuhaiji/rs-many-lists on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wuhaiji/rs-many-lists [INFO] finished tweaking git repo https://github.com/wuhaiji/rs-many-lists [INFO] tweaked toml for git repo https://github.com/wuhaiji/rs-many-lists written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wuhaiji/rs-many-lists 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" "+2c70eb47850052381670935f807d41647a7dc992" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2208013cf887dabea7716a5ad2f7f9fc267c2b4deea69f7197ce2f9720143c5e [INFO] running `Command { std: "docker" "start" "-a" "2208013cf887dabea7716a5ad2f7f9fc267c2b4deea69f7197ce2f9720143c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2208013cf887dabea7716a5ad2f7f9fc267c2b4deea69f7197ce2f9720143c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2208013cf887dabea7716a5ad2f7f9fc267c2b4deea69f7197ce2f9720143c5e", kill_on_drop: false }` [INFO] [stdout] 2208013cf887dabea7716a5ad2f7f9fc267c2b4deea69f7197ce2f9720143c5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5b7a555eb0435619ef480c8aff525f8afb1e8246cc99f7af91195df45a17be4 [INFO] running `Command { std: "docker" "start" "-a" "d5b7a555eb0435619ef480c8aff525f8afb1e8246cc99f7af91195df45a17be4", kill_on_drop: false }` [INFO] [stderr] Checking lists v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> src/IterExt.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/IterExt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Not` [INFO] [stdout] --> src/a_production_linked_list.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Not; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> src/IterExt.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/IterExt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Not` [INFO] [stdout] --> src/a_production_linked_list.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Not; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/a_production_linked_list.rs:429:30 [INFO] [stdout] | [INFO] [stdout] 429 | } else if !self.list.is_empty() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `a_production_linked_list::LinkedList::::is_empty(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(exact_size_is_empty)]` to the crate attributes to enable `is_empty` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(exact_size_is_empty)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/a_production_linked_list.rs:450:30 [INFO] [stdout] | [INFO] [stdout] 450 | } else if !self.list.is_empty() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `a_production_linked_list::LinkedList::::is_empty(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(exact_size_is_empty)]` to the crate attributes to enable `is_empty` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(exact_size_is_empty)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/a_production_linked_list.rs:429:30 [INFO] [stdout] | [INFO] [stdout] 429 | } else if !self.list.is_empty() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `a_production_linked_list::LinkedList::::is_empty(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(exact_size_is_empty)]` to the crate attributes to enable `is_empty` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(exact_size_is_empty)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/a_production_linked_list.rs:450:30 [INFO] [stdout] | [INFO] [stdout] 450 | } else if !self.list.is_empty() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `a_production_linked_list::LinkedList::::is_empty(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(exact_size_is_empty)]` to the crate attributes to enable `is_empty` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(exact_size_is_empty)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `an_ok_unsafe_queue::IntoIter` is more private than the item `an_ok_unsafe_queue::List::::into_iter` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `an_ok_unsafe_queue::List::::into_iter` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `an_ok_unsafe_queue::IntoIter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct IntoIter(List); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `an_ok_unsafe_queue::Iter<'_, T>` is more private than the item `an_ok_unsafe_queue::List::::iter` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `an_ok_unsafe_queue::List::::iter` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `an_ok_unsafe_queue::Iter<'_, T>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct Iter<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `an_ok_unsafe_queue::IterMut<'_, T>` is more private than the item `an_ok_unsafe_queue::List::::iter_mut` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `an_ok_unsafe_queue::List::::iter_mut` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `an_ok_unsafe_queue::IterMut<'_, T>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RefCountedFamily` is never used [INFO] [stdout] --> src/gat.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | trait RefCountedFamily { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RcFamily` is never constructed [INFO] [stdout] --> src/gat.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct RcFamily; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArcFamily` is never constructed [INFO] [stdout] --> src/gat.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct ArcFamily; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Container` is never constructed [INFO] [stdout] --> src/gat.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct Container { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gat.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Container { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 34 | fn new(v: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IterExt` should have a snake case name [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod IterExt; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `iter_ext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unuser` [INFO] [stdout] --> src/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unuser)] [INFO] [stdout] | ^^^^^^ help: did you mean: `unused` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unuser` [INFO] [stdout] --> src/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unuser)] [INFO] [stdout] | ^^^^^^ help: did you mean: `unused` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let s2 = *s_ref; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let s2 = *s_ref; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*s_ref` which is behind a shared reference [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | let s2 = *s_ref; [INFO] [stdout] | ^^^^^^ move occurs because `*s_ref` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the dereference here [INFO] [stdout] | [INFO] [stdout] 8 - let s2 = *s_ref; [INFO] [stdout] 8 + let s2 = s_ref; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 8 - let s2 = *s_ref; [INFO] [stdout] 8 + let s2 = s_ref.clone(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*s_ref` which is behind a shared reference [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | let s2 = *s_ref; [INFO] [stdout] | ^^^^^^ move occurs because `*s_ref` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the dereference here [INFO] [stdout] | [INFO] [stdout] 8 - let s2 = *s_ref; [INFO] [stdout] 8 + let s2 = s_ref; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 8 - let s2 = *s_ref; [INFO] [stdout] 8 + let s2 = s_ref.clone(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lists` (bin "lists") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lists` (bin "lists" test) due to 2 previous errors; 3 warnings emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/a_production_linked_list.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 909 | let mut m = generate_test(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/gat.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let c = Container::::new("123"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `an_ok_unsafe_queue::IntoIter` is more private than the item `an_ok_unsafe_queue::List::::into_iter` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `an_ok_unsafe_queue::List::::into_iter` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `an_ok_unsafe_queue::IntoIter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct IntoIter(List); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `an_ok_unsafe_queue::Iter<'_, T>` is more private than the item `an_ok_unsafe_queue::List::::iter` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `an_ok_unsafe_queue::List::::iter` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `an_ok_unsafe_queue::Iter<'_, T>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct Iter<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `an_ok_unsafe_queue::IterMut<'_, T>` is more private than the item `an_ok_unsafe_queue::List::::iter_mut` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `an_ok_unsafe_queue::List::::iter_mut` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `an_ok_unsafe_queue::IterMut<'_, T>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/an_ok_unsafe_queue.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArcFamily` is never constructed [INFO] [stdout] --> src/gat.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct ArcFamily; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/gat.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Container { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 30 | data: P::Pointer, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IterExt` should have a snake case name [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod IterExt; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `iter_ext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d5b7a555eb0435619ef480c8aff525f8afb1e8246cc99f7af91195df45a17be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b7a555eb0435619ef480c8aff525f8afb1e8246cc99f7af91195df45a17be4", kill_on_drop: false }` [INFO] [stdout] d5b7a555eb0435619ef480c8aff525f8afb1e8246cc99f7af91195df45a17be4