[INFO] fetching crate dochy_archiver 0.7.1... [INFO] checking dochy_archiver-0.7.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate dochy_archiver 0.7.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate dochy_archiver 0.7.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3049d37ee95550490c7ec60e7a3e928e98fa795d02e339c198b3681086ecc7fc [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" "3049d37ee95550490c7ec60e7a3e928e98fa795d02e339c198b3681086ecc7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3049d37ee95550490c7ec60e7a3e928e98fa795d02e339c198b3681086ecc7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3049d37ee95550490c7ec60e7a3e928e98fa795d02e339c198b3681086ecc7fc", kill_on_drop: false }` [INFO] [stdout] 3049d37ee95550490c7ec60e7a3e928e98fa795d02e339c198b3681086ecc7fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88a5eda3c6cee3af29dc8b07a0684c82e5773f50d81824c6b4f2fa26b7980a76 [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" "88a5eda3c6cee3af29dc8b07a0684c82e5773f50d81824c6b4f2fa26b7980a76", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking with_capacity_safe v0.3.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking metrohash v1.0.6 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [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: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: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: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 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] [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: 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: could not compile `dochy_archiver` due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "88a5eda3c6cee3af29dc8b07a0684c82e5773f50d81824c6b4f2fa26b7980a76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a5eda3c6cee3af29dc8b07a0684c82e5773f50d81824c6b4f2fa26b7980a76", kill_on_drop: false }` [INFO] [stdout] 88a5eda3c6cee3af29dc8b07a0684c82e5773f50d81824c6b4f2fa26b7980a76