[INFO] fetching crate cargo-eosiocontract 0.17.0...
[INFO] checking cargo-eosiocontract-0.17.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate cargo-eosiocontract 0.17.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate cargo-eosiocontract 0.17.0
[INFO] finished tweaking crates.io crate cargo-eosiocontract 0.17.0
[INFO] tweaked toml for crates.io crate cargo-eosiocontract 0.17.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cargo-eosiocontract 0.17.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 cargo-eosiocontract 0.17.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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1b3da405653b863dee9c2ce14087f6c821dffdd1c5fd3fe22b2765ce2685c48d
[INFO] running `Command { std: "docker" "start" "-a" "1b3da405653b863dee9c2ce14087f6c821dffdd1c5fd3fe22b2765ce2685c48d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b3da405653b863dee9c2ce14087f6c821dffdd1c5fd3fe22b2765ce2685c48d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b3da405653b863dee9c2ce14087f6c821dffdd1c5fd3fe22b2765ce2685c48d", kill_on_drop: false }`
[INFO] [stdout] 1b3da405653b863dee9c2ce14087f6c821dffdd1c5fd3fe22b2765ce2685c48d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] eb535be4f16b6ae394f1efe620f33ea4fd2c51361c99bc60ce118be2175b5c94
[INFO] running `Command { std: "docker" "start" "-a" "eb535be4f16b6ae394f1efe620f33ea4fd2c51361c99bc60ce118be2175b5c94", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]    Compiling platforms v1.1.0
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling platforms v2.0.0
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling camino v1.0.7
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling substrate-build-script-utils v3.0.0
[INFO] [stderr]     Checking block-buffer v0.10.0
[INFO] [stderr]    Compiling wabt-sys v0.8.0
[INFO] [stderr]     Checking crypto-common v0.1.1
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking digest v0.10.1
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]     Checking fastrand v1.6.0
[INFO] [stderr]     Checking byte-slice-cast v1.2.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking which v4.2.4
[INFO] [stderr]     Checking blake2 v0.10.2
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking parity-wasm v0.42.2
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking diff v0.1.12
[INFO] [stderr]     Checking heck v0.4.0
[INFO] [stderr]     Checking pretty_assertions v1.1.0
[INFO] [stderr]     Checking assert_matches v1.5.0
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.1
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling proc-macro-crate v1.1.0
[INFO] [stderr]    Compiling zip v0.5.13
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]    Compiling parity-scale-codec-derive v2.3.1
[INFO] [stderr]    Compiling cargo-eosiocontract v0.17.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: cargo-eosiocontract@0.17.0: Git command failed with status: exit status: 128
[INFO] [stderr] warning: cargo-eosiocontract@0.17.0: Could not find `.git/HEAD` searching from `/opt/rustwide/workdir` upwards!
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking cargo-platform v0.1.2
[INFO] [stderr]     Checking impl-serde v0.3.2
[INFO] [stderr]     Checking parity-scale-codec v2.3.1
[INFO] [stderr]     Checking rustc_version v0.4.0
[INFO] [stderr]     Checking handlebars v3.5.5
[INFO] [stderr]     Checking cargo_metadata v0.14.1
[INFO] [stderr]     Checking contract-metadata v0.5.1
[INFO] [stdout] warning: unused import: `ContractMetadata`
[INFO] [stdout]   --> src/cmd/metadata.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 |     CodeHash, Compiler, Contract, ContractMetadata, Language, Source, SourceCompiler,
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]   --> src/cmd/init.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | use anyhow::{Context, Result, anyhow};
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]   --> src/cmd/init.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |     path::{PathBuf, Path},
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ink_version`
[INFO] [stdout]    --> src/cmd/build.rs:635:36
[INFO] [stdout]     |
[INFO] [stdout] 635 | pub fn assert_debug_mode_supported(ink_version: &Version) -> anyhow::Result<()> {
[INFO] [stdout]     |                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ink_version`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_progress` is never read
[INFO] [stdout]    --> src/cmd/metadata.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         current_progress += 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/cmd/metadata.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         source,
[INFO] [stdout]    |         ^^^^^^ help: try ignoring the field: `source: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]   --> src/cmd/metadata.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         contract,
[INFO] [stdout]    |         ^^^^^^^^ help: try ignoring the field: `contract: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> src/cmd/metadata.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         user,
[INFO] [stdout]    |         ^^^^ help: try ignoring the field: `user: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cmd/init.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |             let mut cargo_toml = include_str!("../../templates/contract/_Cargo.toml");
[INFO] [stdout]    |                 ----^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cmd/init.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let mut lib_rs = include_str!("../../templates/contract/lib.rs");
[INFO] [stdout]    |                 ----^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cmd/init.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let mut ignore = include_str!("../../templates/contract/.gitignore");
[INFO] [stdout]    |                 ----^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HexData` is never constructed
[INFO] [stdout]   --> src/main.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub(crate) struct HexData(pub Vec<u8>);
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_MEMORY_PAGES` is never used
[INFO] [stdout]   --> src/cmd/build.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 | const MAX_MEMORY_PAGES: u32 = 16;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_maximum_memory_pages` is never used
[INFO] [stdout]    --> src/cmd/build.rs:311:4
[INFO] [stdout]     |
[INFO] [stdout] 311 | fn ensure_maximum_memory_pages(module: &mut Module, maximum_allowed_pages: u32) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strip_exports` is never used
[INFO] [stdout]    --> src/cmd/build.rs:357:4
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn strip_exports(module: &mut Module) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/main.rs:214:5
[INFO] [stdout]     |
[INFO] [stdout] 214 | /     /// Use the original manifest (Cargo.toml), do not modify for build optimizations
[INFO] [stdout] 215 | |     #[structopt(long = "unstable-options", short = "Z", number_of_values = 1)]
[INFO] [stdout] 216 | |     options: Vec<String>,
[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: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/main.rs:458:9
[INFO] [stdout]     |
[INFO] [stdout] 458 | /         /// The name of the newly created smart contract
[INFO] [stdout] 459 | |         name: String,
[INFO] [stdout]     | |____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: cargo-eosiocontract@0.17.0: Git command failed with status: exit status: 128
[INFO] [stderr] warning: cargo-eosiocontract@0.17.0: Could not find `.git/HEAD` searching from `/opt/rustwide/workdir` upwards!
[INFO] [stderr] error: could not compile `cargo-eosiocontract` (bin "cargo-eosiocontract") due to 2 previous errors; 15 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "eb535be4f16b6ae394f1efe620f33ea4fd2c51361c99bc60ce118be2175b5c94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb535be4f16b6ae394f1efe620f33ea4fd2c51361c99bc60ce118be2175b5c94", kill_on_drop: false }`
[INFO] [stdout] eb535be4f16b6ae394f1efe620f33ea4fd2c51361c99bc60ce118be2175b5c94
