[INFO] cloning repository https://github.com/marcusnewton/happ-sandbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcusnewton/happ-sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusnewton%2Fhapp-sandbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusnewton%2Fhapp-sandbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24e49b93bfa4d60a756035bc3ccb1fe0e48ed3d1 [INFO] testing marcusnewton/happ-sandbox against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusnewton%2Fhapp-sandbox" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcusnewton/happ-sandbox 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 git repo https://github.com/marcusnewton/happ-sandbox [INFO] finished tweaking git repo https://github.com/marcusnewton/happ-sandbox [INFO] tweaked toml for git repo https://github.com/marcusnewton/happ-sandbox written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/marcusnewton/happ-sandbox already has a lockfile, it will not be regenerated [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] Downloading crates ... [INFO] [stderr] Downloaded hdk v0.0.42-alpha5 [INFO] [stderr] Downloaded snowflake v1.3.0 [INFO] [stderr] Downloaded multihash v0.8.0 [INFO] [stderr] Downloaded zeroize_derive v0.9.3 [INFO] [stderr] Downloaded backtrace v0.3.27 [INFO] [stderr] Downloaded holochain_locksmith v0.0.42-alpha5 [INFO] [stderr] Downloaded holochain_json_derive v0.0.1-alpha2 [INFO] [stderr] Downloaded mashup v0.1.9 [INFO] [stderr] Downloaded shrinkwraprs v0.2.1 [INFO] [stderr] Downloaded zeroize v0.9.2 [INFO] [stderr] Downloaded wasmi v0.4.4 [INFO] [stderr] Downloaded parity-wasm v0.31.3 [INFO] [stderr] Downloaded holochain_wasm_utils v0.0.42-alpha5 [INFO] [stderr] Downloaded mashup-impl v0.1.9 [INFO] [stderr] Downloaded holochain_core_types v0.0.42-alpha5 [INFO] [stderr] Downloaded lib3h_crypto_api v0.0.25 [INFO] [stderr] Downloaded sha1 v0.5.0 [INFO] [stderr] Downloaded tiny-keccak v1.5.0 [INFO] [stderr] Downloaded holochain_logging v0.0.4 [INFO] [stderr] Downloaded serde_derive v1.0.89 [INFO] [stderr] Downloaded holochain_json_derive v0.0.17 [INFO] [stderr] Downloaded rust-base58 v0.0.4 [INFO] [stderr] Downloaded regex v1.1.2 [INFO] [stderr] Downloaded hdk_proc_macros v0.0.42-alpha5 [INFO] [stderr] Downloaded hcid v0.0.6 [INFO] [stderr] Downloaded syn v0.15.31 [INFO] [stderr] Downloaded reed-solomon v0.2.1 [INFO] [stderr] Downloaded holochain_json_api v0.0.17 [INFO] [stderr] Downloaded holochain_persistence_api v0.0.11 [INFO] [stderr] Downloaded objekt v0.1.2 [INFO] [stderr] Downloaded serde v1.0.89 [INFO] [stderr] Downloaded toml v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 9c9aecf94b52dc816a203ac743934fa1d859e0cfdbed6d18f2e19869b6c9f1fc [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" "9c9aecf94b52dc816a203ac743934fa1d859e0cfdbed6d18f2e19869b6c9f1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c9aecf94b52dc816a203ac743934fa1d859e0cfdbed6d18f2e19869b6c9f1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9aecf94b52dc816a203ac743934fa1d859e0cfdbed6d18f2e19869b6c9f1fc", kill_on_drop: false }` [INFO] [stdout] 9c9aecf94b52dc816a203ac743934fa1d859e0cfdbed6d18f2e19869b6c9f1fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] fc5ad0f190fe7e2350fc2984df50ae2ae5bd3ea872dbba1d9a684b958c7c964d [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" "fc5ad0f190fe7e2350fc2984df50ae2ae5bd3ea872dbba1d9a684b958c7c964d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling reed-solomon v0.2.1 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling holochain_json_api v0.0.17 [INFO] [stderr] Compiling sha1 v0.5.0 [INFO] [stderr] Compiling objekt v0.1.2 [INFO] [stderr] Compiling holochain_persistence_api v0.0.11 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling snowflake v1.3.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling colored v1.7.0 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling hcid v0.0.6 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling parity-wasm v0.31.3 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling backtrace v0.3.27 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling proc-macro-hack v0.4.2 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mashup-impl v0.1.9 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling wasmi v0.4.4 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling mashup v0.1.9 [INFO] [stderr] Compiling multihash v0.8.0 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling holochain_core_types v0.0.42-alpha5 [INFO] [stderr] Compiling rust-base58 v0.0.4 [INFO] [stderr] Compiling shrinkwraprs v0.2.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling toml v0.5.0 [INFO] [stderr] Compiling holochain_locksmith v0.0.42-alpha5 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling zeroize_derive v0.9.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling holochain_json_derive v0.0.17 [INFO] [stderr] Compiling holochain_json_derive v0.0.1-alpha2 [INFO] [stderr] Compiling zeroize v0.9.2 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling holochain_logging v0.0.4 [INFO] [stderr] Compiling lib3h_crypto_api v0.0.25 [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.11/src/cas/storage.rs:282:51 [INFO] [stdout] | [INFO] [stdout] 280 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 281 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 282 | | 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] 283 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 295 | | } [INFO] [stdout] 296 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.11/src/cas/storage.rs:282:59 [INFO] [stdout] | [INFO] [stdout] 280 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 281 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 282 | | 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] 283 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 295 | | } [INFO] [stdout] 296 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.11/src/cas/storage.rs:283:50 [INFO] [stdout] | [INFO] [stdout] 280 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 281 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 282 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 283 | | 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] 295 | | } [INFO] [stdout] 296 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.11/src/cas/storage.rs:283:58 [INFO] [stdout] | [INFO] [stdout] 280 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 281 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 282 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 283 | | 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] 295 | | } [INFO] [stdout] 296 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.11/src/cas/storage.rs:287:59 [INFO] [stdout] | [INFO] [stdout] 280 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 281 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 282 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 283 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 287 | | 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] 295 | | } [INFO] [stdout] 296 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.11/src/cas/storage.rs:287:67 [INFO] [stdout] | [INFO] [stdout] 280 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 281 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 282 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 283 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 287 | | 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] 295 | | } [INFO] [stdout] 296 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.11/src/cas/storage.rs:288:58 [INFO] [stdout] | [INFO] [stdout] 280 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 281 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 282 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 283 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 288 | | 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] 295 | | } [INFO] [stdout] 296 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.11/src/cas/storage.rs:288:66 [INFO] [stdout] | [INFO] [stdout] 280 | / fn try_from(s: &str) -> Result { [INFO] [stdout] 281 | | if LINK_REGEX.is_match(s) { [INFO] [stdout] 282 | | let link_type = LINK_REGEX.captures(s)?.get(1)?.as_str().to_string(); [INFO] [stdout] 283 | | let link_tag = LINK_REGEX.captures(s)?.get(2)?.as_str().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 288 | | 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] 295 | | } [INFO] [stdout] 296 | | } [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fc5ad0f190fe7e2350fc2984df50ae2ae5bd3ea872dbba1d9a684b958c7c964d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc5ad0f190fe7e2350fc2984df50ae2ae5bd3ea872dbba1d9a684b958c7c964d", kill_on_drop: false }` [INFO] [stdout] fc5ad0f190fe7e2350fc2984df50ae2ae5bd3ea872dbba1d9a684b958c7c964d