[INFO] fetching crate dochy_archiver 0.7.1... [INFO] testing dochy_archiver-0.7.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate dochy_archiver 0.7.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate dochy_archiver 0.7.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", 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] 0081779329b5f34a887be8b685967ab64aca954f97fc335d27e2b8cef0698e35 [INFO] running `Command { std: "docker" "start" "-a" "0081779329b5f34a887be8b685967ab64aca954f97fc335d27e2b8cef0698e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0081779329b5f34a887be8b685967ab64aca954f97fc335d27e2b8cef0698e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0081779329b5f34a887be8b685967ab64aca954f97fc335d27e2b8cef0698e35", kill_on_drop: false }` [INFO] [stdout] 0081779329b5f34a887be8b685967ab64aca954f97fc335d27e2b8cef0698e35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b75e45e7fe9836281130831e3bb42b39809cce1d82cf76b7c19257d5aecb680 [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" "6b75e45e7fe9836281130831e3bb42b39809cce1d82cf76b7c19257d5aecb680", kill_on_drop: false }` [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling with_capacity_safe v0.3.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling metrohash v1.0.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling dochy_compaction v0.7.1 [INFO] [stderr] Compiling dochy_archiver v0.7.1 (/opt/rustwide/workdir) [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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dochy_archiver` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6b75e45e7fe9836281130831e3bb42b39809cce1d82cf76b7c19257d5aecb680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b75e45e7fe9836281130831e3bb42b39809cce1d82cf76b7c19257d5aecb680", kill_on_drop: false }` [INFO] [stdout] 6b75e45e7fe9836281130831e3bb42b39809cce1d82cf76b7c19257d5aecb680