[INFO] cloning repository https://github.com/ntswamp/proof-of-kill [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ntswamp/proof-of-kill" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fntswamp%2Fproof-of-kill", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fntswamp%2Fproof-of-kill'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f4d958daebb08591161b9be001ef8ff81968bd5 [INFO] checking ntswamp/proof-of-kill against master#8007b506ac5da629f223b755f5a5391edd5f6d01 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fntswamp%2Fproof-of-kill" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ntswamp/proof-of-kill on toolchain 8007b506ac5da629f223b755f5a5391edd5f6d01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ntswamp/proof-of-kill [INFO] finished tweaking git repo https://github.com/ntswamp/proof-of-kill [INFO] tweaked toml for git repo https://github.com/ntswamp/proof-of-kill written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate git repo https://github.com/ntswamp/proof-of-kill already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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 sled v0.34.6 [INFO] [stderr] Downloaded untrusted v0.7.1 [INFO] [stderr] Downloaded bincode v1.3.3 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded lock_api v0.4.4 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded synstructure v0.12.5 [INFO] [stderr] Downloaded data-encoding v2.3.2 [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded bitcoin_hashes v0.7.6 [INFO] [stderr] Downloaded bitcoincash-addr v0.5.2 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] [stderr] Downloaded object v0.26.0 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded ring v0.16.20 [INFO] [stderr] Downloaded instant v0.1.10 [INFO] [stderr] Downloaded merkle-cbt v0.3.0 [INFO] [stderr] Downloaded backtrace v0.3.61 [INFO] [stderr] Downloaded rand_pcg v0.3.1 [INFO] [stderr] Downloaded rand_seeder v0.2.2 [INFO] [stderr] Downloaded crossbeam-utils v0.8.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6541715cbfbec9679ff1476a4c299810f59b6b94ea569db29a34bab4d5f3bdb8 [INFO] running `Command { std: "docker" "start" "-a" "6541715cbfbec9679ff1476a4c299810f59b6b94ea569db29a34bab4d5f3bdb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6541715cbfbec9679ff1476a4c299810f59b6b94ea569db29a34bab4d5f3bdb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6541715cbfbec9679ff1476a4c299810f59b6b94ea569db29a34bab4d5f3bdb8", kill_on_drop: false }` [INFO] [stdout] 6541715cbfbec9679ff1476a4c299810f59b6b94ea569db29a34bab4d5f3bdb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 040031b4d1724a47dbf951762a9b3e2a77136ccfcba55fb7b419ed52083a6512 [INFO] running `Command { std: "docker" "start" "-a" "040031b4d1724a47dbf951762a9b3e2a77136ccfcba55fb7b419ed52083a6512", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking merkle-cbt v0.3.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking object v0.26.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking rand_seeder v0.2.2 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking bitcoincash-addr v0.5.2 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking proof-of-kill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/crypto.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufReader, Read}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/fight.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/fight.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::agent::*` [INFO] [stdout] --> src/fight.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::agent::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/fight.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/fight.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::agent::*` [INFO] [stdout] --> src/fight.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::agent::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `env_logger::from_env`: Prefer `env_logger::Builder::from_env()` instead. [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | env_logger::from_env(Env::default().default_filter_or("warning")).init(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `env_logger::from_env`: Prefer `env_logger::Builder::from_env()` instead. [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | env_logger::from_env(Env::default().default_filter_or("warning")).init(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/cli.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let agent = Agent::new(None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/agent.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new(build:Build, node_id:&str) -> Result { [INFO] [stdout] | ^^^ ----------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/cli.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | let tx = Transaction::send(from_keypair, to, amount, &utxo_set)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------ -- ------ --------- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/transaction.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn send(keypair: &Keypair, to_address: &str, amount: i32, utxo: &UTXOSet, sender_build:Build) -> Result { [INFO] [stdout] | ^^^^ ----------------- ---------------- ----------- -------------- ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/cli.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let agent = Agent::new(None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/agent.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new(build:Build, node_id:&str) -> Result { [INFO] [stdout] | ^^^ ----------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/cli.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | let tx = Transaction::send(from_keypair, to, amount, &utxo_set)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------ -- ------ --------- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/transaction.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn send(keypair: &Keypair, to_address: &str, amount: i32, utxo: &UTXOSet, sender_build:Build) -> Result { [INFO] [stdout] | ^^^^ ----------------- ---------------- ----------- -------------- ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/cli.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | let mut agent = Agent::new(build).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/agent.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new(build:Build, node_id:&str) -> Result { [INFO] [stdout] | ^^^ ----------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:311:15 [INFO] [stdout] | [INFO] [stdout] 311 | agent.save()?; [INFO] [stdout] | ^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/agent.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn save(&self,node_id:&str) -> Result<()> { [INFO] [stdout] | ^^^^ ----- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/cli.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | let mut agent = Agent::new(build).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/agent.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new(build:Build, node_id:&str) -> Result { [INFO] [stdout] | ^^^ ----------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/cli.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | let bc = Blockchain::init(address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn init(address: String, node_id:&str) -> Result { [INFO] [stdout] | ^^^^ --------------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 339 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:351:14 [INFO] [stdout] | [INFO] [stdout] 351 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:311:15 [INFO] [stdout] | [INFO] [stdout] 311 | agent.save()?; [INFO] [stdout] | ^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/agent.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn save(&self,node_id:&str) -> Result<()> { [INFO] [stdout] | ^^^^ ----- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/cli.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | let agent = Agent::new(None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/agent.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new(build:Build, node_id:&str) -> Result { [INFO] [stdout] | ^^^ ----------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/cli.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | let bc = Blockchain::init(address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn init(address: String, node_id:&str) -> Result { [INFO] [stdout] | ^^^^ --------------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 339 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cli.rs:351:14 [INFO] [stdout] | [INFO] [stdout] 351 | let bc = Blockchain::load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn load(node_id:&str) -> Result { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/cli.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | let agent = Agent::new(None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/agent.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new(build:Build, node_id:&str) -> Result { [INFO] [stdout] | ^^^ ----------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proof-of-kill` due to 13 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "040031b4d1724a47dbf951762a9b3e2a77136ccfcba55fb7b419ed52083a6512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040031b4d1724a47dbf951762a9b3e2a77136ccfcba55fb7b419ed52083a6512", kill_on_drop: false }` [INFO] [stdout] 040031b4d1724a47dbf951762a9b3e2a77136ccfcba55fb7b419ed52083a6512