[INFO] fetching crate holochain_persistence_file 0.0.18... [INFO] testing holochain_persistence_file-0.0.18 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate holochain_persistence_file 0.0.18 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate holochain_persistence_file 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_file 0.0.18 [INFO] finished tweaking crates.io crate holochain_persistence_file 0.0.18 [INFO] tweaked toml for crates.io crate holochain_persistence_file 0.0.18 written to /workspace/builds/worker-5/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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 092ee31795022f3c6e66136639dc68c95fda8279c648c708383c98b3ad31d8c7 [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" "092ee31795022f3c6e66136639dc68c95fda8279c648c708383c98b3ad31d8c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "092ee31795022f3c6e66136639dc68c95fda8279c648c708383c98b3ad31d8c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "092ee31795022f3c6e66136639dc68c95fda8279c648c708383c98b3ad31d8c7", kill_on_drop: false }` [INFO] [stdout] 092ee31795022f3c6e66136639dc68c95fda8279c648c708383c98b3ad31d8c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 2f70e5b5ae9378a36da03788f74ed4ec0091547271af1ecbf0222b500d984992 [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" "2f70e5b5ae9378a36da03788f74ed4ec0091547271af1ecbf0222b500d984992", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling reed-solomon v0.2.1 [INFO] [stderr] Compiling holochain_json_api v0.0.23 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling sha1 v0.5.0 [INFO] [stderr] Compiling objekt v0.1.2 [INFO] [stderr] Compiling holochain_persistence_api v0.0.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling hcid v0.0.6 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling multihash v0.8.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling serde_json v1.0.47 [INFO] [stderr] Compiling serde_test v1.0.104 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling rust-base58 v0.0.4 [INFO] [stderr] Compiling shrinkwraprs v0.2.1 [INFO] [stderr] Compiling holochain_json_derive v0.0.23 [INFO] [stderr] Compiling serde_derive v1.0.104 [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.18/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.18/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.18/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.18/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.18/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.18/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.18/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_persistence_api-0.0.18/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" "2f70e5b5ae9378a36da03788f74ed4ec0091547271af1ecbf0222b500d984992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f70e5b5ae9378a36da03788f74ed4ec0091547271af1ecbf0222b500d984992", kill_on_drop: false }` [INFO] [stdout] 2f70e5b5ae9378a36da03788f74ed4ec0091547271af1ecbf0222b500d984992