[INFO] fetching crate inkpad-cli 0.1.0... [INFO] checking inkpad-cli-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate inkpad-cli 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate inkpad-cli 0.1.0 [INFO] finished tweaking crates.io crate inkpad-cli 0.1.0 [INFO] tweaked toml for crates.io crate inkpad-cli 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate inkpad-cli 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate inkpad-cli 0.1.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d72829d386d5730e00bbc0ae699eabf1624e6382518302f0042a96f3a373efe9 [INFO] running `Command { std: "docker" "start" "-a" "d72829d386d5730e00bbc0ae699eabf1624e6382518302f0042a96f3a373efe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d72829d386d5730e00bbc0ae699eabf1624e6382518302f0042a96f3a373efe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72829d386d5730e00bbc0ae699eabf1624e6382518302f0042a96f3a373efe9", kill_on_drop: false }` [INFO] [stdout] d72829d386d5730e00bbc0ae699eabf1624e6382518302f0042a96f3a373efe9 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c2777da7dc613c44de328cd2f8e9ab6df5d2cdaf24e9dd303bac4c1aa13ebb1 [INFO] running `Command { std: "docker" "start" "-a" "2c2777da7dc613c44de328cd2f8e9ab6df5d2cdaf24e9dd303bac4c1aa13ebb1", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking parity-wasm v0.42.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byte-slice-cast v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking wasmi-validation v0.4.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking inkpad-std v0.1.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking patract-wasmi v0.9.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking etc v0.1.16 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling inkpad-derive v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking inkpad-support v0.1.0 [INFO] [stderr] Checking inkpad-executor v0.1.0 [INFO] [stderr] Checking inkpad-sandbox v0.1.0 [INFO] [stderr] Checking inkpad-seal v0.1.0 [INFO] [stderr] Checking inkpad-runtime v0.1.0 [INFO] [stderr] Checking inkpad-ri v0.1.0 [INFO] [stderr] Checking inkpad-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CouldNotParseCommand(String); [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CouldNotParseCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ParseContractFailed(String); [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParseContractFailed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DecodeAddressFailed(String); [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DecodeAddressFailed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Custom(String); [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Custom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cmd/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Target contract [INFO] [stdout] 14 | | #[structopt( [INFO] [stdout] 15 | | name = "*.contract | name | code-hash", [INFO] [stdout] 16 | | help = "If empty, inkpad will load the last contract which has been executed" [INFO] [stdout] 17 | | )] [INFO] [stdout] 18 | | pub contract: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tx.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / /// Calling method [INFO] [stdout] 10 | | pub method: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tx.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / /// Contract caller [INFO] [stdout] 12 | | #[structopt(long)] [INFO] [stdout] 13 | | pub caller: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tx.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// Contract callee [INFO] [stdout] 15 | | #[structopt(long)] [INFO] [stdout] 16 | | pub address: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tx.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /// current time [INFO] [stdout] 24 | | #[structopt(long, short)] [INFO] [stdout] 25 | | pub now: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tx.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// Arguments [INFO] [stdout] 30 | | #[structopt(long, short, name = "string,")] [INFO] [stdout] 31 | | pub args: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CouldNotParseCommand(String); [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CouldNotParseCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkpad-cli` (lib) due to 6 previous errors; 4 warnings emitted [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ParseContractFailed(String); [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParseContractFailed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DecodeAddressFailed(String); [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DecodeAddressFailed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkpad-cli` (lib test) due to 6 previous errors; 4 warnings emitted [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Custom(String); [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Custom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cmd/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Target contract [INFO] [stdout] 14 | | #[structopt( [INFO] [stdout] 15 | | name = "*.contract | name | code-hash", [INFO] [stdout] 16 | | help = "If empty, inkpad will load the last contract which has been executed" [INFO] [stdout] 17 | | )] [INFO] [stdout] 18 | | pub contract: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tx.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / /// Calling method [INFO] [stdout] 10 | | pub method: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tx.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / /// Contract caller [INFO] [stdout] 12 | | #[structopt(long)] [INFO] [stdout] 13 | | pub caller: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tx.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// Contract callee [INFO] [stdout] 15 | | #[structopt(long)] [INFO] [stdout] 16 | | pub address: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tx.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /// current time [INFO] [stdout] 24 | | #[structopt(long, short)] [INFO] [stdout] 25 | | pub now: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tx.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// Arguments [INFO] [stdout] 30 | | #[structopt(long, short, name = "string,")] [INFO] [stdout] 31 | | pub args: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2c2777da7dc613c44de328cd2f8e9ab6df5d2cdaf24e9dd303bac4c1aa13ebb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c2777da7dc613c44de328cd2f8e9ab6df5d2cdaf24e9dd303bac4c1aa13ebb1", kill_on_drop: false }` [INFO] [stdout] 2c2777da7dc613c44de328cd2f8e9ab6df5d2cdaf24e9dd303bac4c1aa13ebb1