[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 against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [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] 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] validating manifest of git repo https://github.com/SwaptiOWH/swapti-ft-contract on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+fe55364329579d361b1ab565728bc033a7dba07e" "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 uint v0.9.0 [INFO] [stderr] Downloaded near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Downloaded near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Downloaded near-rpc-error-macro v0.1.0 [INFO] [stderr] Downloaded near-primitives-core v0.4.0 [INFO] [stderr] Downloaded fixed-hash v0.5.2 [INFO] [stderr] Downloaded sha2 v0.9.2 [INFO] [stderr] Downloaded near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Downloaded blake2 v0.9.1 [INFO] [stderr] Downloaded ed25519 v1.0.3 [INFO] [stderr] Downloaded impl-serde v0.2.3 [INFO] [stderr] Downloaded ethereum-types v0.8.0 [INFO] [stderr] Downloaded rlp v0.4.6 [INFO] [stderr] Downloaded parity-scale-codec v1.3.6 [INFO] [stderr] Downloaded easy-ext v0.2.5 [INFO] [stderr] Downloaded validator_derive v0.10.1 [INFO] [stderr] Downloaded if_chain v1.0.1 [INFO] [stderr] Downloaded c2-chacha v0.2.4 [INFO] [stderr] Downloaded zeroize_derive v1.0.1 [INFO] [stderr] Downloaded tiny-keccak v1.5.0 [INFO] [stderr] Downloaded parity-secp256k1 v0.7.0 [INFO] [stderr] Downloaded primitive-types v0.6.2 [INFO] [stderr] Downloaded primitive-types v0.7.3 [INFO] [stderr] Downloaded validator v0.10.1 [INFO] [stderr] Downloaded num-bigint v0.3.2 [INFO] [stderr] Downloaded ethbloom v0.8.1 [INFO] [stderr] Downloaded curve25519-dalek v3.0.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b18d9cc86586797a22fd22c7766d151ec55787324b4cc9d9aef6ce09c17e5b5 [INFO] running `Command { std: "docker" "start" "-a" "7b18d9cc86586797a22fd22c7766d151ec55787324b4cc9d9aef6ce09c17e5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b18d9cc86586797a22fd22c7766d151ec55787324b4cc9d9aef6ce09c17e5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b18d9cc86586797a22fd22c7766d151ec55787324b4cc9d9aef6ce09c17e5b5", kill_on_drop: false }` [INFO] [stdout] 7b18d9cc86586797a22fd22c7766d151ec55787324b4cc9d9aef6ce09c17e5b5 [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=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" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebb25a7147375aec42e2b48cab90da126c23216f8683bc1b1dcdddb0443a9124 [INFO] running `Command { std: "docker" "start" "-a" "ebb25a7147375aec42e2b48cab90da126c23216f8683bc1b1dcdddb0443a9124", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking rlp v0.4.6 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Checking near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Checking c2-chacha v0.2.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling if_chain v1.0.1 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Compiling idna v0.2.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-1949cf8c6b5b557f/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/fe55364329579d361b1ab565728bc033a7dba07e/library/core/src/num/mod.rs:1151: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-1949cf8c6b5b557f/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/fe55364329579d361b1ab565728bc033a7dba07e/library/core/src/num/mod.rs:1151: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-1949cf8c6b5b557f/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/fe55364329579d361b1ab565728bc033a7dba07e/library/core/src/num/mod.rs:1151: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-1949cf8c6b5b557f/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/fe55364329579d361b1ab565728bc033a7dba07e/library/core/src/num/mod.rs:1151: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] [stderr] Compiling url v2.2.0 [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" "ebb25a7147375aec42e2b48cab90da126c23216f8683bc1b1dcdddb0443a9124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebb25a7147375aec42e2b48cab90da126c23216f8683bc1b1dcdddb0443a9124", kill_on_drop: false }` [INFO] [stdout] ebb25a7147375aec42e2b48cab90da126c23216f8683bc1b1dcdddb0443a9124