[INFO] fetching crate lib3h_mdns 0.0.42... [INFO] testing lib3h_mdns-0.0.42 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate lib3h_mdns 0.0.42 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate lib3h_mdns 0.0.42 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 lib3h_mdns 0.0.42 [INFO] finished tweaking crates.io crate lib3h_mdns 0.0.42 [INFO] tweaked toml for crates.io crate lib3h_mdns 0.0.42 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate lib3h_mdns 0.0.42 already has a lockfile, it will not be regenerated [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 1065d0d62be911fbbb4dd9925420b7cb776319370f58e54e94c3a522d81c1302 [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" "1065d0d62be911fbbb4dd9925420b7cb776319370f58e54e94c3a522d81c1302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1065d0d62be911fbbb4dd9925420b7cb776319370f58e54e94c3a522d81c1302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1065d0d62be911fbbb4dd9925420b7cb776319370f58e54e94c3a522d81c1302", kill_on_drop: false }` [INFO] [stdout] 1065d0d62be911fbbb4dd9925420b7cb776319370f58e54e94c3a522d81c1302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 6cc7254d39d34493dc266701c1a486ee3607c5cf9a42f296438a873f1877d32f [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" "6cc7254d39d34493dc266701c1a486ee3607c5cf9a42f296438a873f1877d32f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling holochain_json_api v0.0.23 [INFO] [stderr] Compiling regex-syntax v0.6.16 [INFO] [stderr] Compiling holochain_persistence_api v0.0.18 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling zeroize v0.10.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling backtrace v0.3.27 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling shrinkwraprs v0.2.1 [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.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling rmp v0.8.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling nanoid v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.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 rand v0.7.3 [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 rust-base58 v0.0.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling shrinkwraprs v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.47 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling rmp-serde v0.13.7 [INFO] [stderr] Compiling holochain_json_derive v0.0.23 [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" "6cc7254d39d34493dc266701c1a486ee3607c5cf9a42f296438a873f1877d32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc7254d39d34493dc266701c1a486ee3607c5cf9a42f296438a873f1877d32f", kill_on_drop: false }` [INFO] [stdout] 6cc7254d39d34493dc266701c1a486ee3607c5cf9a42f296438a873f1877d32f