[INFO] cloning repository https://github.com/pochon-tech-pro/rust-practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pochon-tech-pro/rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpochon-tech-pro%2Frust-practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpochon-tech-pro%2Frust-practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] caba512f805eb0be03614e396e5e9234a36a10fb
[INFO] testing pochon-tech-pro/rust-practice against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpochon-tech-pro%2Frust-practice" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pochon-tech-pro/rust-practice on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pochon-tech-pro/rust-practice
[INFO] finished tweaking git repo https://github.com/pochon-tech-pro/rust-practice
[INFO] tweaked toml for git repo https://github.com/pochon-tech-pro/rust-practice written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/pochon-tech-pro/rust-practice already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21b164f141be3a9aed38ca634e6bf8bf47e324ea655f5f863e11b0c3ae5c9f11
[INFO] running `Command { std: "docker" "start" "-a" "21b164f141be3a9aed38ca634e6bf8bf47e324ea655f5f863e11b0c3ae5c9f11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21b164f141be3a9aed38ca634e6bf8bf47e324ea655f5f863e11b0c3ae5c9f11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21b164f141be3a9aed38ca634e6bf8bf47e324ea655f5f863e11b0c3ae5c9f11", kill_on_drop: false }`
[INFO] [stdout] 21b164f141be3a9aed38ca634e6bf8bf47e324ea655f5f863e11b0c3ae5c9f11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a01fcd6e133a995acedae92d4600c49f80f92f081de49144d33ba51617719fa
[INFO] running `Command { std: "docker" "start" "-a" "4a01fcd6e133a995acedae92d4600c49f80f92f081de49144d33ba51617719fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde v1.0.134
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling rust_decimal v1.20.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling derive-new v0.5.9
[INFO] [stderr]    Compiling derive-getters v0.1.1
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling rust-sample v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/practice/sample.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Customer`
[INFO] [stdout]  --> src/practice/sample.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::practice::customer::{Customer, CustomerCollection};
[INFO] [stdout]   |                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/practice/value_object2.rs:57:20
[INFO] [stdout]    |
[INFO] [stdout] 57 |         Money::new((self.amount + other.amount), self.currency)
[INFO] [stdout]    |                    ^                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 57 -         Money::new((self.amount + other.amount), self.currency)
[INFO] [stdout] 57 +         Money::new(self.amount + other.amount, self.currency)
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/practice/domain_service.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/practice/errors.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let f = File::open(filename).context(format!("failed open {}", { filename }))?;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/practice/errors.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let f = File::open(filename).context(format!("failed open {}", { filename }))?;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private type `UserOtherIdentity` in public interface (error E0446)
[INFO] [stdout]    --> src/practice/entity.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn exists(&self, _user: UserOtherIdentity) -> bool {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(private_in_public)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/practice/value_object.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(first_name: &str, last_name: &str) -> FullName {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `first_name`
[INFO] [stdout]   --> src/practice/value_object.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn first_name(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `last_name`
[INFO] [stdout]   --> src/practice/value_object.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn last_name(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/practice/value_object.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(name: &str, age: Option<u16>) -> Boy {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `name`
[INFO] [stdout]   --> src/practice/value_object.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn name(&self) -> String {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `age`
[INFO] [stdout]   --> src/practice/value_object.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn age(&self) -> Option<u16> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/practice/value_object2.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(first_name: Name, last_name: Name) -> FullName {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Error1`
[INFO] [stdout]  --> src/practice/errors.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Error1(u64),
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/practice/errors.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Error2`
[INFO] [stdout]   --> src/practice/errors.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Error2(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/practice/errors.rs:7:10
[INFO] [stdout]    |
[INFO] [stdout] 7  | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `basic_error`
[INFO] [stdout]   --> src/practice/errors.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn basic_error() -> Result<(), MyError> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `multi_error`
[INFO] [stdout]   --> src/practice/errors.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn multi_error() -> Result<(), Box<dyn Error + Send + Sync + 'static>> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Error3`
[INFO] [stdout]   --> src/practice/errors.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     Error3(u64),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `MyErrorAnyHow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/practice/errors.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Error4`
[INFO] [stdout]   --> src/practice/errors.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     Error4(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `MyErrorAnyHow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/practice/errors.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `any_how_error`
[INFO] [stdout]   --> src/practice/errors.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn any_how_error() -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Error5`
[INFO] [stdout]   --> src/practice/errors.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     Error5(u64),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `MyErrorAnyHowAndThisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/practice/errors.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug, Error)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Error6`
[INFO] [stdout]   --> src/practice/errors.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 82 |     Error6(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `MyErrorAnyHowAndThisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/practice/errors.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug, Error)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `any_how_and_this_error`
[INFO] [stdout]   --> src/practice/errors.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn any_how_and_this_error() -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `TypeError`
[INFO] [stdout]  --> src/practice/entity.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     TypeError(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `EntityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/practice/entity.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Error, Debug)]
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `InternalServerError`
[INFO] [stdout]  --> src/practice/entity.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     InternalServerError(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `EntityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/practice/entity.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Error, Debug)]
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `type_error`
[INFO] [stdout]   --> src/practice/entity.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn type_error(s: &str) -> EntityError {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `internal_server_error`
[INFO] [stdout]   --> src/practice/entity.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn internal_server_error(s: &str) -> EntityError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]   --> src/practice/entity.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/practice/entity.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/practice/entity.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn new(name: &str) -> Result<Self, EntityError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_name`
[INFO] [stdout]   --> src/practice/entity.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn change_name(&mut self, name: &str) -> Result<(), EntityError> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/practice/entity.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn new(str: &str) -> Result<Self, EntityError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]   --> src/practice/entity.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     name: UserName,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `UserOther` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/practice/entity.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/practice/entity.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn new(name: UserName) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_name`
[INFO] [stdout]   --> src/practice/entity.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn change_name(&mut self, name: UserName) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `name`
[INFO] [stdout]   --> src/practice/entity.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn name(&self) -> UserName {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/practice/entity.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub fn new(str: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]    --> src/practice/entity.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 |     name: UserName,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `UserOtherIdentity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/practice/entity.rs:97:10
[INFO] [stdout]     |
[INFO] [stdout] 97  | #[derive(Debug, Clone, Eq)] // trait Eqは同値関係の性質を表すLabel？なのでそのままで、PartialEqは独自に実装
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]    --> src/practice/entity.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn new(id: UserId, name: UserName) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_name`
[INFO] [stdout]    --> src/practice/entity.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn change_name(&mut self, name: UserName) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `exists`
[INFO] [stdout]    --> src/practice/entity.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn exists(&self, _user: UserOtherIdentity) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `withdraw`
[INFO] [stdout]   --> src/practice/domain_service.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn withdraw(&mut self, amount: u16) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `deposit`
[INFO] [stdout]   --> src/practice/domain_service.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn deposit(&mut self, amount: u16) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `AccountsService`
[INFO] [stdout]   --> src/practice/domain_service.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct AccountsService {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `transfer`
[INFO] [stdout]   --> src/practice/domain_service.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn transfer(&self, mut from: Accounts, mut to: Accounts, amount: u16) -> (Accounts, Accounts) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/domain/order.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new(id: OrderId) -> Order {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `id`
[INFO] [stdout]   --> src/domain/order.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn id(&self) -> OrderId {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 47 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 11.61s
[INFO] running `Command { std: "docker" "inspect" "4a01fcd6e133a995acedae92d4600c49f80f92f081de49144d33ba51617719fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a01fcd6e133a995acedae92d4600c49f80f92f081de49144d33ba51617719fa", kill_on_drop: false }`
[INFO] [stdout] 4a01fcd6e133a995acedae92d4600c49f80f92f081de49144d33ba51617719fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b8264875f8ee16ebd7fe233ce34802d8140353f5e887bed0c62c484c821585e
[INFO] running `Command { std: "docker" "start" "-a" "1b8264875f8ee16ebd7fe233ce34802d8140353f5e887bed0c62c484c821585e", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling rust-sample v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/practice/sample.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Customer`
[INFO] [stdout]  --> src/practice/sample.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::practice::customer::{Customer, CustomerCollection};
[INFO] [stdout]   |                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/practice/value_object2.rs:57:20
[INFO] [stdout]    |
[INFO] [stdout] 57 |         Money::new((self.amount + other.amount), self.currency)
[INFO] [stdout]    |                    ^                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 57 -         Money::new((self.amount + other.amount), self.currency)
[INFO] [stdout] 57 +         Money::new(self.amount + other.amount, self.currency)
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::practice::value_object2::Name`
[INFO] [stdout]    --> src/practice/entity.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |     use crate::practice::value_object2::Name;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/practice/domain_service.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usd`
[INFO] [stdout]    --> src/practice/value_object2.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let usd = MoneyOther::<USD>::new(Decimal::new(500, 0));
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_usd`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/practice/errors.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let f = File::open(filename).context(format!("failed open {}", { filename }))?;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/practice/errors.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let f = File::open(filename).context(format!("failed open {}", { filename }))?;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_domain_service`
[INFO] [stdout]    --> src/practice/entity.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let user_domain_service = UserDomainService::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_domain_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]    --> src/practice/entity.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let user = UserOtherIdentity::new(UserId::new("1000"), UserName::new("山田太郎").unwrap());
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `updated_b`
[INFO] [stdout]    --> src/practice/domain_service.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let (updated_a, updated_b) = account_service.transfer(before_a.clone(), before_b.clone(), 500);
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private type `entity::UserOtherIdentity` in public interface (error E0446)
[INFO] [stdout]    --> src/practice/entity.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn exists(&self, _user: UserOtherIdentity) -> bool {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(private_in_public)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `last_name`
[INFO] [stdout]   --> src/practice/value_object.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn last_name(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `name`
[INFO] [stdout]   --> src/practice/value_object.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn name(&self) -> String {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Error3`
[INFO] [stdout]   --> src/practice/errors.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     Error3(u64),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `MyErrorAnyHow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/practice/errors.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Error5`
[INFO] [stdout]   --> src/practice/errors.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     Error5(u64),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `MyErrorAnyHowAndThisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/practice/errors.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug, Error)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `InternalServerError`
[INFO] [stdout]  --> src/practice/entity.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     InternalServerError(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `EntityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/practice/entity.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Error, Debug)]
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `internal_server_error`
[INFO] [stdout]   --> src/practice/entity.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn internal_server_error(s: &str) -> EntityError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]   --> src/practice/entity.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     name: UserName,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `UserOther` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/practice/entity.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_name`
[INFO] [stdout]   --> src/practice/entity.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn change_name(&mut self, name: UserName) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `name`
[INFO] [stdout]   --> src/practice/entity.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn name(&self) -> UserName {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `exists`
[INFO] [stdout]    --> src/practice/entity.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn exists(&self, _user: UserOtherIdentity) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `id`
[INFO] [stdout]   --> src/domain/order.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn id(&self) -> OrderId {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/practice/domain_service.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         repo.save(accounts.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.56s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_sample-2a4b504d389d7da2)
[INFO] running `Command { std: "docker" "inspect" "1b8264875f8ee16ebd7fe233ce34802d8140353f5e887bed0c62c484c821585e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b8264875f8ee16ebd7fe233ce34802d8140353f5e887bed0c62c484c821585e", kill_on_drop: false }`
[INFO] [stdout] 1b8264875f8ee16ebd7fe233ce34802d8140353f5e887bed0c62c484c821585e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5c02747c9e32ab32de198524d575fd3f0fc155e2fd8920e20237c4ec8a07d22a
[INFO] running `Command { std: "docker" "start" "-a" "5c02747c9e32ab32de198524d575fd3f0fc155e2fd8920e20237c4ec8a07d22a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::cell::RefCell`
[INFO] [stderr]  --> src/practice/sample.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::cell::RefCell;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Customer`
[INFO] [stderr]  --> src/practice/sample.rs:3:33
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::practice::customer::{Customer, CustomerCollection};
[INFO] [stderr]   |                                 ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/practice/value_object2.rs:57:20
[INFO] [stderr]    |
[INFO] [stderr] 57 |         Money::new((self.amount + other.amount), self.currency)
[INFO] [stderr]    |                    ^                          ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 57 -         Money::new((self.amount + other.amount), self.currency)
[INFO] [stderr] 57 +         Money::new(self.amount + other.amount, self.currency)
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::practice::value_object2::Name`
[INFO] [stderr]    --> src/practice/entity.rs:130:9
[INFO] [stderr]     |
[INFO] [stderr] 130 |     use crate::practice::value_object2::Name;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stderr]  --> src/practice/domain_service.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::borrow::BorrowMut;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `usd`
[INFO] [stderr]    --> src/practice/value_object2.rs:147:13
[INFO] [stderr]     |
[INFO] [stderr] 147 |         let usd = MoneyOther::<USD>::new(Decimal::new(500, 0));
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_usd`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> src/practice/errors.rs:70:9
[INFO] [stderr]    |
[INFO] [stderr] 70 |     let f = File::open(filename).context(format!("failed open {}", { filename }))?;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> src/practice/errors.rs:90:9
[INFO] [stderr]    |
[INFO] [stderr] 90 |     let f = File::open(filename).context(format!("failed open {}", { filename }))?;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `user_domain_service`
[INFO] [stderr]    --> src/practice/entity.rs:171:13
[INFO] [stderr]     |
[INFO] [stderr] 171 |         let user_domain_service = UserDomainService::new();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_domain_service`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `user`
[INFO] [stderr]    --> src/practice/entity.rs:172:13
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let user = UserOtherIdentity::new(UserId::new("1000"), UserName::new("山田太郎").unwrap());
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `updated_b`
[INFO] [stderr]    --> src/practice/domain_service.rs:113:25
[INFO] [stderr]     |
[INFO] [stderr] 113 |         let (updated_a, updated_b) = account_service.transfer(before_a.clone(), before_b.clone(), 500);
[INFO] [stderr]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_b`
[INFO] [stderr] 
[INFO] [stderr] warning: private type `entity::UserOtherIdentity` in public interface (error E0446)
[INFO] [stderr]    --> src/practice/entity.rs:123:5
[INFO] [stderr]     |
[INFO] [stderr] 123 |     pub fn exists(&self, _user: UserOtherIdentity) -> bool {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(private_in_public)]` on by default
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `last_name`
[INFO] [stderr]   --> src/practice/value_object.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 |     pub fn last_name(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `name`
[INFO] [stderr]   --> src/practice/value_object.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 43 |     pub fn name(&self) -> String {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Error3`
[INFO] [stderr]   --> src/practice/errors.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 51 |     Error3(u64),
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `MyErrorAnyHow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/practice/errors.rs:49:10
[INFO] [stderr]    |
[INFO] [stderr] 49 | #[derive(Debug)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Error5`
[INFO] [stderr]   --> src/practice/errors.rs:80:5
[INFO] [stderr]    |
[INFO] [stderr] 80 |     Error5(u64),
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `MyErrorAnyHowAndThisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/practice/errors.rs:76:10
[INFO] [stderr]    |
[INFO] [stderr] 76 | #[derive(Debug, Error)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `InternalServerError`
[INFO] [stderr]  --> src/practice/entity.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     InternalServerError(String),
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `EntityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/practice/entity.rs:4:17
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Error, Debug)]
[INFO] [stderr]   |                 ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `internal_server_error`
[INFO] [stderr]   --> src/practice/entity.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 |     pub fn internal_server_error(s: &str) -> EntityError {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `name`
[INFO] [stderr]   --> src/practice/entity.rs:67:5
[INFO] [stderr]    |
[INFO] [stderr] 67 |     name: UserName,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `UserOther` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/practice/entity.rs:65:10
[INFO] [stderr]    |
[INFO] [stderr] 65 | #[derive(Clone, Debug)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `change_name`
[INFO] [stderr]   --> src/practice/entity.rs:76:12
[INFO] [stderr]    |
[INFO] [stderr] 76 |     pub fn change_name(&mut self, name: UserName) {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `name`
[INFO] [stderr]   --> src/practice/entity.rs:80:12
[INFO] [stderr]    |
[INFO] [stderr] 80 |     pub fn name(&self) -> UserName {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `exists`
[INFO] [stderr]    --> src/practice/entity.rs:123:12
[INFO] [stderr]     |
[INFO] [stderr] 123 |     pub fn exists(&self, _user: UserOtherIdentity) -> bool {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `id`
[INFO] [stderr]   --> src/domain/order.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub fn id(&self) -> OrderId {
[INFO] [stderr]    |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/practice/domain_service.rs:101:9
[INFO] [stderr]     |
[INFO] [stderr] 101 |         repo.save(accounts.clone());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-sample` (bin "rust-sample" test) generated 24 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_sample-2a4b504d389d7da2)
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test domain::order::tests::create_order_new ... ok
[INFO] [stdout] test domain::order::tests::from_into ... ok
[INFO] [stdout] test practice::entity::tests::domain_service ... ok
[INFO] [stdout] test practice::entity::tests::new_1 ... ok
[INFO] [stdout] test practice::domain_service::tests::domain_service ... ok
[INFO] [stdout] test practice::entity::tests::new_2 ... ok
[INFO] [stdout] test practice::domain_service::tests::account_new ... ok
[INFO] [stdout] test practice::domain_service::tests::repository ... ok
[INFO] [stdout] test practice::entity::tests::new_3 ... ok
[INFO] [stdout] test practice::errors::tests::error_case4 ... ok
[INFO] [stdout] test practice::value_object2::tests::add2 ... ok
[INFO] [stdout] test practice::value_object::tests::getter ... ok
[INFO] [stdout] test practice::errors::tests::error_case2 ... ok
[INFO] [stdout] test practice::value_object::tests::clone_address_is_different ... ok
[INFO] [stdout] test practice::value_object::tests::new_1 ... ok
[INFO] [stdout] test practice::value_object::tests::clone_is_equal ... ok
[INFO] [stdout] test practice::errors::tests::error_case1 ... ok
[INFO] [stdout] test practice::value_object2::tests::decimal ... ok
[INFO] [stdout] test practice::value_object2::tests::full_name ... ok
[INFO] [stdout] test practice::value_object::tests::new_2 ... ok
[INFO] [stdout] test practice::value_object2::tests::add ... ok
[INFO] [stdout] test practice::value_object::tests::option_type ... ok
[INFO] [stdout] test practice::errors::tests::error_case3 ... ok
[INFO] [stdout] test practice::value_object2::tests::name ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5c02747c9e32ab32de198524d575fd3f0fc155e2fd8920e20237c4ec8a07d22a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c02747c9e32ab32de198524d575fd3f0fc155e2fd8920e20237c4ec8a07d22a", kill_on_drop: false }`
[INFO] [stdout] 5c02747c9e32ab32de198524d575fd3f0fc155e2fd8920e20237c4ec8a07d22a
