[INFO] fetching crate dochy_archiver 0.7.1... [INFO] testing dochy_archiver-0.7.1 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate dochy_archiver 0.7.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate dochy_archiver 0.7.1 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] 50c39e9a256d25c02a16e8c250d809b42202ef6abb39fe52250d0b327f7d641a [INFO] running `Command { std: "docker" "start" "-a" "50c39e9a256d25c02a16e8c250d809b42202ef6abb39fe52250d0b327f7d641a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50c39e9a256d25c02a16e8c250d809b42202ef6abb39fe52250d0b327f7d641a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50c39e9a256d25c02a16e8c250d809b42202ef6abb39fe52250d0b327f7d641a", kill_on_drop: false }` [INFO] [stdout] 50c39e9a256d25c02a16e8c250d809b42202ef6abb39fe52250d0b327f7d641a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28c3c5f512e6d1e9a1860925b8f214517e8805cb42c47321589e26c31993804d [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" "28c3c5f512e6d1e9a1860925b8f214517e8805cb42c47321589e26c31993804d", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling with_capacity_safe v0.3.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling metrohash v1.0.6 [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" "28c3c5f512e6d1e9a1860925b8f214517e8805cb42c47321589e26c31993804d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28c3c5f512e6d1e9a1860925b8f214517e8805cb42c47321589e26c31993804d", kill_on_drop: false }` [INFO] [stdout] 28c3c5f512e6d1e9a1860925b8f214517e8805cb42c47321589e26c31993804d