[INFO] cloning repository https://github.com/blocktree/shopbring-ecka [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blocktree/shopbring-ecka" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblocktree%2Fshopbring-ecka", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblocktree%2Fshopbring-ecka'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f7f2d17110e8ce6b99abcb040fdb4f356d0cdc0 [INFO] checking blocktree/shopbring-ecka against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblocktree%2Fshopbring-ecka" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/blocktree/shopbring-ecka on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/blocktree/shopbring-ecka [INFO] finished tweaking git repo https://github.com/blocktree/shopbring-ecka [INFO] tweaked toml for git repo https://github.com/blocktree/shopbring-ecka written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/blocktree/shopbring-ecka 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking blocktree/shopbring-ecka against try#29596578cb5035fa2b7ac7fbdfea23fab38836e7 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblocktree%2Fshopbring-ecka" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/blocktree/shopbring-ecka on toolchain 29596578cb5035fa2b7ac7fbdfea23fab38836e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/blocktree/shopbring-ecka [INFO] finished tweaking git repo https://github.com/blocktree/shopbring-ecka [INFO] tweaked toml for git repo https://github.com/blocktree/shopbring-ecka written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/blocktree/shopbring-ecka 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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking blocktree/shopbring-ecka against try#29596578cb5035fa2b7ac7fbdfea23fab38836e7 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblocktree%2Fshopbring-ecka" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/blocktree/shopbring-ecka on toolchain 29596578cb5035fa2b7ac7fbdfea23fab38836e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/blocktree/shopbring-ecka [INFO] finished tweaking git repo https://github.com/blocktree/shopbring-ecka [INFO] tweaked toml for git repo https://github.com/blocktree/shopbring-ecka written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/blocktree/shopbring-ecka 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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sm3 v0.2.0 [INFO] [stderr] Downloaded libsm v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ec343780b65f99ecf66d577188f473892aa8535de60650ffd52507c0a127315 [INFO] running `Command { std: "docker" "start" "-a" "0ec343780b65f99ecf66d577188f473892aa8535de60650ffd52507c0a127315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ec343780b65f99ecf66d577188f473892aa8535de60650ffd52507c0a127315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec343780b65f99ecf66d577188f473892aa8535de60650ffd52507c0a127315", kill_on_drop: false }` [INFO] [stdout] 0ec343780b65f99ecf66d577188f473892aa8535de60650ffd52507c0a127315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fe25389f0e39d2c69071ec6f0ade185dfddc2af7da6c8eaaeca355a6d6e249f [INFO] running `Command { std: "docker" "start" "-a" "0fe25389f0e39d2c69071ec6f0ade185dfddc2af7da6c8eaaeca355a6d6e249f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking sm3 v0.2.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking yasna v0.1.3 [INFO] [stderr] Checking libsm v0.3.0 [INFO] [stderr] Checking shopbring-ecka v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `generate_public_key_from_private` is never used [INFO] [stdout] --> src/key_generation.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn generate_public_key_from_private(private_key: &[u8]) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `der_decode` is never used [INFO] [stdout] --> src/signature.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn der_decode(buf: &[u8]) -> Result, yasna::ASN1Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `der_encode` is never used [INFO] [stdout] --> src/signature.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn der_encode(sig: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign` is never used [INFO] [stdout] --> src/signature.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn sign(private_key: &[u8], id: &str, message: &[u8]) -> Result, String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify` is never used [INFO] [stdout] --> src/signature.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn verify(public_key: &[u8], id: &str, message: &[u8], signature: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u32_to_bytes` is never used [INFO] [stdout] --> src/encryption.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn u32_to_bytes(x: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kdf` is never used [INFO] [stdout] --> src/encryption.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn kdf(x: &[u8], y: &[u8], length: u32) -> Result, bool> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/encryption.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn encrypt(public_key: &[u8], plain: &[u8]) -> Result, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/encryption.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn decrypt(private_key: &[u8], cipher: &[u8]) -> Result, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `za` is never used [INFO] [stdout] --> src/key_agreement.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn za(public_key: &[u8], uid: &str, curve: &ecc::EccCtx) -> Vec { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ka_kdf` is never used [INFO] [stdout] --> src/key_agreement.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn ka_kdf(public_key: &[u8], z_initiator: &[u8], z_responder: &[u8], key_length_bit: u16) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ka_check` is never used [INFO] [stdout] --> src/key_agreement.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn ka_check(value: u8, z_initiator: &[u8], z_responder: &[u8], r_initiator: &[u8], r_responder: &[u8], uv: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tmp_private_key` and `tmp_public_key` are never read [INFO] [stdout] --> src/key_agreement.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct InitiatorStep1 { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 111 | tmp_private_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | tmp_public_key : Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitiatorStep1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_tmp_private_key`, and `get_tmp_public_key` are never used [INFO] [stdout] --> src/key_agreement.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl InitiatorStep1 { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 116 | pub fn new(private: Vec, public: Vec) -> InitiatorStep1 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn get_tmp_private_key(&self) -> &Vec { &self.tmp_private_key } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | #[inline] [INFO] [stdout] 125 | pub fn get_tmp_public_key(&self) -> &Vec { &self.tmp_public_key } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_agreement_initiator_step1` is never used [INFO] [stdout] --> src/key_agreement.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn key_agreement_initiator_step1() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `s` are never read [INFO] [stdout] --> src/key_agreement.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct InitiatorStep2 { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 155 | key: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 156 | s: Vec [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `InitiatorStep2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key` and `get_s` are never used [INFO] [stdout] --> src/key_agreement.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl InitiatorStep2 { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 160 | #[inline] [INFO] [stdout] 161 | pub fn get_key(&self) -> &Vec { &self.key } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 162 | #[inline] [INFO] [stdout] 163 | pub fn get_s(&self) -> &Vec { &self.s } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_agreement_initiator_step2` is never used [INFO] [stdout] --> src/key_agreement.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn key_agreement_initiator_step2 (id_initiator: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `tmp_public_key`, `s_inner`, and `s_outer` are never read [INFO] [stdout] --> src/key_agreement.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct ResponderStep1 { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 231 | key: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 232 | tmp_public_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 233 | s_inner: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 234 | s_outer: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponderStep1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key`, `get_tmp_public_key`, `get_s_inner`, and `get_s_outer` are never used [INFO] [stdout] --> src/key_agreement.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 237 | impl ResponderStep1 { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 238 | #[inline] [INFO] [stdout] 239 | pub fn get_key(&self) -> &Vec { &self.key } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 240 | #[inline] [INFO] [stdout] 241 | pub fn get_tmp_public_key(&self) -> &Vec { &self.tmp_public_key } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 242 | #[inline] [INFO] [stdout] 243 | pub fn get_s_inner(&self) -> &Vec { &self.s_inner } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 244 | #[inline] [INFO] [stdout] 245 | pub fn get_s_outer(&self) -> &Vec { &self.s_outer } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_agreement_responder_step1` is never used [INFO] [stdout] --> src/key_agreement.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn key_agreement_responder_step1(id_initiator: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_agreement_responder_step2` is never used [INFO] [stdout] --> src/key_agreement.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn key_agreement_responder_step2(s_initiator: &[u8], s_responder: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.55s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0fe25389f0e39d2c69071ec6f0ade185dfddc2af7da6c8eaaeca355a6d6e249f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fe25389f0e39d2c69071ec6f0ade185dfddc2af7da6c8eaaeca355a6d6e249f", kill_on_drop: false }` [INFO] [stdout] 0fe25389f0e39d2c69071ec6f0ade185dfddc2af7da6c8eaaeca355a6d6e249f