[INFO] cloning repository https://github.com/Fi3/shrd_sec_lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fi3/shrd_sec_lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFi3%2Fshrd_sec_lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFi3%2Fshrd_sec_lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e145b54c2c10a109fa48e7e06220891b70f3046 [INFO] testing Fi3/shrd_sec_lib against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFi3%2Fshrd_sec_lib" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fi3/shrd_sec_lib 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/Fi3/shrd_sec_lib [INFO] finished tweaking git repo https://github.com/Fi3/shrd_sec_lib [INFO] tweaked toml for git repo https://github.com/Fi3/shrd_sec_lib written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Fi3/shrd_sec_lib 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] Downloading crates ... [INFO] [stderr] Downloaded backtrace-sys v0.1.33 [INFO] [stderr] Downloaded ofb v0.1.1 [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", 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] 9b9c4aa58c747f982ad2c57f4a0896103a794c9e29f8c8ff9e2e0bf27a2691a5 [INFO] running `Command { std: "docker" "start" "-a" "9b9c4aa58c747f982ad2c57f4a0896103a794c9e29f8c8ff9e2e0bf27a2691a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b9c4aa58c747f982ad2c57f4a0896103a794c9e29f8c8ff9e2e0bf27a2691a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b9c4aa58c747f982ad2c57f4a0896103a794c9e29f8c8ff9e2e0bf27a2691a5", kill_on_drop: false }` [INFO] [stdout] 9b9c4aa58c747f982ad2c57f4a0896103a794c9e29f8c8ff9e2e0bf27a2691a5 [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" "+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] b1c9f7da0edce8fcddc865c3f96a279ae75b5dc8c3032e89c9af7e6d7b17b831 [INFO] running `Command { std: "docker" "start" "-a" "b1c9f7da0edce8fcddc865c3f96a279ae75b5dc8c3032e89c9af7e6d7b17b831", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling memsec v0.5.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling secrecy v0.6.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.33 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling errno v0.2.4 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling stream-cipher v0.3.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling ofb v0.1.1 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Compiling rand04 v0.1.1 [INFO] [stderr] Compiling pairing v0.14.2 [INFO] [stderr] Compiling rand04_compat v0.1.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.11 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling threshold_crypto v0.3.2 [INFO] [stderr] Compiling shrd_sec_lib v0.1.0 (/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/root/root.rs:151:72 [INFO] [stdout] | [INFO] [stdout] 143 | / fn get_seed(&self, members: &Vec) -> Result>, Error> { [INFO] [stdout] 144 | | let members = self.decrypt_secrets(members)?; [INFO] [stdout] 145 | | let ciphertext: Ciphertext = bincode::deserialize(&self.encrypted_seed[..]).unwrap(); [INFO] [stdout] 146 | | let mut shares = BTreeMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 151 | | let dec_share = secret_key_share.decrypt_share(&ciphertext)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result>, root::root::Error>` [INFO] [stdout] ... | [INFO] [stdout] 161 | | Ok(Secret::new(seed)) [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result>, root::root::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shrd_sec_lib` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b1c9f7da0edce8fcddc865c3f96a279ae75b5dc8c3032e89c9af7e6d7b17b831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1c9f7da0edce8fcddc865c3f96a279ae75b5dc8c3032e89c9af7e6d7b17b831", kill_on_drop: false }` [INFO] [stdout] b1c9f7da0edce8fcddc865c3f96a279ae75b5dc8c3032e89c9af7e6d7b17b831