[INFO] cloning repository https://github.com/nislim/transaction-processor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nislim/transaction-processor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnislim%2Ftransaction-processor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnislim%2Ftransaction-processor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3fc71696360aa6faa27378e144ea5d4e6728688 [INFO] testing nislim/transaction-processor against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnislim%2Ftransaction-processor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nislim/transaction-processor [INFO] finished tweaking git repo https://github.com/nislim/transaction-processor [INFO] tweaked toml for git repo https://github.com/nislim/transaction-processor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nislim/transaction-processor on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nislim/transaction-processor 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad145756b1f105346a9fe976a7be2c3267515988c4ad3c83cdf452fd0ea36442 [INFO] running `Command { std: "docker" "start" "-a" "ad145756b1f105346a9fe976a7be2c3267515988c4ad3c83cdf452fd0ea36442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad145756b1f105346a9fe976a7be2c3267515988c4ad3c83cdf452fd0ea36442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad145756b1f105346a9fe976a7be2c3267515988c4ad3c83cdf452fd0ea36442", kill_on_drop: false }` [INFO] [stdout] ad145756b1f105346a9fe976a7be2c3267515988c4ad3c83cdf452fd0ea36442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72b9f1a86771bcf57fd264b8ed2c2efcd079159b7a35c73769b22e1e6af27aff [INFO] running `Command { std: "docker" "start" "-a" "72b9f1a86771bcf57fd264b8ed2c2efcd079159b7a35c73769b22e1e6af27aff", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling transaction-processor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `is_active` and `transactions` are never used [INFO] [stdout] --> src/account.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Account { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn transactions(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn transactions(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn transactions(&self) -> Iter<'_, TxID, Transaction> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account_manager.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self) -> Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self) -> Iter<'_, ClientID, Account>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "72b9f1a86771bcf57fd264b8ed2c2efcd079159b7a35c73769b22e1e6af27aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b9f1a86771bcf57fd264b8ed2c2efcd079159b7a35c73769b22e1e6af27aff", kill_on_drop: false }` [INFO] [stdout] 72b9f1a86771bcf57fd264b8ed2c2efcd079159b7a35c73769b22e1e6af27aff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3243e02b3fce5ed6124709568e116c66bd698036b279c4b1f8b93e68a99acad4 [INFO] running `Command { std: "docker" "start" "-a" "3243e02b3fce5ed6124709568e116c66bd698036b279c4b1f8b93e68a99acad4", kill_on_drop: false }` [INFO] [stderr] Compiling transaction-processor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `transactions` is never used [INFO] [stdout] --> src/account.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Account { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn transactions(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn transactions(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn transactions(&self) -> Iter<'_, TxID, Transaction> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account_manager.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self) -> Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self) -> Iter<'_, ClientID, Account>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3243e02b3fce5ed6124709568e116c66bd698036b279c4b1f8b93e68a99acad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3243e02b3fce5ed6124709568e116c66bd698036b279c4b1f8b93e68a99acad4", kill_on_drop: false }` [INFO] [stdout] 3243e02b3fce5ed6124709568e116c66bd698036b279c4b1f8b93e68a99acad4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4701d2d8cf01536626b9586fd3e8846e72884fc68af612a9d83156f6dd43879c [INFO] running `Command { std: "docker" "start" "-a" "4701d2d8cf01536626b9586fd3e8846e72884fc68af612a9d83156f6dd43879c", kill_on_drop: false }` [INFO] [stderr] warning: method `transactions` is never used [INFO] [stderr] --> src/account.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Account { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn transactions(&self) -> Iter { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/account.rs:125:25 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn transactions(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 125 | pub fn transactions(&self) -> Iter<'_, TxID, Transaction> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/account_manager.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn iter(&self) -> Iter{ [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 35 | pub fn iter(&self) -> Iter<'_, ClientID, Account>{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `transaction-processor` (bin "transaction-processor" test) generated 3 warnings (run `cargo fix --bin "transaction-processor" -p transaction-processor --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/transaction_processor-9655ad8c1aa58d77) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test account::test::dispute ... ok [INFO] [stdout] test account::test::overdraw ... ok [INFO] [stdout] test account::test::small_scenario ... ok [INFO] [stdout] test fp_isize::test::format ... ok [INFO] [stdout] test fp_isize::test::parse ... ok [INFO] [stdout] test account::test::withdrawal ... ok [INFO] [stdout] test fp_isize::test::neg ... ok [INFO] [stdout] test processor::test::chargeback ... ok [INFO] [stdout] test processor::test::dispute ... ok [INFO] [stdout] test account::test::resolve ... ok [INFO] [stdout] test processor::test::deposit ... ok [INFO] [stdout] test processor::test::resolve ... ok [INFO] [stdout] test processor::test::withdrawal ... ok [INFO] [stdout] test account::test::deposit ... ok [INFO] [stdout] test account::test::chargeback ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4701d2d8cf01536626b9586fd3e8846e72884fc68af612a9d83156f6dd43879c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4701d2d8cf01536626b9586fd3e8846e72884fc68af612a9d83156f6dd43879c", kill_on_drop: false }` [INFO] [stdout] 4701d2d8cf01536626b9586fd3e8846e72884fc68af612a9d83156f6dd43879c