[INFO] cloning repository https://github.com/haoduoyu/staking-pool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haoduoyu/staking-pool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaoduoyu%2Fstaking-pool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaoduoyu%2Fstaking-pool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1f3e8e839112ac23b8c03e4faf1279733f9bf09 [INFO] testing haoduoyu/staking-pool against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaoduoyu%2Fstaking-pool" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/haoduoyu/staking-pool [INFO] finished tweaking git repo https://github.com/haoduoyu/staking-pool [INFO] tweaked toml for git repo https://github.com/haoduoyu/staking-pool written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/haoduoyu/staking-pool on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/haoduoyu/staking-pool 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1539ad7dae7efd3d49c4b8de92794701974bd65fe511733695c7b66dee133621 [INFO] running `Command { std: "docker" "start" "-a" "1539ad7dae7efd3d49c4b8de92794701974bd65fe511733695c7b66dee133621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1539ad7dae7efd3d49c4b8de92794701974bd65fe511733695c7b66dee133621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1539ad7dae7efd3d49c4b8de92794701974bd65fe511733695c7b66dee133621", kill_on_drop: false }` [INFO] [stdout] 1539ad7dae7efd3d49c4b8de92794701974bd65fe511733695c7b66dee133621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a41b1b8fb6ffe72caa94d3aa5f9999173049da6993a5f7453a6d1d6df98eaa9b [INFO] running `Command { std: "docker" "start" "-a" "a41b1b8fb6ffe72caa94d3aa5f9999173049da6993a5f7453a6d1d6df98eaa9b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling uint v0.8.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.6.1 [INFO] [stderr] Compiling borsh-derive-internal v0.6.1 [INFO] [stderr] Compiling near-sdk-core v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling borsh-derive v0.6.1 [INFO] [stderr] Compiling near-sdk-macros v0.9.2 [INFO] [stderr] Compiling borsh v0.6.1 [INFO] [stderr] Compiling near-runtime-fees v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling near-vm-errors v0.8.0 [INFO] [stderr] Compiling near-vm-logic v0.8.0 [INFO] [stderr] Compiling near-sdk v0.9.2 [INFO] [stderr] Compiling staking-pool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(BorshDeserialize, BorshSerialize, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RewardFeeFraction` [INFO] [stdout] 113 | pub struct RewardFeeFraction { [INFO] [stdout] | ----------------- `RewardFeeFraction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(BorshDeserialize, BorshSerialize, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RewardFeeFraction` [INFO] [stdout] 113 | pub struct RewardFeeFraction { [INFO] [stdout] | ----------------- `RewardFeeFraction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | #[ext_contract(ext_voting)] [INFO] [stdout] | ^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Input` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde::Deserialize` which comes from the expansion of the attribute macro `ext_contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | #[ext_contract(ext_voting)] [INFO] [stdout] | ^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Input` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Input` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde::Serialize` which comes from the expansion of the attribute macro `ext_contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.45s [INFO] running `Command { std: "docker" "inspect" "a41b1b8fb6ffe72caa94d3aa5f9999173049da6993a5f7453a6d1d6df98eaa9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a41b1b8fb6ffe72caa94d3aa5f9999173049da6993a5f7453a6d1d6df98eaa9b", kill_on_drop: false }` [INFO] [stdout] a41b1b8fb6ffe72caa94d3aa5f9999173049da6993a5f7453a6d1d6df98eaa9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b378c29d5d65e62d0460c6ce6f71799292957b72f5f5b4b14ec359290a0bb3d4 [INFO] running `Command { std: "docker" "start" "-a" "b378c29d5d65e62d0460c6ce6f71799292957b72f5f5b4b14ec359290a0bb3d4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.3.12/src/sockaddr.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | mem::transmute::(v4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `SocketAddrV4` (48 bits) [INFO] [stdout] = note: target type: `sockaddr_in` (128 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] error: could not compile `socket2` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b378c29d5d65e62d0460c6ce6f71799292957b72f5f5b4b14ec359290a0bb3d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b378c29d5d65e62d0460c6ce6f71799292957b72f5f5b4b14ec359290a0bb3d4", kill_on_drop: false }` [INFO] [stdout] b378c29d5d65e62d0460c6ce6f71799292957b72f5f5b4b14ec359290a0bb3d4