[INFO] cloning repository https://github.com/mikeleppane/Crust-of-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikeleppane/Crust-of-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeleppane%2FCrust-of-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeleppane%2FCrust-of-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b4e5a00ce068794a2fef0b86a454ab48e44f4764
[INFO] building mikeleppane/Crust-of-Rust against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeleppane%2FCrust-of-Rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mikeleppane/Crust-of-Rust
[INFO] finished tweaking git repo https://github.com/mikeleppane/Crust-of-Rust
[INFO] tweaked toml for git repo https://github.com/mikeleppane/Crust-of-Rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mikeleppane/Crust-of-Rust on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mikeleppane/Crust-of-Rust 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c67be5f7fef143a38275380582ef3f921c8a6bc622200c7de8f0512448cfee5d
[INFO] running `Command { std: "docker" "start" "-a" "c67be5f7fef143a38275380582ef3f921c8a6bc622200c7de8f0512448cfee5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c67be5f7fef143a38275380582ef3f921c8a6bc622200c7de8f0512448cfee5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c67be5f7fef143a38275380582ef3f921c8a6bc622200c7de8f0512448cfee5d", kill_on_drop: false }`
[INFO] [stdout] c67be5f7fef143a38275380582ef3f921c8a6bc622200c7de8f0512448cfee5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e201ddd64521651f6a2e9cf40286c7090b6d6bd60e858f0d4e1c4582bf6bfa30
[INFO] running `Command { std: "docker" "start" "-a" "e201ddd64521651f6a2e9cf40286c7090b6d6bd60e858f0d4e1c4582bf6bfa30", kill_on_drop: false }`
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling pretty_assertions v1.3.0
[INFO] [stderr]    Compiling crust-of-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `LOCKED` is never used
[INFO] [stdout]  --> src/atomics_and_memory_ordering/atomics.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const LOCKED: bool = true;
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Hei` is never used
[INFO] [stdout]  --> src/dispatch_and_fat_pointers/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Hei {
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IteratorExt` is never used
[INFO] [stdout]  --> src/iterators/iterator.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait IteratorExt: Iterator + Sized {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Flatten` is never constructed
[INFO] [stdout]   --> src/iterators/iterator.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Flatten<O>
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/iterators/iterator.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | / impl<O> Flatten<O>
[INFO] [stdout] 30 | | where
[INFO] [stdout] 31 | |     O: Iterator,
[INFO] [stdout] 32 | |     O::Item: IntoIterator,
[INFO] [stdout]    | |__________________________- associated function in this implementation
[INFO] [stdout] 33 |   {
[INFO] [stdout] 34 |       fn new(iter: O) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flatten` is never used
[INFO] [stdout]   --> src/iterators/iterator.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn flatten<I>(iter: I) -> Flatten<I::IntoIter>
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNLOCKED` is never used
[INFO] [stdout]  --> src/atomics_and_memory_ordering/atomics.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const UNLOCKED: bool = false;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strlen` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn strlen(s: impl AsRef<str>) -> usize {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Boks` is never constructed
[INFO] [stdout]  --> src/drop_check/boks.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Boks<T> {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `ny` is never used
[INFO] [stdout]   --> src/drop_check/boks.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl<T> Boks<T> {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 32 |     pub fn ny(t: T) -> Self {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sender` is never constructed
[INFO] [stdout]  --> src/channels/panama.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Sender<T> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send` is never used
[INFO] [stdout]   --> src/channels/panama.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl<T> Sender<T> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 33 |     pub fn send(&mut self, t: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Receiver` is never constructed
[INFO] [stdout]   --> src/channels/panama.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Receiver<T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `recv` is never used
[INFO] [stdout]   --> src/channels/panama.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl<T> Receiver<T> {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 47 |     pub fn recv(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Inner` is never constructed
[INFO] [stdout]   --> src/channels/panama.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct Inner<T> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shared` is never constructed
[INFO] [stdout]   --> src/channels/panama.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct Shared<T> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `channel` is never used
[INFO] [stdout]   --> src/channels/panama.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn channel<T>() -> (Sender<T>, Receiver<T>) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/smart_pointers_and_interior_mutability/refcell.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn borrow(&self) -> Option<Ref<T>> {
[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] 26 |     pub fn borrow(&self) -> Option<Ref<'_, T>> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/smart_pointers_and_interior_mutability/refcell.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn borrow_mut(&self) -> Option<RefMut<T>> {
[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] 40 |     pub fn borrow_mut(&self) -> Option<RefMut<'_, T>> {
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strtok` is never used
[INFO] [stdout]  --> src/subtyping_and_variance/strtok.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn strtok<'a>(s: &'_ mut &'a str, delimiter: char) -> &'a str {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strlen_dyn` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn strlen_dyn(s: Box<dyn AsRef<str>>) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bool_then` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn bool_then<T>(b: bool, f: impl FnOnce() -> T) -> Option<T> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HeiAsRef` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub trait HeiAsRef: Hei + AsRef<str> {}
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `baz` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn baz(s: &dyn HeiAsRef) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_of_trait_object` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn slice_of_trait_object(v: &[&dyn AsRef<str>]) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyMutex` is never constructed
[INFO] [stdout]  --> src/atomics_and_memory_ordering/atomics.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct MyMutex<T> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `with_lock` are never used
[INFO] [stdout]   --> src/atomics_and_memory_ordering/atomics.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T> MyMutex<T> {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(t: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn with_lock<R>(&self, f: impl FnOnce(&mut T) -> R) -> R {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::str::<impl str>::len` that must be used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     s.len();
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let _ = s.len();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary allocation, use `&` instead
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:66:29
[INFO] [stdout]    |
[INFO] [stdout] 66 |     slice_of_trait_object(&[Box::new("hello").as_ref()])
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_allocation)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/drop_check/boks.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         unsafe { Box::from_raw(self.p) };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 10 |         unsafe { let _ = Box::from_raw(self.p); };
[INFO] [stdout]    |                  +++++++                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/smart_pointers_and_interior_mutability/rc.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |             drop(inner);
[INFO] [stdout]    |             ^^^^^-----^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  argument has type `&RcInner<T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 64 -             drop(inner);
[INFO] [stdout] 64 +             let _ = inner;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.18s
[INFO] running `Command { std: "docker" "inspect" "e201ddd64521651f6a2e9cf40286c7090b6d6bd60e858f0d4e1c4582bf6bfa30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e201ddd64521651f6a2e9cf40286c7090b6d6bd60e858f0d4e1c4582bf6bfa30", kill_on_drop: false }`
[INFO] [stdout] e201ddd64521651f6a2e9cf40286c7090b6d6bd60e858f0d4e1c4582bf6bfa30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e28b7259fee549ff7d83ebd744cd13713930e12fa33a9655e10f18e993a557a2
[INFO] running `Command { std: "docker" "start" "-a" "e28b7259fee549ff7d83ebd744cd13713930e12fa33a9655e10f18e993a557a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling crust-of-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `pretty_assertions::assert_eq`
[INFO] [stdout]   --> src/drop_check/boks.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     use pretty_assertions::assert_eq;
[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 variable: `boks`
[INFO] [stdout]   --> src/drop_check/boks.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let boks = Boks::ny(&mut y);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_boks`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Hei` is never used
[INFO] [stdout]  --> src/dispatch_and_fat_pointers/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Hei {
[INFO] [stdout]   |           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IteratorExt` is never used
[INFO] [stdout]  --> src/iterators/iterator.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait IteratorExt: Iterator + Sized {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strlen` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn strlen(s: impl AsRef<str>) -> usize {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strlen_dyn` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn strlen_dyn(s: Box<dyn AsRef<str>>) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bool_then` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn bool_then<T>(b: bool, f: impl FnOnce() -> T) -> Option<T> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HeiAsRef` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub trait HeiAsRef: Hei + AsRef<str> {}
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `baz` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn baz(s: &dyn HeiAsRef) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_of_trait_object` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn slice_of_trait_object(v: &[&dyn AsRef<str>]) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/smart_pointers_and_interior_mutability/refcell.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn borrow(&self) -> Option<Ref<T>> {
[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] 26 |     pub fn borrow(&self) -> Option<Ref<'_, T>> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/smart_pointers_and_interior_mutability/refcell.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn borrow_mut(&self) -> Option<RefMut<T>> {
[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] 40 |     pub fn borrow_mut(&self) -> Option<RefMut<'_, T>> {
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/smart_pointers_and_interior_mutability/rc.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |             drop(inner);
[INFO] [stdout]    |             ^^^^^-----^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  argument has type `&RcInner<T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 64 -             drop(inner);
[INFO] [stdout] 64 +             let _ = inner;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::str::<impl str>::len` that must be used
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     s.len();
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let _ = s.len();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary allocation, use `&` instead
[INFO] [stdout]   --> src/dispatch_and_fat_pointers/main.rs:66:29
[INFO] [stdout]    |
[INFO] [stdout] 66 |     slice_of_trait_object(&[Box::new("hello").as_ref()])
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_allocation)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/drop_check/boks.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         unsafe { Box::from_raw(self.p) };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 10 |         unsafe { let _ = Box::from_raw(self.p); };
[INFO] [stdout]    |                  +++++++                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s
[INFO] running `Command { std: "docker" "inspect" "e28b7259fee549ff7d83ebd744cd13713930e12fa33a9655e10f18e993a557a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e28b7259fee549ff7d83ebd744cd13713930e12fa33a9655e10f18e993a557a2", kill_on_drop: false }`
[INFO] [stdout] e28b7259fee549ff7d83ebd744cd13713930e12fa33a9655e10f18e993a557a2
