[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 try#121a90d34197f711021eeb158e7f4184b8be8ceb for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiluis%2Frust_test" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giluis/rust_test on toolchain 121a90d34197f711021eeb158e7f4184b8be8ceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "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-0-tc2/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" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking giluis/rust_test against try#121a90d34197f711021eeb158e7f4184b8be8ceb for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiluis%2Frust_test" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giluis/rust_test on toolchain 121a90d34197f711021eeb158e7f4184b8be8ceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "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-0-tc2/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" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "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] 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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72a4291514204579479930cc0fc06209e5cc0f873757706bfb4d39648ce22cb2 [INFO] running `Command { std: "docker" "start" "-a" "72a4291514204579479930cc0fc06209e5cc0f873757706bfb4d39648ce22cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72a4291514204579479930cc0fc06209e5cc0f873757706bfb4d39648ce22cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a4291514204579479930cc0fc06209e5cc0f873757706bfb4d39648ce22cb2", kill_on_drop: false }` [INFO] [stdout] 72a4291514204579479930cc0fc06209e5cc0f873757706bfb4d39648ce22cb2 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f979f0758fc7de005fb87820ec20c729f23a6ff4f0cc7adf29fa24a8ac0609f [INFO] running `Command { std: "docker" "start" "-a" "1f979f0758fc7de005fb87820ec20c729f23a6ff4f0cc7adf29fa24a8ac0609f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [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-sink v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pretty_assertions v1.4.0 [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 csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [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: methods `set_disputed`, `client`, and `is_deposit_or_withdrawal` are never used [INFO] [stdout] --> src/model.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl Transaction { [INFO] [stdout] | ---------------- methods in this implementation [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: associated functions `deposit`, `withdrawal`, `dispute`, `resolve`, and `chargeback` are never used [INFO] [stdout] --> src/main.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub trait TransactionExt { [INFO] [stdout] | -------------- associated functions in this trait [INFO] [stdout] 203 | fn deposit(client_id: ClientId, tx_id: TxId, value: f64) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | [INFO] [stdout] 205 | fn withdrawal(client_id: ClientId, tx_id: TxId, value: f64) -> Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 206 | [INFO] [stdout] 207 | fn dispute(client_id: ClientId, tx_id: TxId) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 208 | [INFO] [stdout] 209 | fn resolve(client_id: ClientId, tx_id: TxId) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 210 | [INFO] [stdout] 211 | fn chargeback(client_id: ClientId, tx_id: TxId) -> Self; [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 8.32s [INFO] running `Command { std: "docker" "inspect" "1f979f0758fc7de005fb87820ec20c729f23a6ff4f0cc7adf29fa24a8ac0609f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f979f0758fc7de005fb87820ec20c729f23a6ff4f0cc7adf29fa24a8ac0609f", kill_on_drop: false }` [INFO] [stdout] 1f979f0758fc7de005fb87820ec20c729f23a6ff4f0cc7adf29fa24a8ac0609f