[INFO] cloning repository https://github.com/SwaptiOWH/swapti-ft-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SwaptiOWH/swapti-ft-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwaptiOWH%2Fswapti-ft-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwaptiOWH%2Fswapti-ft-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7b9573b2f079828e2b1b8f7d097cdc384b01b0f [INFO] checking SwaptiOWH/swapti-ft-contract/b7b9573b2f079828e2b1b8f7d097cdc384b01b0f against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwaptiOWH%2Fswapti-ft-contract" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SwaptiOWH/swapti-ft-contract on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SwaptiOWH/swapti-ft-contract [INFO] finished tweaking git repo https://github.com/SwaptiOWH/swapti-ft-contract [INFO] tweaked toml for git repo https://github.com/SwaptiOWH/swapti-ft-contract written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SwaptiOWH/swapti-ft-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/near/near-sdk-rs` [INFO] [stderr] Updating git repository `https://github.com/nearprotocol/nearcore.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-rpc-error-core v0.1.0 [INFO] [stderr] Downloaded near-rpc-error-macro v0.1.0 [INFO] [stderr] Downloaded near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Downloaded near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Downloaded uint v0.9.0 [INFO] [stderr] Downloaded borsh v0.8.2 [INFO] [stderr] Downloaded borsh v0.7.2 [INFO] [stderr] Downloaded primitive-types v0.6.2 [INFO] [stderr] Downloaded near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Downloaded borsh-derive v0.8.2 [INFO] [stderr] Downloaded if_chain v1.0.1 [INFO] [stderr] Downloaded ethbloom v0.8.1 [INFO] [stderr] Downloaded ed25519 v1.0.3 [INFO] [stderr] Downloaded easy-ext v0.2.5 [INFO] [stderr] Downloaded c2-chacha v0.2.4 [INFO] [stderr] Downloaded uint v0.8.5 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded parity-scale-codec v1.3.6 [INFO] [stderr] Downloaded blake2 v0.9.1 [INFO] [stderr] Downloaded impl-serde v0.2.3 [INFO] [stderr] Downloaded num-bigint v0.3.2 [INFO] [stderr] Downloaded syn v1.0.57 [INFO] [stderr] Downloaded reed-solomon-erasure v4.0.2 [INFO] [stderr] Downloaded validator_derive v0.10.1 [INFO] [stderr] Downloaded parity-secp256k1 v0.7.0 [INFO] [stderr] Downloaded thread_local v1.1.0 [INFO] [stderr] Downloaded signature v1.3.0 [INFO] [stderr] Downloaded zeroize_derive v1.0.1 [INFO] [stderr] Downloaded zeroize v1.2.0 [INFO] [stderr] Downloaded fixed-hash v0.5.2 [INFO] [stderr] Downloaded rlp v0.4.6 [INFO] [stderr] Downloaded smart-default v0.6.0 [INFO] [stderr] Downloaded near-primitives-core v0.4.0 [INFO] [stderr] Downloaded jemallocator v0.3.2 [INFO] [stderr] Downloaded validator v0.10.1 [INFO] [stderr] Downloaded borsh-derive-internal v0.8.2 [INFO] [stderr] Downloaded borsh-derive-internal v0.7.2 [INFO] [stderr] Downloaded sha3 v0.8.2 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Downloaded borsh-derive v0.7.2 [INFO] [stderr] Downloaded ethereum-types v0.8.0 [INFO] [stderr] Downloaded primitive-types v0.7.3 [INFO] [stderr] Downloaded curve25519-dalek v3.0.2 [INFO] [stderr] Downloaded jemalloc-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da175df88b60aa30faf7ede5b71e6d09da89e16179a0ac69ba6289ac4e8e8597 [INFO] running `Command { std: "docker" "start" "-a" "da175df88b60aa30faf7ede5b71e6d09da89e16179a0ac69ba6289ac4e8e8597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da175df88b60aa30faf7ede5b71e6d09da89e16179a0ac69ba6289ac4e8e8597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da175df88b60aa30faf7ede5b71e6d09da89e16179a0ac69ba6289ac4e8e8597", kill_on_drop: false }` [INFO] [stdout] da175df88b60aa30faf7ede5b71e6d09da89e16179a0ac69ba6289ac4e8e8597 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a3a2fba9ff835f936f2562296e5a468d410c6d139a8997f94ce64334e7a4b3a [INFO] running `Command { std: "docker" "start" "-a" "1a3a2fba9ff835f936f2562296e5a468d410c6d139a8997f94ce64334e7a4b3a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking rlp v0.4.6 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Checking c2-chacha v0.2.4 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling if_chain v1.0.1 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking fixed-hash v0.5.2 [INFO] [stderr] Checking fixed-hash v0.6.1 [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/num/mod.rs:1223: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/num/mod.rs:1223: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/num/mod.rs:1223: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] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling idna v0.2.0 [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/num/mod.rs:1223: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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-bigint` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1a3a2fba9ff835f936f2562296e5a468d410c6d139a8997f94ce64334e7a4b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3a2fba9ff835f936f2562296e5a468d410c6d139a8997f94ce64334e7a4b3a", kill_on_drop: false }` [INFO] [stdout] 1a3a2fba9ff835f936f2562296e5a468d410c6d139a8997f94ce64334e7a4b3a