[INFO] fetching crate holochain_persistence_api 0.0.18... [INFO] testing holochain_persistence_api-0.0.18 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate holochain_persistence_api 0.0.18 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate holochain_persistence_api 0.0.18 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 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-1/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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8358934202faf66cdabb7901d40fa88708b6b7563f906eff42a2391820149716 [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" "8358934202faf66cdabb7901d40fa88708b6b7563f906eff42a2391820149716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8358934202faf66cdabb7901d40fa88708b6b7563f906eff42a2391820149716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8358934202faf66cdabb7901d40fa88708b6b7563f906eff42a2391820149716", kill_on_drop: false }` [INFO] [stdout] 8358934202faf66cdabb7901d40fa88708b6b7563f906eff42a2391820149716 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fcdf09b771a52d1df42e3b891d6d15e32f659dd9b5e127615ef0c439b16dd24 [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" "2fcdf09b771a52d1df42e3b891d6d15e32f659dd9b5e127615ef0c439b16dd24", 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" "2fcdf09b771a52d1df42e3b891d6d15e32f659dd9b5e127615ef0c439b16dd24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fcdf09b771a52d1df42e3b891d6d15e32f659dd9b5e127615ef0c439b16dd24", kill_on_drop: false }` [INFO] [stdout] 2fcdf09b771a52d1df42e3b891d6d15e32f659dd9b5e127615ef0c439b16dd24