[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] checking Fi3/shrd_sec_lib against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [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 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5973e69a5188c81d69008a288fb3dd345c0018c778f6deb39dc1ee5479030115 [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" "5973e69a5188c81d69008a288fb3dd345c0018c778f6deb39dc1ee5479030115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5973e69a5188c81d69008a288fb3dd345c0018c778f6deb39dc1ee5479030115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5973e69a5188c81d69008a288fb3dd345c0018c778f6deb39dc1ee5479030115", kill_on_drop: false }` [INFO] [stdout] 5973e69a5188c81d69008a288fb3dd345c0018c778f6deb39dc1ee5479030115 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 623cb1a9a82ab609350d58530fc0448612b4b6e835f9a4959cee08ab27d92575 [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" "623cb1a9a82ab609350d58530fc0448612b4b6e835f9a4959cee08ab27d92575", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling cc v1.0.50 [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 log v0.4.8 [INFO] [stderr] Compiling memsec v0.5.7 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking errno v0.2.4 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking ofb v0.1.1 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking rand04 v0.1.1 [INFO] [stderr] Checking pairing v0.14.2 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Compiling backtrace-sys v0.1.33 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand04_compat v0.1.1 [INFO] [stderr] Checking backtrace v0.3.45 [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] Checking failure v0.1.6 [INFO] [stderr] Checking thiserror v1.0.11 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking threshold_crypto v0.3.2 [INFO] [stderr] Checking shrd_sec_lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/root/root.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/root/root.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | fn from(_: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/root/root.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/root/root.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | fn from(_: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [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/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[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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shrd_sec_lib` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "623cb1a9a82ab609350d58530fc0448612b4b6e835f9a4959cee08ab27d92575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623cb1a9a82ab609350d58530fc0448612b4b6e835f9a4959cee08ab27d92575", kill_on_drop: false }` [INFO] [stdout] 623cb1a9a82ab609350d58530fc0448612b4b6e835f9a4959cee08ab27d92575