[INFO] cloning repository https://github.com/giluis/rust_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/giluis/rust_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiluis%2Frust_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiluis%2Frust_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb60d5601f2eb18791fbec2e7205dc966e18b73c [INFO] checking giluis/rust_test against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiluis%2Frust_test" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giluis/rust_test on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/giluis/rust_test [INFO] finished tweaking git repo https://github.com/giluis/rust_test [INFO] tweaked toml for git repo https://github.com/giluis/rust_test written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/giluis/rust_test 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36e0494762fbedd69f9eecb0a54ed98f03fa00e02889205550cd41dba8cb0164 [INFO] running `Command { std: "docker" "start" "-a" "36e0494762fbedd69f9eecb0a54ed98f03fa00e02889205550cd41dba8cb0164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36e0494762fbedd69f9eecb0a54ed98f03fa00e02889205550cd41dba8cb0164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e0494762fbedd69f9eecb0a54ed98f03fa00e02889205550cd41dba8cb0164", kill_on_drop: false }` [INFO] [stdout] 36e0494762fbedd69f9eecb0a54ed98f03fa00e02889205550cd41dba8cb0164 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ca78346d689273acc1c5ec6f2ac23243a58285086734be68e807e0215de99e2 [INFO] running `Command { std: "docker" "start" "-a" "0ca78346d689273acc1c5ec6f2ac23243a58285086734be68e807e0215de99e2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rust_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `round_equals` is never used [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn round_equals(first: f64, second: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_disputed`, `client`, and `is_deposit_or_withdrawal` are never used [INFO] [stdout] --> src/model.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl Transaction { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 130 | pub fn new(client_id: ClientId, tx_id: TxId, tx_type: TxType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn set_disputed(&mut self, disputed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn client(&self) -> ClientId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn is_deposit_or_withdrawal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_available` and `are_same_without_transactions` are never used [INFO] [stdout] --> src/model.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Account { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn with_available(available: f64, txs: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn are_same_without_transactions(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestCase` is never constructed [INFO] [stdout] --> src/main.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct TestCase { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tx_of_client` is never used [INFO] [stdout] --> src/main.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | fn tx_of_client(txs: &[Transaction], client_id: ClientId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TransactionExt` is never used [INFO] [stdout] --> src/main.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | pub trait TransactionExt { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disputes_are_non_idempotent_after_resolve` is never used [INFO] [stdout] --> src/main.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn disputes_are_non_idempotent_after_resolve() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chargeback_withdraws_and_locks_account` is never used [INFO] [stdout] --> src/main.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn chargeback_withdraws_and_locks_account() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disputes_are_idempotent_before_resolve` is never used [INFO] [stdout] --> src/main.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn disputes_are_idempotent_before_resolve() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unexistent_resolve_reference` is never used [INFO] [stdout] --> src/main.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn unexistent_resolve_reference() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unexistent_dispute_reference` is never used [INFO] [stdout] --> src/main.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn unexistent_dispute_reference() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_only_decs_respective_held` is never used [INFO] [stdout] --> src/main.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn resolve_only_decs_respective_held() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_decs_held_incs_available` is never used [INFO] [stdout] --> src/main.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn resolve_decs_held_incs_available() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispute_only_affects_selected_client` is never used [INFO] [stdout] --> src/main.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn dispute_only_affects_selected_client() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `withdrawal_doesnt_decrement_held` is never used [INFO] [stdout] --> src/main.rs:474:12 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn withdrawal_doesnt_decrement_held() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deposit_doesnt_increment_held` is never used [INFO] [stdout] --> src/main.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 506 | pub fn deposit_doesnt_increment_held() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispute_holds_funds` is never used [INFO] [stdout] --> src/main.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn dispute_holds_funds() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_withdrawal_of_held_funds` is never used [INFO] [stdout] --> src/main.rs:562:12 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn no_withdrawal_of_held_funds() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `withdrawal_fails_when_account_is_empty` is never used [INFO] [stdout] --> src/main.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | pub fn withdrawal_fails_when_account_is_empty() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `withdrawal_succeeds_when_same_as_available` is never used [INFO] [stdout] --> src/main.rs:607:12 [INFO] [stdout] | [INFO] [stdout] 607 | pub fn withdrawal_succeeds_when_same_as_available() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `withdrawal_succeeds_when_less_than_available` is never used [INFO] [stdout] --> src/main.rs:624:12 [INFO] [stdout] | [INFO] [stdout] 624 | pub fn withdrawal_succeeds_when_less_than_available() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `withdrawal_fails_when_more` is never used [INFO] [stdout] --> src/main.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn withdrawal_fails_when_more() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deposits_accumulate` is never used [INFO] [stdout] --> src/main.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 660 | pub fn deposits_accumulate() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.72s [INFO] running `Command { std: "docker" "inspect" "0ca78346d689273acc1c5ec6f2ac23243a58285086734be68e807e0215de99e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca78346d689273acc1c5ec6f2ac23243a58285086734be68e807e0215de99e2", kill_on_drop: false }` [INFO] [stdout] 0ca78346d689273acc1c5ec6f2ac23243a58285086734be68e807e0215de99e2