[INFO] fetching crate cyfs-raptorq 1.6.1... [INFO] testing cyfs-raptorq-1.6.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate cyfs-raptorq 1.6.1 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking crates.io crate cyfs-raptorq 1.6.1 [INFO] finished tweaking crates.io crate cyfs-raptorq 1.6.1 [INFO] tweaked toml for crates.io crate cyfs-raptorq 1.6.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cyfs-raptorq 1.6.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cyfs-raptorq 1.6.1 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paste v0.1.18 [INFO] [stderr] Downloaded paste-impl v0.1.18 [INFO] [stderr] Downloaded inventory-impl v0.1.11 [INFO] [stderr] Downloaded unindent v0.1.9 [INFO] [stderr] Downloaded indoc-impl v0.3.6 [INFO] [stderr] Downloaded primal-check v0.3.1 [INFO] [stderr] Downloaded indoc v0.3.6 [INFO] [stderr] Downloaded semver v1.0.9 [INFO] [stderr] Downloaded pyo3-derive-backend v0.12.4 [INFO] [stderr] Downloaded inventory v0.1.11 [INFO] [stderr] Downloaded pyo3cls v0.12.4 [INFO] [stderr] Downloaded hamming v0.1.3 [INFO] [stderr] Downloaded ctor v0.1.22 [INFO] [stderr] Downloaded ghost v0.1.4 [INFO] [stderr] Downloaded pyo3 v0.12.4 [INFO] [stderr] Downloaded primal-bit v0.3.0 [INFO] [stderr] Downloaded primal-estimate v0.3.1 [INFO] [stderr] Downloaded primal v0.3.0 [INFO] [stderr] Downloaded primal-sieve v0.3.2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b484bca44109bc7f63e7628d17bef3856b9201c5b4db80d129712d0f0030f425 [INFO] running `Command { std: "docker" "start" "-a" "b484bca44109bc7f63e7628d17bef3856b9201c5b4db80d129712d0f0030f425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b484bca44109bc7f63e7628d17bef3856b9201c5b4db80d129712d0f0030f425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b484bca44109bc7f63e7628d17bef3856b9201c5b4db80d129712d0f0030f425", kill_on_drop: false }` [INFO] [stdout] b484bca44109bc7f63e7628d17bef3856b9201c5b4db80d129712d0f0030f425 [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cd04b290f7b2fb0fb44ba7453eb499f2cdabe6b3b0bcd80d6d2e5514644317e [INFO] running `Command { std: "docker" "start" "-a" "0cd04b290f7b2fb0fb44ba7453eb499f2cdabe6b3b0bcd80d6d2e5514644317e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cyfs-raptorq v1.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `size_in_bytes` is never used [INFO] [stdout] --> src/arraymap.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ImmutableListMap { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn size_in_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_in_bytes` is never used [INFO] [stdout] --> src/matrix.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait BinaryMatrix: Clone { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | fn size_in_bytes(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_in_bytes` is never used [INFO] [stdout] --> src/sparse_vec.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SparseBinaryVec { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn size_in_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `K` is never read [INFO] [stdout] --> src/raptor_decoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RaptorDecoder { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | decoder: Decoder, [INFO] [stdout] 11 | K: u32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter; [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden 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] 22 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden 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] 159 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sparse_matrix.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden 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] 188 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.54s [INFO] running `Command { std: "docker" "inspect" "0cd04b290f7b2fb0fb44ba7453eb499f2cdabe6b3b0bcd80d6d2e5514644317e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd04b290f7b2fb0fb44ba7453eb499f2cdabe6b3b0bcd80d6d2e5514644317e", kill_on_drop: false }` [INFO] [stdout] 0cd04b290f7b2fb0fb44ba7453eb499f2cdabe6b3b0bcd80d6d2e5514644317e [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90756ddfefb479b0b0949afd30a8d7ffc93523917c3045a79dc122f398e107fd [INFO] running `Command { std: "docker" "start" "-a" "90756ddfefb479b0b0949afd30a8d7ffc93523917c3045a79dc122f398e107fd", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling primal-bit v0.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling primal-estimate v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling primal-sieve v0.3.2 [INFO] [stderr] Compiling primal-check v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling primal v0.3.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling cyfs-raptorq v1.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stdout] warning: method `size_in_bytes` is never used [INFO] [stdout] --> src/arraymap.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ImmutableListMap { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn size_in_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_in_bytes` is never used [INFO] [stdout] --> src/matrix.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait BinaryMatrix: Clone { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | fn size_in_bytes(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_in_bytes` is never used [INFO] [stdout] --> src/sparse_vec.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SparseBinaryVec { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn size_in_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `K` is never read [INFO] [stdout] --> src/raptor_decoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RaptorDecoder { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | decoder: Decoder, [INFO] [stdout] 11 | K: u32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter; [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden 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] 22 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden 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] 159 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sparse_matrix.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden 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] 188 | fn get_row_iter(&self, row: usize, start_col: usize, end_col: usize) -> OctetIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/main.rs:37:61 [INFO] [stdout] | [INFO] [stdout] 37 | result = decoder.decode(EncodingPacket::deserialize(&packets.pop().unwrap())); [INFO] [stdout] | --------------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<_>` [INFO] [stdout] found reference `&Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/base.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn deserialize(data: Vec) -> EncodingPacket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 37 - result = decoder.decode(EncodingPacket::deserialize(&packets.pop().unwrap())); [INFO] [stdout] 37 + result = decoder.decode(EncodingPacket::deserialize(packets.pop().unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/main.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 35 | let mut result = None; [INFO] [stdout] | ---- expected due to this value [INFO] [stdout] 36 | while !packets.is_empty() { [INFO] [stdout] 37 | result = decoder.decode(EncodingPacket::deserialize(&packets.pop().unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `DecodeStatus` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found enum `DecodeStatus` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 37 | result = Some(decoder.decode(EncodingPacket::deserialize(&packets.pop().unwrap()))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cyfs-raptorq` (example "main") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/base.rs:346:56 [INFO] [stdout] | [INFO] [stdout] 346 | let deserialized = EncodingPacket::deserialize(&packet.serialize()); [INFO] [stdout] | --------------------------- ^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<_>` [INFO] [stdout] found reference `&Vec<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/base.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn deserialize(data: Vec) -> EncodingPacket { [INFO] [stdout] | ^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 346 - let deserialized = EncodingPacket::deserialize(&packet.serialize()); [INFO] [stdout] 346 + let deserialized = EncodingPacket::deserialize(packet.serialize()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decoder.rs:470:22 [INFO] [stdout] | [INFO] [stdout] 468 | let mut result = None; [INFO] [stdout] | ---- expected due to this value [INFO] [stdout] 469 | while !packets.is_empty() { [INFO] [stdout] 470 | result = decoder.decode(packets.pop().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `DecodeStatus` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found enum `decoder::DecodeStatus` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 470 | result = Some(decoder.decode(packets.pop().unwrap())); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decoder.rs:498:22 [INFO] [stdout] | [INFO] [stdout] 495 | let mut result = None; [INFO] [stdout] | ---- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 498 | result = decoder.decode(packet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `DecodeStatus` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found enum `decoder::DecodeStatus` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 498 | result = Some(decoder.decode(packet)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decoder.rs:513:22 [INFO] [stdout] | [INFO] [stdout] 511 | let mut result = None; [INFO] [stdout] | ---- expected due to this value [INFO] [stdout] 512 | while !packets.is_empty() { [INFO] [stdout] 513 | result = decoder.decode(packets.pop().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `DecodeStatus` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found enum `decoder::DecodeStatus` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 513 | result = Some(decoder.decode(packets.pop().unwrap())); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decoder.rs:566:26 [INFO] [stdout] | [INFO] [stdout] 563 | let mut result = None; [INFO] [stdout] | ---- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 566 | result = decoder.decode(iter::once(packet)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `(DecodeStatus, Option>)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found tuple `(decoder::DecodeStatus, Option>)` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 566 | result = Some(decoder.decode(iter::once(packet))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decoder.rs:655:22 [INFO] [stdout] | [INFO] [stdout] 648 | let mut result = None; [INFO] [stdout] | ---- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 655 | result = decoder.decode(iter::once(packet)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<_>`, found `(DecodeStatus, Option>)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found tuple `(decoder::DecodeStatus, Option>)` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 655 | result = Some(decoder.decode(iter::once(packet))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cyfs-raptorq` (lib test) due to 6 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "90756ddfefb479b0b0949afd30a8d7ffc93523917c3045a79dc122f398e107fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90756ddfefb479b0b0949afd30a8d7ffc93523917c3045a79dc122f398e107fd", kill_on_drop: false }` [INFO] [stdout] 90756ddfefb479b0b0949afd30a8d7ffc93523917c3045a79dc122f398e107fd