[INFO] cloning repository https://github.com/dilawarm/two-phase-commit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dilawarm/two-phase-commit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilawarm%2Ftwo-phase-commit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilawarm%2Ftwo-phase-commit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d170225b9bdf727557b355c97d9368a6d8334228
[INFO] checking dilawarm/two-phase-commit against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilawarm%2Ftwo-phase-commit" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dilawarm/two-phase-commit
[INFO] finished tweaking git repo https://github.com/dilawarm/two-phase-commit
[INFO] tweaked toml for git repo https://github.com/dilawarm/two-phase-commit written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dilawarm/two-phase-commit on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dilawarm/two-phase-commit 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.106
[INFO] [stderr]   Downloaded serde_json v1.0.51
[INFO] [stderr]   Downloaded quote v1.0.3
[INFO] [stderr]   Downloaded ryu v1.0.3
[INFO] [stderr]   Downloaded proc-macro2 v1.0.10
[INFO] [stderr]   Downloaded serde_derive v1.0.106
[INFO] [stderr]   Downloaded syn v1.0.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31d2276caf0fa46b2f676a856e0a725b6308c16a8e6e783069e14bb37461841f
[INFO] running `Command { std: "docker" "start" "-a" "31d2276caf0fa46b2f676a856e0a725b6308c16a8e6e783069e14bb37461841f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31d2276caf0fa46b2f676a856e0a725b6308c16a8e6e783069e14bb37461841f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31d2276caf0fa46b2f676a856e0a725b6308c16a8e6e783069e14bb37461841f", kill_on_drop: false }`
[INFO] [stdout] 31d2276caf0fa46b2f676a856e0a725b6308c16a8e6e783069e14bb37461841f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0347229e5bd3570da509846057cf8d57b17ac378872227e81858a80652f6ad9c
[INFO] running `Command { std: "docker" "start" "-a" "0347229e5bd3570da509846057cf8d57b17ac378872227e81858a80652f6ad9c", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking orchestrator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]   --> orchestrator.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]    |
[INFO] [stdout] help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` and import it in your code
[INFO] [stdout]    |
[INFO] [stdout] 16 + extern crate serde;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]   --> orchestrator.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]    |
[INFO] [stdout] help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` and import it in your code
[INFO] [stdout]    |
[INFO] [stdout] 16 + extern crate serde;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Order: serde::de::Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> orchestrator.rs:554:38
[INFO] [stdout]      |
[INFO] [stdout]  554 |         match serde_json::from_str::<Order>(&body_string) {
[INFO] [stdout]      |                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `Order`
[INFO] [stdout]     --> orchestrator.rs:56:1
[INFO] [stdout]      |
[INFO] [stdout]   56 | struct Order {
[INFO] [stdout]      | ^^^^^^^^^^^^
[INFO] [stdout]      = help: the following other types implement trait `serde::de::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 127 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.51/src/de.rs:2397:8
[INFO] [stdout]      |
[INFO] [stdout] 2395 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2396 | where
[INFO] [stdout] 2397 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Order: serde::de::Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> orchestrator.rs:554:38
[INFO] [stdout]      |
[INFO] [stdout]  554 |         match serde_json::from_str::<Order>(&body_string) {
[INFO] [stdout]      |                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `Order`
[INFO] [stdout]     --> orchestrator.rs:56:1
[INFO] [stdout]      |
[INFO] [stdout]   56 | struct Order {
[INFO] [stdout]      | ^^^^^^^^^^^^
[INFO] [stdout]      = help: the following other types implement trait `serde::de::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 127 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.51/src/de.rs:2397:8
[INFO] [stdout]      |
[INFO] [stdout] 2395 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2396 | where
[INFO] [stdout] 2397 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `wallet_stream`
[INFO] [stdout]    --> orchestrator.rs:284:37
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let wallet_stream = match TcpStream::connect_timeout(&wallet_socket, timeout) {
[INFO] [stdout]     |         ------------- move occurs because `wallet_stream` has type `TcpStream`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 278 |     if let Err(_) = prepare_transaction(wallet_stream, order_stream, account, amount, user_id, items) {
[INFO] [stdout]     |                                         ------------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 284 |         match get_prepare_responses(wallet_stream, order_stream) {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in function `prepare_transaction` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> orchestrator.rs:331:24
[INFO] [stdout]     |
[INFO] [stdout] 330 | fn prepare_transaction(
[INFO] [stdout]     |    ------------------- in this function
[INFO] [stdout] 331 |     mut wallet_stream: TcpStream,
[INFO] [stdout]     |                        ^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `order_stream`
[INFO] [stdout]    --> orchestrator.rs:284:52
[INFO] [stdout]     |
[INFO] [stdout] 261 |     let order_stream = match TcpStream::connect_timeout(&order_socket, timeout) {
[INFO] [stdout]     |         ------------ move occurs because `order_stream` has type `TcpStream`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 278 |     if let Err(_) = prepare_transaction(wallet_stream, order_stream, account, amount, user_id, items) {
[INFO] [stdout]     |                                                        ------------ value moved here
[INFO] [stdout] ...
[INFO] [stdout] 284 |         match get_prepare_responses(wallet_stream, order_stream) {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in function `prepare_transaction` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> orchestrator.rs:332:23
[INFO] [stdout]     |
[INFO] [stdout] 330 | fn prepare_transaction(
[INFO] [stdout]     |    ------------------- in this function
[INFO] [stdout] 331 |     mut wallet_stream: TcpStream,
[INFO] [stdout] 332 |     mut order_stream: TcpStream,
[INFO] [stdout]     |                       ^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `wallet_stream`
[INFO] [stdout]    --> orchestrator.rs:284:37
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let wallet_stream = match TcpStream::connect_timeout(&wallet_socket, timeout) {
[INFO] [stdout]     |         ------------- move occurs because `wallet_stream` has type `TcpStream`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 278 |     if let Err(_) = prepare_transaction(wallet_stream, order_stream, account, amount, user_id, items) {
[INFO] [stdout]     |                                         ------------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 284 |         match get_prepare_responses(wallet_stream, order_stream) {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in function `prepare_transaction` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> orchestrator.rs:331:24
[INFO] [stdout]     |
[INFO] [stdout] 330 | fn prepare_transaction(
[INFO] [stdout]     |    ------------------- in this function
[INFO] [stdout] 331 |     mut wallet_stream: TcpStream,
[INFO] [stdout]     |                        ^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `order_stream`
[INFO] [stdout]    --> orchestrator.rs:284:52
[INFO] [stdout]     |
[INFO] [stdout] 261 |     let order_stream = match TcpStream::connect_timeout(&order_socket, timeout) {
[INFO] [stdout]     |         ------------ move occurs because `order_stream` has type `TcpStream`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 278 |     if let Err(_) = prepare_transaction(wallet_stream, order_stream, account, amount, user_id, items) {
[INFO] [stdout]     |                                                        ------------ value moved here
[INFO] [stdout] ...
[INFO] [stdout] 284 |         match get_prepare_responses(wallet_stream, order_stream) {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in function `prepare_transaction` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> orchestrator.rs:332:23
[INFO] [stdout]     |
[INFO] [stdout] 330 | fn prepare_transaction(
[INFO] [stdout]     |    ------------------- in this function
[INFO] [stdout] 331 |     mut wallet_stream: TcpStream,
[INFO] [stdout] 332 |     mut order_stream: TcpStream,
[INFO] [stdout]     |                       ^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `orchestrator` (bin "orchestrator") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `orchestrator` (bin "orchestrator" test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "0347229e5bd3570da509846057cf8d57b17ac378872227e81858a80652f6ad9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0347229e5bd3570da509846057cf8d57b17ac378872227e81858a80652f6ad9c", kill_on_drop: false }`
[INFO] [stdout] 0347229e5bd3570da509846057cf8d57b17ac378872227e81858a80652f6ad9c
