[INFO] cloning repository https://github.com/vinhtran313/Near-Rust-Demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vinhtran313/Near-Rust-Demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhtran313%2FNear-Rust-Demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhtran313%2FNear-Rust-Demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d22c8d2ef2916176894b9af1afe95c4d75b31937 [INFO] checking vinhtran313/Near-Rust-Demo against master#b286722878e18db29a7fbe672be7c4d3b02e8e4d for pr-127655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhtran313%2FNear-Rust-Demo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vinhtran313/Near-Rust-Demo on toolchain b286722878e18db29a7fbe672be7c4d3b02e8e4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vinhtran313/Near-Rust-Demo [INFO] finished tweaking git repo https://github.com/vinhtran313/Near-Rust-Demo [INFO] tweaked toml for git repo https://github.com/vinhtran313/Near-Rust-Demo written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vinhtran313/Near-Rust-Demo 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" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] warning: spurious network error (3 tries remaining): [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 4803 ms: Couldn't connect to server) [INFO] [stderr] warning: spurious network error (2 tries remaining): [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 0 ms: Couldn't connect to server) [INFO] [stderr] warning: spurious network error (1 tries remaining): [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 0 ms: Couldn't connect to server) [INFO] [stderr] error: failed to get `near-sdk` as a dependency of package `rust-template v0.1.0 (/workspace/builds/worker-7-tc1/source)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] download of ne/ar/near-sdk failed [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to download from `https://index.crates.io/ne/ar/near-sdk` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 0 ms: Couldn't connect to server) [ERROR] this task or one of its parent failed! [ERROR] command failed: exit status: 101 [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking vinhtran313/Near-Rust-Demo against try#6a5749073f2ebf59d7740d30e50a932a85756ee7 for pr-127655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhtran313%2FNear-Rust-Demo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vinhtran313/Near-Rust-Demo on toolchain 6a5749073f2ebf59d7740d30e50a932a85756ee7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6a5749073f2ebf59d7740d30e50a932a85756ee7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vinhtran313/Near-Rust-Demo [INFO] finished tweaking git repo https://github.com/vinhtran313/Near-Rust-Demo [INFO] tweaked toml for git repo https://github.com/vinhtran313/Near-Rust-Demo written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vinhtran313/Near-Rust-Demo 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" "+6a5749073f2ebf59d7740d30e50a932a85756ee7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded near-sdk v4.0.0-pre.4 [INFO] [stderr] Downloaded near-sys v0.1.0 [INFO] [stderr] Downloaded near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Downloaded near-rpc-error-macro v0.1.0 [INFO] [stderr] Downloaded near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Downloaded rustc_version v0.3.3 [INFO] [stderr] Downloaded convert_case v0.4.0 [INFO] [stderr] Downloaded semver v0.11.0 [INFO] [stderr] Downloaded borsh v0.8.2 [INFO] [stderr] Downloaded bs58 v0.4.0 [INFO] [stderr] Downloaded derive_more v0.99.16 [INFO] [stderr] Downloaded semver-parser v0.10.2 [INFO] [stderr] Downloaded num-bigint v0.3.2 [INFO] [stderr] Downloaded typenum v1.13.0 [INFO] [stderr] Downloaded near-primitives-core v0.4.0 [INFO] [stderr] Downloaded borsh-derive-internal v0.8.2 [INFO] [stderr] Downloaded cpufeatures v0.1.5 [INFO] [stderr] Downloaded sha2 v0.9.5 [INFO] [stderr] Downloaded block-padding v0.2.1 [INFO] [stderr] Downloaded syn v1.0.57 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Downloaded borsh-derive v0.8.2 [INFO] [stderr] Downloaded near-rpc-error-core v0.1.0 [INFO] [stderr] Downloaded near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Downloaded keccak v0.1.0 [INFO] [stderr] Downloaded sha3 v0.9.1 [INFO] [stderr] Downloaded libc v0.2.99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+6a5749073f2ebf59d7740d30e50a932a85756ee7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 925bc6f5bfddbd699f6dfd5f02cf7474d36daaef12a1ce33a2a30b668d97ca42 [INFO] running `Command { std: "docker" "start" "-a" "925bc6f5bfddbd699f6dfd5f02cf7474d36daaef12a1ce33a2a30b668d97ca42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "925bc6f5bfddbd699f6dfd5f02cf7474d36daaef12a1ce33a2a30b668d97ca42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "925bc6f5bfddbd699f6dfd5f02cf7474d36daaef12a1ce33a2a30b668d97ca42", kill_on_drop: false }` [INFO] [stdout] 925bc6f5bfddbd699f6dfd5f02cf7474d36daaef12a1ce33a2a30b668d97ca42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+6a5749073f2ebf59d7740d30e50a932a85756ee7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67ae4f3dfe20388cee21fda2ceaeb443eeade1b965cf1119567933d76e14c59b [INFO] running `Command { std: "docker" "start" "-a" "67ae4f3dfe20388cee21fda2ceaeb443eeade1b965cf1119567933d76e14c59b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking near-sys v0.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-bigint-0.3.2/src/biguint/convert.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .div_ceil(&big_digit::BITS.into()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `&_` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found reference `&_` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/6a5749073f2ebf59d7740d30e50a932a85756ee7/library/core/src/num/mod.rs:1167:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - .div_ceil(&big_digit::BITS.into()) [INFO] [stdout] 70 + .div_ceil(big_digit::BITS.into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-bigint-0.3.2/src/biguint/convert.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | .div_ceil(&u64::from(bits)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/6a5749073f2ebf59d7740d30e50a932a85756ee7/library/core/src/num/mod.rs:1167:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 585 - .div_ceil(&u64::from(bits)) [INFO] [stdout] 585 + .div_ceil(u64::from(bits)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-bigint-0.3.2/src/biguint/convert.rs:613:19 [INFO] [stdout] | [INFO] [stdout] 613 | .div_ceil(&u64::from(bits)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/6a5749073f2ebf59d7740d30e50a932a85756ee7/library/core/src/num/mod.rs:1167:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 613 - .div_ceil(&u64::from(bits)) [INFO] [stdout] 613 + .div_ceil(u64::from(bits)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-bigint-0.3.2/src/biguint.rs:393:54 [INFO] [stdout] | [INFO] [stdout] 393 | let root_scale = extra_bits.div_ceil(&n64); [INFO] [stdout] | -------- ^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/6a5749073f2ebf59d7740d30e50a932a85756ee7/library/core/src/num/mod.rs:1167:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 393 - let root_scale = extra_bits.div_ceil(&n64); [INFO] [stdout] 393 + let root_scale = extra_bits.div_ceil(n64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-bigint` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "67ae4f3dfe20388cee21fda2ceaeb443eeade1b965cf1119567933d76e14c59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67ae4f3dfe20388cee21fda2ceaeb443eeade1b965cf1119567933d76e14c59b", kill_on_drop: false }` [INFO] [stdout] 67ae4f3dfe20388cee21fda2ceaeb443eeade1b965cf1119567933d76e14c59b