[INFO] fetching crate holochain_persistence_api 0.0.18... [INFO] testing holochain_persistence_api-0.0.18 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate holochain_persistence_api 0.0.18 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate holochain_persistence_api 0.0.18 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 holochain_persistence_api 0.0.18 [INFO] finished tweaking crates.io crate holochain_persistence_api 0.0.18 [INFO] tweaked toml for crates.io crate holochain_persistence_api 0.0.18 written to /workspace/builds/worker-8/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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded maplit v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stdout] c1eabfacc84934f989c2aeccefef65785532dba6f6d98e5cf03f5a37ccd10fb1 [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" "c1eabfacc84934f989c2aeccefef65785532dba6f6d98e5cf03f5a37ccd10fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1eabfacc84934f989c2aeccefef65785532dba6f6d98e5cf03f5a37ccd10fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1eabfacc84934f989c2aeccefef65785532dba6f6d98e5cf03f5a37ccd10fb1", kill_on_drop: false }` [INFO] [stdout] c1eabfacc84934f989c2aeccefef65785532dba6f6d98e5cf03f5a37ccd10fb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b03d4dad9f9c97ca97fce657187ad764e5cdd9138a124bfeb9f37bce0139c2a8 [INFO] running `Command { std: "docker" "start" "-a" "b03d4dad9f9c97ca97fce657187ad764e5cdd9138a124bfeb9f37bce0139c2a8", kill_on_drop: false }` [INFO] [stderr] Compiling holochain_persistence_api v0.0.18 (/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/cas/storage.rs:284:51 [INFO] [stdout] | [INFO] [stdout] 282 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 283 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 284 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 285 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [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/cas/storage.rs:284:59 [INFO] [stdout] | [INFO] [stdout] 282 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 283 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 284 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 285 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [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/cas/storage.rs:285:50 [INFO] [stdout] | [INFO] [stdout] 282 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 283 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 284 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 285 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [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/cas/storage.rs:285:58 [INFO] [stdout] | [INFO] [stdout] 282 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 283 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 284 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 285 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [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/cas/storage.rs:289:59 [INFO] [stdout] | [INFO] [stdout] 282 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 283 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 284 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 285 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 289 | | let link_type = REMOVED_LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [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/cas/storage.rs:289:67 [INFO] [stdout] | [INFO] [stdout] 282 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 283 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 284 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 285 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 289 | | let link_type = REMOVED_LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [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/cas/storage.rs:290:58 [INFO] [stdout] | [INFO] [stdout] 282 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 283 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 284 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 285 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 290 | | let link_tag = REMOVED_LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [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/cas/storage.rs:290:66 [INFO] [stdout] | [INFO] [stdout] 282 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 283 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 284 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 285 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 290 | | let link_tag = REMOVED_LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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 `holochain_persistence_api` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b03d4dad9f9c97ca97fce657187ad764e5cdd9138a124bfeb9f37bce0139c2a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b03d4dad9f9c97ca97fce657187ad764e5cdd9138a124bfeb9f37bce0139c2a8", kill_on_drop: false }` [INFO] [stdout] b03d4dad9f9c97ca97fce657187ad764e5cdd9138a124bfeb9f37bce0139c2a8