[INFO] fetching crate dochy_archiver 0.7.1... [INFO] checking dochy_archiver-0.7.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate dochy_archiver 0.7.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate dochy_archiver 0.7.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dochy_archiver 0.7.1 [INFO] finished tweaking crates.io crate dochy_archiver 0.7.1 [INFO] tweaked toml for crates.io crate dochy_archiver 0.7.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68231cdb933963f67116300e69944641400f5f15586f2b60145cd434d1053d2b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "68231cdb933963f67116300e69944641400f5f15586f2b60145cd434d1053d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68231cdb933963f67116300e69944641400f5f15586f2b60145cd434d1053d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68231cdb933963f67116300e69944641400f5f15586f2b60145cd434d1053d2b", kill_on_drop: false }` [INFO] [stdout] 68231cdb933963f67116300e69944641400f5f15586f2b60145cd434d1053d2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a52de893faae2277cb50cde906636f868e5bb5b2b057e6b4ad076ecf0ae440f [INFO] running `Command { std: "docker" "start" "-a" "7a52de893faae2277cb50cde906636f868e5bb5b2b057e6b4ad076ecf0ae440f", kill_on_drop: false }` [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Checking with_capacity_safe v0.3.0 [INFO] [stderr] Checking metrohash v1.0.6 [INFO] [stderr] Checking dochy_compaction v0.7.1 [INFO] [stderr] Checking dochy_archiver v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/testing/error_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 48 | | let relative_path = i.next()?.as_string()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 48 | | let relative_path = i.next()?.as_string()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 49 | | let millis = i.next()?.as_i64()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 49 | | let millis = i.next()?.as_i64()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 51 | | let modified = SystemTime::UNIX_EPOCH.checked_add(duration)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 52 | | let bytes_len = i.next()?.as_i64()? as u64; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 52 | | let bytes_len = i.next()?.as_i64()? as u64; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 48 | | let relative_path = i.next()?.as_string()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 48 | | let relative_path = i.next()?.as_string()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 49 | | let millis = i.next()?.as_i64()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 49 | | let millis = i.next()?.as_i64()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 51 | | let modified = SystemTime::UNIX_EPOCH.checked_add(duration)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 52 | | let bytes_len = i.next()?.as_i64()? as u64; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/imp/structs/metadata.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 42 | / pub(crate) fn from_bytes(bytes : &mut impl Read) -> ArcResult<(Metadata, usize)>{ [INFO] [stdout] 43 | | let (vec, bytes_read) = decode(bytes)?; [INFO] [stdout] 44 | | let mut i = vec.iter(); [INFO] [stdout] 45 | | let len = i.next()?.as_i64()? as usize; [INFO] [stdout] ... | [INFO] [stdout] 52 | | let bytes_len = i.next()?.as_i64()? as u64; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok((Metadata::new(r), bytes_read)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(metadata::Metadata, usize), NouArcError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/testing/error_test.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 79 | / fn hoge() -> Result<(), TestError>{ [INFO] [stdout] 80 | | opt()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), TestError>` [INFO] [stdout] 81 | | Ok(()) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), TestError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/testing/error_test.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 107 | / fn test_inner2() -> Result<(), TestError>{ [INFO] [stdout] 108 | | opt()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), TestError>` [INFO] [stdout] 109 | | Ok(()) [INFO] [stdout] 110 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), TestError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dochy_archiver` due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7a52de893faae2277cb50cde906636f868e5bb5b2b057e6b4ad076ecf0ae440f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a52de893faae2277cb50cde906636f868e5bb5b2b057e6b4ad076ecf0ae440f", kill_on_drop: false }` [INFO] [stdout] 7a52de893faae2277cb50cde906636f868e5bb5b2b057e6b4ad076ecf0ae440f