[INFO] cloning repository https://github.com/david-urvoy/toy_payments_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/david-urvoy/toy_payments_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-urvoy%2Ftoy_payments_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-urvoy%2Ftoy_payments_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 186f2e777178f44b5cd7544b9d1417bb0873b846 [INFO] testing david-urvoy/toy_payments_engine against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-urvoy%2Ftoy_payments_engine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/david-urvoy/toy_payments_engine [INFO] finished tweaking git repo https://github.com/david-urvoy/toy_payments_engine [INFO] tweaked toml for git repo https://github.com/david-urvoy/toy_payments_engine written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/david-urvoy/toy_payments_engine on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/david-urvoy/toy_payments_engine 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.117 [INFO] [stderr] Downloaded bstr v0.2.14 [INFO] [stderr] Downloaded csv v1.1.5 [INFO] [stderr] Downloaded syn v1.0.52 [INFO] [stderr] Downloaded serde v1.0.117 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b82d719d73ac3e84298b7175448029a250302d49bebe4e05b8805f0c945ca70e [INFO] running `Command { std: "docker" "start" "-a" "b82d719d73ac3e84298b7175448029a250302d49bebe4e05b8805f0c945ca70e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b82d719d73ac3e84298b7175448029a250302d49bebe4e05b8805f0c945ca70e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82d719d73ac3e84298b7175448029a250302d49bebe4e05b8805f0c945ca70e", kill_on_drop: false }` [INFO] [stdout] b82d719d73ac3e84298b7175448029a250302d49bebe4e05b8805f0c945ca70e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba9ba590146669d6ff2cb82cc59b59ff089e698c78cf4ffa779b98145fc53ea1 [INFO] running `Command { std: "docker" "start" "-a" "ba9ba590146669d6ff2cb82cc59b59ff089e698c78cf4ffa779b98145fc53ea1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling toy_payments_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::transaction::Transaction` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `tx`, and `amount` are never read [INFO] [stdout] --> src/transaction.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | Deposit { client: u32, tx: u32, amount: f32 }, [INFO] [stdout] | ------- ^^^^^^ ^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `tx`, and `amount` are never read [INFO] [stdout] --> src/transaction.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | Withdrawal { client: u32, tx: u32, amount: f32 }, [INFO] [stdout] | ---------- ^^^^^^ ^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `tx` are never read [INFO] [stdout] --> src/transaction.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Dispute { client: u32, tx: u32 }, [INFO] [stdout] | ------- ^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `tx` are never read [INFO] [stdout] --> src/transaction.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | Resolve { client: u32, tx: u32 }, [INFO] [stdout] | ------- ^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `tx` are never read [INFO] [stdout] --> src/transaction.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | Chargeback { client: u32, tx: u32 } [INFO] [stdout] | ---------- ^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.91s [INFO] running `Command { std: "docker" "inspect" "ba9ba590146669d6ff2cb82cc59b59ff089e698c78cf4ffa779b98145fc53ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba9ba590146669d6ff2cb82cc59b59ff089e698c78cf4ffa779b98145fc53ea1", kill_on_drop: false }` [INFO] [stdout] ba9ba590146669d6ff2cb82cc59b59ff089e698c78cf4ffa779b98145fc53ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d45a9089c5f25bef1be7317560347f0ecb2296c3193765d20cf0a0d607c0aa53 [INFO] running `Command { std: "docker" "start" "-a" "d45a9089c5f25bef1be7317560347f0ecb2296c3193765d20cf0a0d607c0aa53", kill_on_drop: false }` [INFO] [stderr] Compiling toy_payments_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::transaction::Transaction` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `tx`, and `amount` are never read [INFO] [stdout] --> src/transaction.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | Deposit { client: u32, tx: u32, amount: f32 }, [INFO] [stdout] | ------- ^^^^^^ ^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `tx`, and `amount` are never read [INFO] [stdout] --> src/transaction.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | Withdrawal { client: u32, tx: u32, amount: f32 }, [INFO] [stdout] | ---------- ^^^^^^ ^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `tx` are never read [INFO] [stdout] --> src/transaction.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Dispute { client: u32, tx: u32 }, [INFO] [stdout] | ------- ^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `tx` are never read [INFO] [stdout] --> src/transaction.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | Resolve { client: u32, tx: u32 }, [INFO] [stdout] | ------- ^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `tx` are never read [INFO] [stdout] --> src/transaction.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | Chargeback { client: u32, tx: u32 } [INFO] [stdout] | ---------- ^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "d45a9089c5f25bef1be7317560347f0ecb2296c3193765d20cf0a0d607c0aa53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45a9089c5f25bef1be7317560347f0ecb2296c3193765d20cf0a0d607c0aa53", kill_on_drop: false }` [INFO] [stdout] d45a9089c5f25bef1be7317560347f0ecb2296c3193765d20cf0a0d607c0aa53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e92b6d5e321b49fe7c8b49ed90ee33ffc08dec5189c8d1accec46109c7b3fa80 [INFO] running `Command { std: "docker" "start" "-a" "e92b6d5e321b49fe7c8b49ed90ee33ffc08dec5189c8d1accec46109c7b3fa80", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::transaction::Transaction` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::transaction::Transaction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `client`, `tx`, and `amount` are never read [INFO] [stderr] --> src/transaction.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | Deposit { client: u32, tx: u32, amount: f32 }, [INFO] [stderr] | ------- ^^^^^^ ^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `client`, `tx`, and `amount` are never read [INFO] [stderr] --> src/transaction.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | Withdrawal { client: u32, tx: u32, amount: f32 }, [INFO] [stderr] | ---------- ^^^^^^ ^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `client` and `tx` are never read [INFO] [stderr] --> src/transaction.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | Dispute { client: u32, tx: u32 }, [INFO] [stderr] | ------- ^^^^^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `client` and `tx` are never read [INFO] [stderr] --> src/transaction.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | Resolve { client: u32, tx: u32 }, [INFO] [stderr] | ------- ^^^^^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `client` and `tx` are never read [INFO] [stderr] --> src/transaction.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | Chargeback { client: u32, tx: u32 } [INFO] [stderr] | ---------- ^^^^^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `toy_payments_engine` (bin "toy_payments_engine" test) generated 6 warnings (run `cargo fix --bin "toy_payments_engine" -p toy_payments_engine --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/toy_payments_engine-1f96a8e9f6af494c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e92b6d5e321b49fe7c8b49ed90ee33ffc08dec5189c8d1accec46109c7b3fa80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e92b6d5e321b49fe7c8b49ed90ee33ffc08dec5189c8d1accec46109c7b3fa80", kill_on_drop: false }` [INFO] [stdout] e92b6d5e321b49fe7c8b49ed90ee33ffc08dec5189c8d1accec46109c7b3fa80