[INFO] cloning repository https://github.com/iamshijun/hello_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamshijun/hello_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamshijun%2Fhello_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamshijun%2Fhello_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f6ccd657bf5b80607751d7ab04c0683ac39a9f3c
[INFO] checking iamshijun/hello_rust against try#b28cc4eb48a6415b914e8ad0308be255ff8d73ed for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamshijun%2Fhello_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iamshijun/hello_rust
[INFO] finished tweaking git repo https://github.com/iamshijun/hello_rust
[INFO] tweaked toml for git repo https://github.com/iamshijun/hello_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iamshijun/hello_rust on toolchain b28cc4eb48a6415b914e8ad0308be255ff8d73ed
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iamshijun/hello_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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 44f167099abbd49eb872bf7431e28c5a8d48445091ec75634e9cc3fa44d93446
[INFO] running `Command { std: "docker" "start" "-a" "44f167099abbd49eb872bf7431e28c5a8d48445091ec75634e9cc3fa44d93446", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44f167099abbd49eb872bf7431e28c5a8d48445091ec75634e9cc3fa44d93446", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44f167099abbd49eb872bf7431e28c5a8d48445091ec75634e9cc3fa44d93446", kill_on_drop: false }`
[INFO] [stdout] 44f167099abbd49eb872bf7431e28c5a8d48445091ec75634e9cc3fa44d93446
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2cbe32d665d0afe20df8c7fba1bc6bdccedbee0f35a9214c61ebddc9bdbc3119
[INFO] running `Command { std: "docker" "start" "-a" "2cbe32d665d0afe20df8c7fba1bc6bdccedbee0f35a9214c61ebddc9bdbc3119", kill_on_drop: false }`
[INFO] [stderr]     Checking hello-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Arc`, `Duration`, `Instant`, `ops::Deref`, and `thread`
[INFO] [stdout]  --> src/concurrent/semaphore.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     ops::Deref,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 3 |     sync::{Arc, Condvar, Mutex},
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 5 |     time::{Duration, Instant},
[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: `Arc` and `thread`
[INFO] [stdout]  --> src/concurrent/cdl.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::{Arc, Condvar, Mutex}, thread, time::{Duration, Instant}};
[INFO] [stdout]   |                  ^^^                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `thread`
[INFO] [stdout]  --> src/concurrent/cyclibarrier.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 |     sync::{Arc, Condvar, Mutex},
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 3 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Deref`
[INFO] [stdout]  --> src/concurrent/semaphore.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     ops::Deref,
[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: `timeout`
[INFO] [stdout]   --> src/concurrent/cyclibarrier.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn wait_timeout(&self,timeout:Duration) -> Result<u32,()>{
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RefList` is never used
[INFO] [stdout]  --> src/list/reflist.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum RefList<'a, 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 `tail` is never used
[INFO] [stdout]   --> src/list/reflist.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<'a,T> RefList<'a, T> {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] 11 |     fn tail(&'a self) -> Option<&'a RefCell<&'a RefList<'a,T>>> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/tree/mod.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Semaphore` is never constructed
[INFO] [stdout]  --> src/concurrent/semaphore.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Semaphore {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `acquire`, `acquire_permits`, `release`, and `release_permits` are never used
[INFO] [stdout]   --> src/concurrent/semaphore.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Semaphore {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new(value: u32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn acquire(&self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn acquire_permits(&self,permits : u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn release(&self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn release_permits(&self, permits: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CountDownLatch` is never constructed
[INFO] [stdout]  --> src/concurrent/cdl.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct CountDownLatch {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `count_down`, `wait`, `wait_timeout`, and `get_count` are never used
[INFO] [stdout]   --> src/concurrent/cdl.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl CountDownLatch {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 11 |     fn new(count: u32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn count_down(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn wait(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn wait_timeout(&self,timeout:Duration) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn get_count(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CyclicBarrier` is never constructed
[INFO] [stdout]  --> src/concurrent/cyclibarrier.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct CyclicBarrier {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Generation` is never constructed
[INFO] [stdout]   --> src/concurrent/cyclibarrier.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Generation {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `wait_timeout`, `wait`, `get_parties`, and `get_count` are never used
[INFO] [stdout]   --> src/concurrent/cyclibarrier.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl CyclicBarrier {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 28 |     fn new(parties: u32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn wait_timeout(&self,timeout:Duration) -> Result<u32,()>{
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn wait(&self) -> u32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     fn get_parties(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn get_count(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]   --> src/concurrent/cyclibarrier.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn wait_timeout(&self,timeout:Duration) -> Result<u32,()>{
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/tree/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Node {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 6 |     value: i32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 8 |     children: RefCell<Vec<Rc<Node>>>
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `release_permits` is never used
[INFO] [stdout]   --> src/concurrent/semaphore.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Semaphore {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn release_permits(&self, permits: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `wait_timeout` and `get_count` are never used
[INFO] [stdout]   --> src/concurrent/cdl.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl CountDownLatch {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn wait_timeout(&self,timeout:Duration) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn get_count(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `wait_timeout`, `get_parties`, and `get_count` are never used
[INFO] [stdout]   --> src/concurrent/cyclibarrier.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl CyclicBarrier {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn wait_timeout(&self,timeout:Duration) -> Result<u32,()>{
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     fn get_parties(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn get_count(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]  --> src/state_ds.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn content<'a>(&self,post:&'a Post) -> &'a str {
[INFO] [stdout]   |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/state_ds.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |         if let Some(s) = self.state.take() {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/state_ds.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let s = self.content;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `State` is never used
[INFO] [stdout]  --> src/state_ds.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait State {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Draft` is never constructed
[INFO] [stdout]   --> src/state_ds.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Draft {}
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PendingReview` is never constructed
[INFO] [stdout]   --> src/state_ds.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct PendingReview {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Published` is never constructed
[INFO] [stdout]   --> src/state_ds.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Published {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Post` is never constructed
[INFO] [stdout]   --> src/state_ds.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Post {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `request_review`, `approve`, `test`, and `content` are never used
[INFO] [stdout]   --> src/state_ds.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl Post {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 47 |     fn new(content: String) -> Post {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn request_review(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn approve(&mut self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     fn test(self) -> Box<dyn State> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn content<'a>(&'a self) -> &'a str {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]  --> src/state_ds.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn content<'a>(&self,post:&'a Post) -> &'a str {
[INFO] [stdout]   |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/state_ds.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |         if let Some(s) = self.state.take() {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/state_ds.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let s = self.content;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `State` is never used
[INFO] [stdout]  --> src/state_ds.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait State {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Draft` is never constructed
[INFO] [stdout]   --> src/state_ds.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Draft {}
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PendingReview` is never constructed
[INFO] [stdout]   --> src/state_ds.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct PendingReview {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Published` is never constructed
[INFO] [stdout]   --> src/state_ds.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Published {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Post` is never constructed
[INFO] [stdout]   --> src/state_ds.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Post {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `request_review`, `approve`, `test`, and `content` are never used
[INFO] [stdout]   --> src/state_ds.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl Post {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 47 |     fn new(content: String) -> Post {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn request_review(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn approve(&mut self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     fn test(self) -> Box<dyn State> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn content<'a>(&'a self) -> &'a str {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "2cbe32d665d0afe20df8c7fba1bc6bdccedbee0f35a9214c61ebddc9bdbc3119", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cbe32d665d0afe20df8c7fba1bc6bdccedbee0f35a9214c61ebddc9bdbc3119", kill_on_drop: false }`
[INFO] [stdout] 2cbe32d665d0afe20df8c7fba1bc6bdccedbee0f35a9214c61ebddc9bdbc3119
