[INFO] cloning repository https://github.com/J3anSimas/chatbot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/J3anSimas/chatbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ3anSimas%2Fchatbot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ3anSimas%2Fchatbot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 90ed64b09aa11cdcd953339b1645ae9833eeab89
[INFO] building J3anSimas/chatbot against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ3anSimas%2Fchatbot" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/J3anSimas/chatbot on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/J3anSimas/chatbot
[INFO] finished tweaking git repo https://github.com/J3anSimas/chatbot
[INFO] tweaked toml for git repo https://github.com/J3anSimas/chatbot written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/J3anSimas/chatbot 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9bf42bd55306034c80df58929c3a15c33b9b1f3c109df6b182e788e8942ffce3
[INFO] running `Command { std: "docker" "start" "-a" "9bf42bd55306034c80df58929c3a15c33b9b1f3c109df6b182e788e8942ffce3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bf42bd55306034c80df58929c3a15c33b9b1f3c109df6b182e788e8942ffce3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bf42bd55306034c80df58929c3a15c33b9b1f3c109df6b182e788e8942ffce3", kill_on_drop: false }`
[INFO] [stdout] 9bf42bd55306034c80df58929c3a15c33b9b1f3c109df6b182e788e8942ffce3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86003ad677b5d6f504d4b7b2c45f20a8709a45221819f292c40a68a9d8eaa862
[INFO] running `Command { std: "docker" "start" "-a" "86003ad677b5d6f504d4b7b2c45f20a8709a45221819f292c40a68a9d8eaa862", kill_on_drop: false }`
[INFO] [stderr]    Compiling chatbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `OperationTypes`, `Operation`, and `session::Session`
[INFO] [stdout]  --> src/usecases/user_sends_message_to_bot.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 |         operation::{Operation, OperationTypes},
[INFO] [stdout]   |                     ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 4 |         session::Session,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session`
[INFO] [stdout]   --> src/usecases/user_sends_message_to_bot.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let mut session = match self
[INFO] [stdout]    |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `title` is never read
[INFO] [stdout]   --> src/entities/operation.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Operation {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 9  |     id: String,
[INFO] [stdout] 10 |     title: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Operation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserSendsMessageToBot` is never constructed
[INFO] [stdout]  --> src/usecases/user_sends_message_to_bot.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct UserSendsMessageToBot {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `handle` are never used
[INFO] [stdout]   --> src/usecases/user_sends_message_to_bot.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl UserSendsMessageToBot {
[INFO] [stdout]    | -------------------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(session_data_gateway: Box<dyn SessionDataGateway>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn handle(&mut self, user_id: &str, message: &str) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "86003ad677b5d6f504d4b7b2c45f20a8709a45221819f292c40a68a9d8eaa862", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86003ad677b5d6f504d4b7b2c45f20a8709a45221819f292c40a68a9d8eaa862", kill_on_drop: false }`
[INFO] [stdout] 86003ad677b5d6f504d4b7b2c45f20a8709a45221819f292c40a68a9d8eaa862
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9fe23fe2a067ba99a1e0e5116c135f9de7825f67913352d2af7451822085493e
[INFO] running `Command { std: "docker" "start" "-a" "9fe23fe2a067ba99a1e0e5116c135f9de7825f67913352d2af7451822085493e", kill_on_drop: false }`
[INFO] [stderr]    Compiling chatbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `OperationTypes`, `Operation`, and `session::Session`
[INFO] [stdout]  --> src/usecases/user_sends_message_to_bot.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 |         operation::{Operation, OperationTypes},
[INFO] [stdout]   |                     ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 4 |         session::Session,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session`
[INFO] [stdout]   --> src/usecases/user_sends_message_to_bot.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let mut session = match self
[INFO] [stdout]    |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `sessions_array`
[INFO] [stdout]    --> src/usecases/user_sends_message_to_bot.rs:140:67
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let sessions_array: Vec<Session> = Vec::new();
[INFO] [stdout]     |             -------------- move occurs because `sessions_array` has type `Vec<Session>`, which does not implement the `Copy` trait
[INFO] [stdout] 137 |         let session_data_gateway_spy = SessionDataGatewaySpy::new(sessions_array);
[INFO] [stdout]     |                                                                   -------------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 140 |         let session_data_gateway_spy = SessionDataGatewaySpy::new(sessions_array);
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in method `new` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/usecases/user_sends_message_to_bot.rs:66:31
[INFO] [stdout]     |
[INFO] [stdout] 66  |         fn new(session_array: Vec<Session>) -> Self {
[INFO] [stdout]     |            --- in this method ^^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let session_data_gateway_spy = SessionDataGatewaySpy::new(sessions_array.clone());
[INFO] [stdout]     |                                                                                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chatbot` (bin "chatbot" test) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9fe23fe2a067ba99a1e0e5116c135f9de7825f67913352d2af7451822085493e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fe23fe2a067ba99a1e0e5116c135f9de7825f67913352d2af7451822085493e", kill_on_drop: false }`
[INFO] [stdout] 9fe23fe2a067ba99a1e0e5116c135f9de7825f67913352d2af7451822085493e
