[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/0e145b54c2c10a109fa48e7e06220891b70f3046 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFi3%2Fshrd_sec_lib" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fi3/shrd_sec_lib on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stream-cipher v0.3.2 [INFO] [stderr] Downloaded ofb v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 429515cab387cf4dbd8d39d153b206d8cb057d4b1391e4356783da5f4ee5a143 [INFO] running `Command { std: "docker" "start" "-a" "429515cab387cf4dbd8d39d153b206d8cb057d4b1391e4356783da5f4ee5a143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "429515cab387cf4dbd8d39d153b206d8cb057d4b1391e4356783da5f4ee5a143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "429515cab387cf4dbd8d39d153b206d8cb057d4b1391e4356783da5f4ee5a143", kill_on_drop: false }` [INFO] [stdout] 429515cab387cf4dbd8d39d153b206d8cb057d4b1391e4356783da5f4ee5a143 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a7df4925010ff88544d5b186acb1121f8b99d59b3f0a51b8b548754c392a72d [INFO] running `Command { std: "docker" "start" "-a" "8a7df4925010ff88544d5b186acb1121f8b99d59b3f0a51b8b548754c392a72d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling typenum v1.11.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 serde v1.0.104 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling memsec v0.5.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling backtrace-sys v0.1.33 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking errno v0.2.4 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking rand04 v0.1.1 [INFO] [stderr] Checking pairing v0.14.2 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking ofb v0.1.1 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking aes v0.3.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: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: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[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [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] | --------------------------------------------------------------------------- this function returns a `Result` [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] = help: the trait `FromResidual>` is not implemented for `Result>, root::root::Error>` [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `Result` [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] | --------------------------------------------------------------------------- this function returns a `Result` [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] = help: the trait `FromResidual>` is not implemented for `Result>, root::root::Error>` [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0635. [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` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0635. [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` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "8a7df4925010ff88544d5b186acb1121f8b99d59b3f0a51b8b548754c392a72d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a7df4925010ff88544d5b186acb1121f8b99d59b3f0a51b8b548754c392a72d", kill_on_drop: false }` [INFO] [stdout] 8a7df4925010ff88544d5b186acb1121f8b99d59b3f0a51b8b548754c392a72d