[INFO] fetching crate degiro-tax-report 0.1.0... [INFO] testing degiro-tax-report-0.1.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate degiro-tax-report 0.1.0 into /workspace/builds/worker-69/source [INFO] validating manifest of crates.io crate degiro-tax-report 0.1.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate degiro-tax-report 0.1.0 [INFO] finished tweaking crates.io crate degiro-tax-report 0.1.0 [INFO] tweaked toml for crates.io crate degiro-tax-report 0.1.0 written to /workspace/builds/worker-69/source/Cargo.toml [INFO] crate crates.io crate degiro-tax-report 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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 v1.0.134 [INFO] [stderr] Downloaded dateparser v0.1.6 [INFO] [stderr] Downloaded rev_lines v0.2.1 [INFO] [stderr] Downloaded serde_derive v1.0.134 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cae37a21caa6b6c8ec525d05e8da799aaca6929af52089aae0782f0ffd118f8 [INFO] running `Command { std: "docker" "start" "-a" "8cae37a21caa6b6c8ec525d05e8da799aaca6929af52089aae0782f0ffd118f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cae37a21caa6b6c8ec525d05e8da799aaca6929af52089aae0782f0ffd118f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cae37a21caa6b6c8ec525d05e8da799aaca6929af52089aae0782f0ffd118f8", kill_on_drop: false }` [INFO] [stdout] 8cae37a21caa6b6c8ec525d05e8da799aaca6929af52089aae0782f0ffd118f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cb7877015c70adc8be56f3e633f69db6d88ed6cb89ffef1b45d529088c5232a [INFO] running `Command { std: "docker" "start" "-a" "7cb7877015c70adc8be56f3e633f69db6d88ed6cb89ffef1b45d529088c5232a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling serde_derive v1.0.134 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.134 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ord_subset v3.1.1 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rev_lines v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling decimal v2.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling clap v3.0.14 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling dateparser v0.1.6 [INFO] [stderr] Compiling degiro-tax-report v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.11s [INFO] running `Command { std: "docker" "inspect" "7cb7877015c70adc8be56f3e633f69db6d88ed6cb89ffef1b45d529088c5232a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb7877015c70adc8be56f3e633f69db6d88ed6cb89ffef1b45d529088c5232a", kill_on_drop: false }` [INFO] [stdout] 7cb7877015c70adc8be56f3e633f69db6d88ed6cb89ffef1b45d529088c5232a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f956fe4c85d2530422976dd4623a2245f72d94eb26523e32aa38738b9f6d8d1 [INFO] running `Command { std: "docker" "start" "-a" "4f956fe4c85d2530422976dd4623a2245f72d94eb26523e32aa38738b9f6d8d1", kill_on_drop: false }` [INFO] [stderr] Compiling degiro-tax-report v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/degiro.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let tr_stream = CsvStream::new(iter); [INFO] [stdout] | ^^^^ expected struct `std::fs::File`, found struct `DeserializeRecordsIter` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::fs::File` [INFO] [stdout] found struct `DeserializeRecordsIter<'_, std::fs::File, Transaction, >` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: futures_core::stream::Stream` is not satisfied [INFO] [stdout] --> tests/degiro.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | let portfolio = Portfolio::with_carry_losses(tr_stream, 5); [INFO] [stdout] | ---------------------------- ^^^^^^^^^ the trait `futures_core::stream::Stream` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Portfolio::::with_carry_losses` [INFO] [stdout] --> /opt/rustwide/workdir/src/portfolio.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | impl>> Portfolio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Portfolio::::with_carry_losses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: futures_core::stream::Stream` is not satisfied [INFO] [stdout] --> tests/degiro.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let portfolio = Portfolio::with_carry_losses(tr_stream, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures_core::stream::Stream` is not implemented for `Result` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Portfolio` [INFO] [stdout] --> /opt/rustwide/workdir/src/portfolio.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Portfolio>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Portfolio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `report` exists for struct `Portfolio>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/degiro.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | let report = portfolio.report(2021).await.unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Portfolio>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as futures_core::stream::Stream>::Item = Result` [INFO] [stdout] `Result: futures_core::stream::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `degiro-tax-report` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4f956fe4c85d2530422976dd4623a2245f72d94eb26523e32aa38738b9f6d8d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f956fe4c85d2530422976dd4623a2245f72d94eb26523e32aa38738b9f6d8d1", kill_on_drop: false }` [INFO] [stdout] 4f956fe4c85d2530422976dd4623a2245f72d94eb26523e32aa38738b9f6d8d1