[INFO] cloning repository https://github.com/7DCoder/rust_design_pattern
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/7DCoder/rust_design_pattern" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F7DCoder%2Frust_design_pattern", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F7DCoder%2Frust_design_pattern'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2bfe399b524ab17b046d94f1cf0da704b1f11829
[INFO] checking 7DCoder/rust_design_pattern against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F7DCoder%2Frust_design_pattern" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/7DCoder/rust_design_pattern
[INFO] finished tweaking git repo https://github.com/7DCoder/rust_design_pattern
[INFO] tweaked toml for git repo https://github.com/7DCoder/rust_design_pattern written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/7DCoder/rust_design_pattern on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/7DCoder/rust_design_pattern 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lazy_static v1.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 48060038153b4a6b7f884630d8bdefd46aedae66cffdbe4fb14c7c28cf3578a5
[INFO] running `Command { std: "docker" "start" "-a" "48060038153b4a6b7f884630d8bdefd46aedae66cffdbe4fb14c7c28cf3578a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "48060038153b4a6b7f884630d8bdefd46aedae66cffdbe4fb14c7c28cf3578a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48060038153b4a6b7f884630d8bdefd46aedae66cffdbe4fb14c7c28cf3578a5", kill_on_drop: false }`
[INFO] [stdout] 48060038153b4a6b7f884630d8bdefd46aedae66cffdbe4fb14c7c28cf3578a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36536359a24247bb5f5377eeed764d5b910cbf725a1d45fb67b4fa164488afa9
[INFO] running `Command { std: "docker" "start" "-a" "36536359a24247bb5f5377eeed764d5b910cbf725a1d45fb67b4fa164488afa9", kill_on_drop: false }`
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking design_pattern v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/singleton/singleton2.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::Mutex, thread};
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/singleton/singleton3.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lock`
[INFO] [stdout]   --> src/singleton/singleton1.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 let lock = LOCK.lock().unwrap();
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LegacyRectangle` is never constructed
[INFO] [stdout]  --> src/adapter/adapter.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct LegacyRectangle {}
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `display` is never used
[INFO] [stdout]  --> src/adapter/adapter.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl LegacyRectangle {
[INFO] [stdout]   | -------------------- method in this implementation
[INFO] [stdout] 5 |     //原有接口
[INFO] [stdout] 6 |     fn display(&self, x1: i32, y1: i32, x2: i32, y2: i32) {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape` is never used
[INFO] [stdout]   --> src/adapter/adapter.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | trait Shape {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RectangleAdapter` is never constructed
[INFO] [stdout]   --> src/adapter/adapter.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct RectangleAdapter {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/adapter/adapter.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl RectangleAdapter {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 21 |     fn new(rectangle: LegacyRectangle) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Color` is never used
[INFO] [stdout]  --> src/bridge/mod.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait Color {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Red` is never constructed
[INFO] [stdout]  --> src/bridge/mod.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Red {}
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Blue` is never constructed
[INFO] [stdout]   --> src/bridge/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Blue {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape` is never used
[INFO] [stdout]   --> src/bridge/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | trait Shape {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]   --> src/bridge/mod.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Circle {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bridge/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Circle {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 32 |     fn new<T>(color: T) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Square` is never constructed
[INFO] [stdout]   --> src/bridge/mod.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct Square {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bridge/mod.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Square {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 54 |     fn new<T>(color: T) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `House` is never constructed
[INFO] [stdout]  --> src/builder/builder.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct House {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_foundation`, `set_structure`, `set_roof`, and `set_interior` are never used
[INFO] [stdout]   --> src/builder/builder.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl House {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn set_foundation(&mut self, foundation: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn set_structure(&mut self, structure: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn set_roof(&mut self, roof: String) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn set_interior(&mut self, interior: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HouseBuilder` is never used
[INFO] [stdout]   --> src/builder/builder.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 | trait HouseBuilder {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteHouseBuilder` is never constructed
[INFO] [stdout]   --> src/builder/builder.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct ConcreteHouseBuilder {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/builder/builder.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl ConcreteHouseBuilder {
[INFO] [stdout]    | ------------------------- associated function in this implementation
[INFO] [stdout] 52 |     fn new(house: House) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LuxuryHouseBuilder` is never constructed
[INFO] [stdout]   --> src/builder/builder.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | struct LuxuryHouseBuilder {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/builder/builder.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | impl LuxuryHouseBuilder {
[INFO] [stdout]    | ----------------------- associated function in this implementation
[INFO] [stdout] 82 |     fn new(house: House) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Director` is never constructed
[INFO] [stdout]    --> src/builder/builder.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct Director {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `construct_house` are never used
[INFO] [stdout]    --> src/builder/builder.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl Director {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 110 |     fn new<T>(builder: T) -> Self
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     fn construct_house(&mut self) -> &House {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReimbursementRequest` is never constructed
[INFO] [stdout]  --> src/chain/chain.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct ReimbursementRequest {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/chain/chain.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl ReimbursementRequest {
[INFO] [stdout]   | ------------------------- associated function in this implementation
[INFO] [stdout] 9 |     fn new(amount: f64, desc: &str) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ReimbursementHandler` is never used
[INFO] [stdout]   --> src/chain/chain.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | trait ReimbursementHandler {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ManagerHandler` is never constructed
[INFO] [stdout]   --> src/chain/chain.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct ManagerHandler {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/chain/chain.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ManagerHandler {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 28 |     fn new<H>(name: &str, handler: H) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DepartmentHeadHandler` is never constructed
[INFO] [stdout]   --> src/chain/chain.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct DepartmentHeadHandler {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/chain/chain.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl DepartmentHeadHandler {
[INFO] [stdout]    | -------------------------- associated function in this implementation
[INFO] [stdout] 62 |     fn new<H>(name: &str, handler: H) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FinanceHandler` is never constructed
[INFO] [stdout]   --> src/chain/chain.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | struct FinanceHandler {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/chain/chain.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 94 | impl FinanceHandler {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 95 |     fn new(name: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Expression` is never used
[INFO] [stdout]  --> src/cinterpreter/cinterpreter.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait Expression {
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NumberExpression` is never constructed
[INFO] [stdout]  --> src/cinterpreter/cinterpreter.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct NumberExpression {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/cinterpreter/cinterpreter.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl NumberExpression {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 11 |     fn new(value: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AddExpression` is never constructed
[INFO] [stdout]   --> src/cinterpreter/cinterpreter.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct AddExpression {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/cinterpreter/cinterpreter.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl AddExpression {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 30 |     fn new<T1, T2>(left_operand: T1, right_operand: T2) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SubExpression` is never constructed
[INFO] [stdout]   --> src/cinterpreter/cinterpreter.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct SubExpression {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/cinterpreter/cinterpreter.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl SubExpression {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 55 |     fn new<T1, T2>(left_operand: T1, right_operand: T2) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]  --> src/command/command.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Command {
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LightOnCommand` is never constructed
[INFO] [stdout]   --> src/command/command.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct LightOnCommand<'l> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command/command.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<'l> LightOnCommand<'l> {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 16 |     fn new(light: &'l Light) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LightOffCommand` is never constructed
[INFO] [stdout]   --> src/command/command.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct LightOffCommand<'l> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command/command.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl<'l> LightOffCommand<'l> {
[INFO] [stdout]    | ---------------------------- associated function in this implementation
[INFO] [stdout] 33 |     fn new(light: &'l Light) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Light` is never constructed
[INFO] [stdout]   --> src/command/command.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct Light {}
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `turn_on` and `turn_off` are never used
[INFO] [stdout]   --> src/command/command.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl Light {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 47 |     fn turn_on(&self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn turn_off(&self) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RemoteControl` is never constructed
[INFO] [stdout]   --> src/command/command.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct RemoteControl<'l> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_command` are never used
[INFO] [stdout]   --> src/command/command.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl<'l> RemoteControl<'l> {
[INFO] [stdout]    | -------------------------- associated items in this implementation
[INFO] [stdout] 61 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn set_command<T>(&mut self, command: T)
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `press_button` is never used
[INFO] [stdout]   --> src/command/command.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl<'l> RemoteControl<'l> {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] 73 |     fn press_button(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IAction` is never used
[INFO] [stdout]  --> src/command/command2.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait IAction {
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CloseAction` is never constructed
[INFO] [stdout]   --> src/command/command2.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct CloseAction {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command/command2.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CloseAction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 14 |     fn new(player: Rc<Player>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PauseAction` is never constructed
[INFO] [stdout]   --> src/command/command2.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct PauseAction {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command/command2.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl PauseAction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 29 |     fn new(player: Rc<Player>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpeedAction` is never constructed
[INFO] [stdout]   --> src/command/command2.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct SpeedAction {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command/command2.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl SpeedAction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 45 |     fn new(player: Rc<Player>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StopAction` is never constructed
[INFO] [stdout]   --> src/command/command2.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct StopAction {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command/command2.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl StopAction {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 60 |     fn new(player: Rc<Player>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Player` is never constructed
[INFO] [stdout]   --> src/command/command2.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | struct Player {}
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `close`, `pause`, `speed`, and `stop` are never used
[INFO] [stdout]   --> src/command/command2.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl Player {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 74 |     fn close(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     fn pause(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     fn speed(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn stop(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Controller` is never constructed
[INFO] [stdout]   --> src/command/command2.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | struct Controller {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `execute` are never used
[INFO] [stdout]    --> src/command/command2.rs:94:8
[INFO] [stdout]     |
[INFO] [stdout] 93  | impl Controller {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 94  |     fn new<T>(action: T) -> Self
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn execute(&self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FileSystemComponent` is never used
[INFO] [stdout]  --> src/composite/composite.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait FileSystemComponent {
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `File` is never constructed
[INFO] [stdout]  --> src/composite/composite.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct File {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/composite/composite.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl File {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 12 |     fn new<T>(name: T) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Directory` is never constructed
[INFO] [stdout]   --> src/composite/composite.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Directory {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_component` are never used
[INFO] [stdout]   --> src/composite/composite.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Directory {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 33 |     fn new<T>(name: T) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn add_component<T>(&mut self, component: T)
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Coffee` is never used
[INFO] [stdout]  --> src/decorator/dcorator.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait Coffee {
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleCoffee` is never constructed
[INFO] [stdout]  --> src/decorator/dcorator.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct SimpleCoffee {}
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CoffeeDecorator` is never used
[INFO] [stdout]   --> src/decorator/dcorator.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | trait CoffeeDecorator: Coffee {}
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MilkDecorator` is never constructed
[INFO] [stdout]   --> src/decorator/dcorator.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct MilkDecorator {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/decorator/dcorator.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl MilkDecorator {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 28 |     fn new<T>(coffee: T) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SugarDecorator` is never constructed
[INFO] [stdout]   --> src/decorator/dcorator.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct SugarDecorator {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/decorator/dcorator.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl SugarDecorator {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 53 |     fn new<T>(coffee: T) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StereoSystem` is never constructed
[INFO] [stdout]  --> src/facade/facade.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct StereoSystem {}
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `turn_on` and `turn_off` are never used
[INFO] [stdout]  --> src/facade/facade.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl StereoSystem {
[INFO] [stdout]   | ----------------- methods in this implementation
[INFO] [stdout] 5 |     fn turn_on(&self) {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     fn turn_off(&self) {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Projector` is never constructed
[INFO] [stdout]   --> src/facade/facade.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Projector {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `turn_on` and `turn_off` are never used
[INFO] [stdout]   --> src/facade/facade.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Projector {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 17 |     fn turn_on(&self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn turn_off(&self) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LightsControl` is never constructed
[INFO] [stdout]   --> src/facade/facade.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct LightsControl {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `turn_on` and `turn_off` are never used
[INFO] [stdout]   --> src/facade/facade.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl LightsControl {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] 30 |     fn turn_on(&self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn turn_off(&self) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HomeTheaterFacade` is never constructed
[INFO] [stdout]   --> src/facade/facade.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct HomeTheaterFacade {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/facade/facade.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl HomeTheaterFacade {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 46 |     fn new(stereo: StereoSystem, projector: Projector, lights: LightsControl) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `watch_movie` and `end_move` are never used
[INFO] [stdout]   --> src/facade/facade.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl HomeTheaterFacade {
[INFO] [stdout]    | ---------------------- methods in this implementation
[INFO] [stdout] 56 |     fn watch_movie(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn end_move(&self) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape` is never used
[INFO] [stdout]  --> src/factory/simple_factory.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait Shape {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]  --> src/factory/simple_factory.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Circle;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/factory/simple_factory.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Rectangle;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleFactory` is never constructed
[INFO] [stdout]   --> src/factory/simple_factory.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct SimpleFactory;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_shape` is never used
[INFO] [stdout]   --> src/factory/simple_factory.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl SimpleFactory {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 28 |     //根据产品名称创建不同的产品
[INFO] [stdout] 29 |     fn create_shape(name: &str) -> Option<Box<dyn Shape>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape` is never used
[INFO] [stdout]  --> src/factory/factory_method.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait Shape {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]  --> src/factory/factory_method.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Circle{}
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/factory/factory_method.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Rectangle;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ShapeFactory` is never used
[INFO] [stdout]   --> src/factory/factory_method.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | trait ShapeFactory {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CircleFactory` is never constructed
[INFO] [stdout]   --> src/factory/factory_method.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct CircleFactory;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RectangleFactory` is never constructed
[INFO] [stdout]   --> src/factory/factory_method.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct RectangleFactory;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OperatingSystem` is never used
[INFO] [stdout]  --> src/factory/abstract_factory.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait OperatingSystem {
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WindowsOS` is never constructed
[INFO] [stdout]  --> src/factory/abstract_factory.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct WindowsOS;
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinuxOS` is never constructed
[INFO] [stdout]   --> src/factory/abstract_factory.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct LinuxOS;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Application` is never used
[INFO] [stdout]   --> src/factory/abstract_factory.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | trait Application {
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WordApplication` is never constructed
[INFO] [stdout]   --> src/factory/abstract_factory.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct WordApplication;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExcelApplication` is never constructed
[INFO] [stdout]   --> src/factory/abstract_factory.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct ExcelApplication;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SoftwareFactory` is never used
[INFO] [stdout]   --> src/factory/abstract_factory.rs:47:7
[INFO] [stdout]    |
[INFO] [stdout] 47 | trait SoftwareFactory {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WindowsSoftwareFactory` is never constructed
[INFO] [stdout]   --> src/factory/abstract_factory.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct WindowsSoftwareFactory;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinuxSoftwareFactory` is never constructed
[INFO] [stdout]   --> src/factory/abstract_factory.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct LinuxSoftwareFactory;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape` is never used
[INFO] [stdout]  --> src/flyweight/flyweight.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait Shape {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Color` is never constructed
[INFO] [stdout]  --> src/flyweight/flyweight.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Color(&'static str);
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Coordinate` is never constructed
[INFO] [stdout]   --> src/flyweight/flyweight.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Coordinate {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/flyweight/flyweight.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Coordinate {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 16 |     fn new(x: f32, y: f32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]   --> src/flyweight/flyweight.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Circle {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/flyweight/flyweight.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl<'c> Circle {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 32 |     fn new(color: Color) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShapeFactory` is never constructed
[INFO] [stdout]   --> src/flyweight/flyweight.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct ShapeFactory {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_shape` are never used
[INFO] [stdout]   --> src/flyweight/flyweight.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl ShapeFactory {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 53 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn get_shape(&mut self, color: &'static str) -> Option<&Box<dyn Shape>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Iterator` is never used
[INFO] [stdout]  --> src/iterator/iterator.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait Iterator {
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteIterator` is never constructed
[INFO] [stdout]   --> src/iterator/iterator.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct ConcreteIterator<T> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/iterator/iterator.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T> ConcreteIterator<T> {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 15 |     fn new(items: Vec<T>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IterableCollection` is never used
[INFO] [stdout]   --> src/iterator/iterator.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 | trait IterableCollection<T> {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteCollection` is never constructed
[INFO] [stdout]   --> src/iterator/iterator.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct ConcreteCollection<T> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/iterator/iterator.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl<T> ConcreteCollection<T> {
[INFO] [stdout]    | ----------------------------- associated function in this implementation
[INFO] [stdout] 47 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add` is never used
[INFO] [stdout]   --> src/iterator/iterator.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl<T> ConcreteCollection<T> {
[INFO] [stdout]    | ----------------------------- method in this implementation
[INFO] [stdout] 52 |     fn add(&mut self, item: T) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatMediator` is never used
[INFO] [stdout]  --> src/mediator/mediator.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait ChatMediator {
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteChatMediator` is never constructed
[INFO] [stdout]   --> src/mediator/mediator.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct ConcreteChatMediator {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mediator/mediator.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ConcreteChatMediator {
[INFO] [stdout]    | ------------------------- associated function in this implementation
[INFO] [stdout] 18 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Colleague` is never used
[INFO] [stdout]   --> src/mediator/mediator.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 | trait Colleague {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteColleague` is never constructed
[INFO] [stdout]   --> src/mediator/mediator.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct ConcreteColleague {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mediator/mediator.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl ConcreteColleague {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 57 |     fn new<T>(name: T, mediator: Rc<RefCell<dyn ChatMediator>>) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatMediator` is never used
[INFO] [stdout]  --> src/mediator/mediator2.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait ChatMediator {
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteChatMediator` is never constructed
[INFO] [stdout]  --> src/mediator/mediator2.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct ConcreteChatMediator {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `send_message` are never used
[INFO] [stdout]   --> src/mediator/mediator2.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ConcreteChatMediator {
[INFO] [stdout]    | ------------------------- associated items in this implementation
[INFO] [stdout] 13 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn send_message(&mut self, name: &str, message: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Colleague` is never used
[INFO] [stdout]   --> src/mediator/mediator2.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | trait Colleague {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteColleague` is never constructed
[INFO] [stdout]   --> src/mediator/mediator2.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct ConcreteColleague {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mediator/mediator2.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl ConcreteColleague {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 57 |     fn new<T>(name: T) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Memento` is never constructed
[INFO] [stdout]  --> src/memento/memento.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Memento {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_state` are never used
[INFO] [stdout]   --> src/memento/memento.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl Memento {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 8  |     fn new<T>(state: T) -> Self 
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn get_state(self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Originator` is never constructed
[INFO] [stdout]   --> src/memento/memento.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Originator {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/memento/memento.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Originator {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 28 |     fn new(state: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_state`, `create_memento`, and `restore_memento` are never used
[INFO] [stdout]   --> src/memento/memento.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Originator {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 36 |     fn set_state(&mut self, state: &str) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn create_memento(&self) -> Memento {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn restore_memento(&mut self, memento: Memento) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Caretaker` is never constructed
[INFO] [stdout]   --> src/memento/memento.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct Caretaker {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/memento/memento.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl Caretaker {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 55 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_memento` and `get_memento` are never used
[INFO] [stdout]   --> src/memento/memento.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl Caretaker {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 63 |     //添加备忘录
[INFO] [stdout] 64 |     fn add_memento(&mut self, memento: Memento) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn get_memento(&self, index: usize) -> Option<Memento> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Subject` is never used
[INFO] [stdout]  --> src/observer/observer.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Subject {
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteSubject` is never constructed
[INFO] [stdout]   --> src/observer/observer.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct ConcreteSubject {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_state` are never used
[INFO] [stdout]   --> src/observer/observer.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl ConcreteSubject {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 19 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn set_state(&mut self,state:i32){
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Observer` is never used
[INFO] [stdout]   --> src/observer/observer.rs:47:7
[INFO] [stdout]    |
[INFO] [stdout] 47 | trait Observer {
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteObserver` is never constructed
[INFO] [stdout]   --> src/observer/observer.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct ConcreteObserver {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/observer/observer.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl ConcreteObserver {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 58 |     fn new(id: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Subject` is never used
[INFO] [stdout]  --> src/observer/observer2.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Subject<'a> {
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteSubject` is never constructed
[INFO] [stdout]   --> src/observer/observer2.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct ConcreteSubject<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_state` are never used
[INFO] [stdout]   --> src/observer/observer2.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<'a> ConcreteSubject<'a> {
[INFO] [stdout]    | ---------------------------- associated items in this implementation
[INFO] [stdout] 19 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn set_state(&mut self,state:i32){
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Observer` is never used
[INFO] [stdout]   --> src/observer/observer2.rs:47:7
[INFO] [stdout]    |
[INFO] [stdout] 47 | trait Observer {
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteObserver` is never constructed
[INFO] [stdout]   --> src/observer/observer2.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct ConcreteObserver {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/observer/observer2.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl ConcreteObserver {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 58 |     fn new(id: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shape` is never constructed
[INFO] [stdout]  --> src/prototype/prototype.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Shape {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/prototype/prototype.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Shape {
[INFO] [stdout]   | ---------- associated function in this implementation
[INFO] [stdout] 7 |     fn new<T>(s_type: T) -> Self
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Image` is never used
[INFO] [stdout]  --> src/proxy/proxy.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait Image {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RealImage` is never constructed
[INFO] [stdout]  --> src/proxy/proxy.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct RealImage {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/proxy/proxy.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RealImage {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 12 |     fn new<T>(file_name: T) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProxyImage` is never constructed
[INFO] [stdout]   --> src/proxy/proxy.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct ProxyImage {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/proxy/proxy.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl ProxyImage {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 35 |     fn new<T>(file_name: T,real_image:RealImage) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Singleton` is never constructed
[INFO] [stdout]  --> src/singleton/singleton1.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Singleton {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INSTANCE` is never used
[INFO] [stdout]   --> src/singleton/singleton1.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | static mut INSTANCE: Option<Arc<Singleton>> = None;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LOCK` is never used
[INFO] [stdout]   --> src/singleton/singleton1.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | static LOCK: Mutex<()> = Mutex::new(());
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_singleton` and `info` are never used
[INFO] [stdout]   --> src/singleton/singleton1.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Singleton {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn get_singleton() -> Arc<Singleton> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn info(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `element` is never read
[INFO] [stdout]  --> src/singleton/singleton2.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Singleton {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 8 |     element: Vec<i32>,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Singleton` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `info` is never used
[INFO] [stdout]   --> src/singleton/singleton2.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn info(){
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Singleton` is never constructed
[INFO] [stdout]  --> src/singleton/singleton3.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Singleton {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INSTANCE` is never used
[INFO] [stdout]   --> src/singleton/singleton3.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | static mut INSTANCE: Option<Arc<Singleton>> = None;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INIT` is never used
[INFO] [stdout]   --> src/singleton/singleton3.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static INIT: Once = Once::new();
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_singleton` and `info` are never used
[INFO] [stdout]   --> src/singleton/singleton3.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Singleton {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn get_singleton() -> Arc<Singleton> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn info(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ElevatorState` is never used
[INFO] [stdout]  --> src/state/state.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait ElevatorState {
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenState` is never constructed
[INFO] [stdout]   --> src/state/state.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct OpenState {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CloseState` is never constructed
[INFO] [stdout]   --> src/state/state.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct CloseState {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Elevator` is never constructed
[INFO] [stdout]   --> src/state/state.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Elevator {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/state/state.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Elevator {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 52 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_state`, `open_door`, `close_door`, `e_move`, and `e_stop` are never used
[INFO] [stdout]   --> src/state/state.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl Elevator {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 60 |     fn set_state<T>(&mut self, state: T)
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     fn open_door(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn close_door(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn e_move(&self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     fn e_stop(&self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MathOperation` is never used
[INFO] [stdout]  --> src/strategy/strategy.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait MathOperation {
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Addition` is never constructed
[INFO] [stdout]  --> src/strategy/strategy.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Addition {}
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Subtraction` is never constructed
[INFO] [stdout]   --> src/strategy/strategy.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Subtraction {}
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Multiplication` is never constructed
[INFO] [stdout]   --> src/strategy/strategy.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Multiplication {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Calculator` is never constructed
[INFO] [stdout]   --> src/strategy/strategy.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct Calculator {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_operation`, and `perform_operation` are never used
[INFO] [stdout]   --> src/strategy/strategy.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Calculator {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 41 |     fn new<T>(operation: T) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn set_operation<T>(&mut self, operation: T)
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn perform_operation(&self, a: f32, b: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AbstractClass` is never used
[INFO] [stdout]  --> src/template/template.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait AbstractClass {
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcreteClass` is never constructed
[INFO] [stdout]   --> src/template/template.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct ConcreteClass;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape` is never used
[INFO] [stdout]  --> src/visitor/visitor.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait Shape {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]  --> src/visitor/visitor.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Circle {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/visitor/visitor.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Circle {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 13 |     fn new(radius: f32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/visitor/visitor.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Rectangle {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/visitor/visitor.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Rectangle {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 31 |     fn new(width: f32, height: f32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ShapeVisitor` is never used
[INFO] [stdout]   --> src/visitor/visitor.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | trait ShapeVisitor {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AreaCalculator` is never constructed
[INFO] [stdout]   --> src/visitor/visitor.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct AreaCalculator {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_area` are never used
[INFO] [stdout]   --> src/visitor/visitor.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl AreaCalculator {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 55 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn get_area(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/singleton/singleton1.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |             if INSTANCE.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/singleton/singleton1.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 | /                 INSTANCE.get_or_insert_with(|| {
[INFO] [stdout] 19 | |                     Arc::new(Self {
[INFO] [stdout] 20 | |                         element: Vec::new(),
[INFO] [stdout] 21 | |                     })
[INFO] [stdout] 22 | |                 });
[INFO] [stdout]    | |__________________^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/singleton/singleton1.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 INSTANCE.clone().unwrap()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/singleton/singleton1.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 INSTANCE.clone().unwrap()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/singleton/singleton3.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |         unsafe { INSTANCE.clone().unwrap() }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lock`
[INFO] [stdout]   --> src/singleton/singleton1.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 let lock = LOCK.lock().unwrap();
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PauseAction` is never constructed
[INFO] [stdout]   --> src/command/command2.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct PauseAction {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command/command2.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl PauseAction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 29 |     fn new(player: Rc<Player>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StopAction` is never constructed
[INFO] [stdout]   --> src/command/command2.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct StopAction {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command/command2.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl StopAction {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 60 |     fn new(player: Rc<Player>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `pause` and `stop` are never used
[INFO] [stdout]   --> src/command/command2.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl Player {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 77 |     fn pause(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn stop(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CoffeeDecorator` is never used
[INFO] [stdout]   --> src/decorator/dcorator.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | trait CoffeeDecorator: Coffee {}
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `file_name` is never read
[INFO] [stdout]   --> src/proxy/proxy.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct ProxyImage {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] 30 |     file_name: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/singleton/singleton1.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |             if INSTANCE.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/singleton/singleton1.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 | /                 INSTANCE.get_or_insert_with(|| {
[INFO] [stdout] 19 | |                     Arc::new(Self {
[INFO] [stdout] 20 | |                         element: Vec::new(),
[INFO] [stdout] 21 | |                     })
[INFO] [stdout] 22 | |                 });
[INFO] [stdout]    | |__________________^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/singleton/singleton1.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 INSTANCE.clone().unwrap()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/singleton/singleton1.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 INSTANCE.clone().unwrap()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/singleton/singleton3.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |         unsafe { INSTANCE.clone().unwrap() }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "36536359a24247bb5f5377eeed764d5b910cbf725a1d45fb67b4fa164488afa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36536359a24247bb5f5377eeed764d5b910cbf725a1d45fb67b4fa164488afa9", kill_on_drop: false }`
[INFO] [stdout] 36536359a24247bb5f5377eeed764d5b910cbf725a1d45fb67b4fa164488afa9
