[INFO] cloning repository https://github.com/tetcoin-staging/cargo-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tetcoin-staging/cargo-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin-staging%2Fcargo-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin-staging%2Fcargo-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5f263ef1783adaf8d85f7cfae3cf498c328da2c [INFO] checking tetcoin-staging/cargo-contract against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin-staging%2Fcargo-contract" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tetcoin-staging/cargo-contract [INFO] finished tweaking git repo https://github.com/tetcoin-staging/cargo-contract [INFO] tweaked toml for git repo https://github.com/tetcoin-staging/cargo-contract written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tetcoin-staging/cargo-contract on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tetcoin-staging/cargo-contract 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1829195636c89d810150cc97d53b041b0b218f8094969534faa581ee75f4ba46 [INFO] running `Command { std: "docker" "start" "-a" "1829195636c89d810150cc97d53b041b0b218f8094969534faa581ee75f4ba46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1829195636c89d810150cc97d53b041b0b218f8094969534faa581ee75f4ba46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1829195636c89d810150cc97d53b041b0b218f8094969534faa581ee75f4ba46", kill_on_drop: false }` [INFO] [stdout] 1829195636c89d810150cc97d53b041b0b218f8094969534faa581ee75f4ba46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62e02cd826bcd8c99198ac46acc4d8939494fcc5e9982d40fee330a69a9f8213 [INFO] running `Command { std: "docker" "start" "-a" "62e02cd826bcd8c99198ac46acc4d8939494fcc5e9982d40fee330a69a9f8213", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling zip v0.5.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Compiling cargo-xbuild v0.5.28 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling cargo-contract v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wabt-sys v0.7.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking bitvec v0.15.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking assert_matches v1.3.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking pwasm-utils v0.12.0 [INFO] [stderr] Checking which v3.1.0 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking parity-scale-codec v1.1.2 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking rustc_version v0.2.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-error v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.9 [INFO] [stderr] Compiling structopt-derive v0.4.2 [INFO] [stderr] Checking structopt v0.3.9 [INFO] [stderr] Checking cargo_metadata v0.9.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cargo-xbuild-0.5.28/src/flock.rs:116:53 [INFO] [stdout] | [INFO] [stdout] 116 | acquire(msg, &path, self.quiet, &|| f.try_lock_shared(), &|| f.lock_shared())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `Result<(), TryLockError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, std::io::Error>` [INFO] [stdout] found enum `std::result::Result<_, std::fs::TryLockError>` [INFO] [stdout] help: use `?` to coerce and return an appropriate `Err`, and wrap the resulting value in `Ok` so the expression remains of type `Result` [INFO] [stdout] | [INFO] [stdout] 116 | acquire(msg, &path, self.quiet, &|| Ok(f.try_lock_shared()?), &|| f.lock_shared())?; [INFO] [stdout] | +++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-xbuild` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "62e02cd826bcd8c99198ac46acc4d8939494fcc5e9982d40fee330a69a9f8213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62e02cd826bcd8c99198ac46acc4d8939494fcc5e9982d40fee330a69a9f8213", kill_on_drop: false }` [INFO] [stdout] 62e02cd826bcd8c99198ac46acc4d8939494fcc5e9982d40fee330a69a9f8213