[INFO] cloning repository https://github.com/xuantinfx/near-voting-contract
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xuantinfx/near-voting-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuantinfx%2Fnear-voting-contract", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuantinfx%2Fnear-voting-contract'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b1cc7646f70086897c8255aa44c17aef5c26a4a4
[INFO] testing xuantinfx/near-voting-contract against 1.76.0 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuantinfx%2Fnear-voting-contract" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/xuantinfx/near-voting-contract on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/xuantinfx/near-voting-contract
[INFO] finished tweaking git repo https://github.com/xuantinfx/near-voting-contract
[INFO] tweaked toml for git repo https://github.com/xuantinfx/near-voting-contract written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/xuantinfx/near-voting-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" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded near-runtime-fees v2.0.0
[INFO] [stderr]   Downloaded near-vm-errors v2.0.0
[INFO] [stderr]   Downloaded near-vm-logic v2.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f089d5437e29426fff757a2dc13c9a4b9cb53fff3009f2389f056d1c4ea1426
[INFO] running `Command { std: "docker" "start" "-a" "3f089d5437e29426fff757a2dc13c9a4b9cb53fff3009f2389f056d1c4ea1426", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f089d5437e29426fff757a2dc13c9a4b9cb53fff3009f2389f056d1c4ea1426", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f089d5437e29426fff757a2dc13c9a4b9cb53fff3009f2389f056d1c4ea1426", kill_on_drop: false }`
[INFO] [stdout] 3f089d5437e29426fff757a2dc13c9a4b9cb53fff3009f2389f056d1c4ea1426
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c952efc35cd1b00526be42b3758315b077a5b544a45b7188f63a382889bfd8d8
[INFO] running `Command { std: "docker" "start" "-a" "c952efc35cd1b00526be42b3758315b077a5b544a45b7188f63a382889bfd8d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling memory_units v0.4.0
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling indexmap v1.5.1
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling sha3 v0.8.2
[INFO] [stderr]    Compiling borsh-derive-internal v0.7.1
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.7.1
[INFO] [stderr]    Compiling near-sdk-core v2.0.0
[INFO] [stderr]    Compiling borsh-derive v0.7.1
[INFO] [stderr]    Compiling near-sdk-macros v2.0.0
[INFO] [stderr]    Compiling borsh v0.7.1
[INFO] [stderr]    Compiling near-runtime-fees v2.0.0
[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 v2.0.0
[INFO] [stderr]    Compiling near-vm-logic v2.0.0
[INFO] [stderr]    Compiling near-sdk v2.0.0
[INFO] [stderr]    Compiling voting-contract v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.29s
[INFO] running `Command { std: "docker" "inspect" "c952efc35cd1b00526be42b3758315b077a5b544a45b7188f63a382889bfd8d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c952efc35cd1b00526be42b3758315b077a5b544a45b7188f63a382889bfd8d8", kill_on_drop: false }`
[INFO] [stdout] c952efc35cd1b00526be42b3758315b077a5b544a45b7188f63a382889bfd8d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 19014d21ee17e223274bb03a50129c26825d32a905b12cf33f457cdfffa032a6
[INFO] running `Command { std: "docker" "start" "-a" "19014d21ee17e223274bb03a50129c26825d32a905b12cf33f457cdfffa032a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling voting-contract v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "19014d21ee17e223274bb03a50129c26825d32a905b12cf33f457cdfffa032a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19014d21ee17e223274bb03a50129c26825d32a905b12cf33f457cdfffa032a6", kill_on_drop: false }`
[INFO] [stdout] 19014d21ee17e223274bb03a50129c26825d32a905b12cf33f457cdfffa032a6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 15b4ba5515c1a920bfafd7032b5605f6999f9783c4118ef1d78dd6cec55276f3
[INFO] running `Command { std: "docker" "start" "-a" "15b4ba5515c1a920bfafd7032b5605f6999f9783c4118ef1d78dd6cec55276f3", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/voting_contract-4a02463dd5bc1aac)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test tests::test_validator_kick_out ... ok
[INFO] [stdout] test tests::test_validator_stake_change ... ok
[INFO] [stdout] test tests::test_withdraw_votes ... ok
[INFO] [stdout] test tests::test_voting_with_epoch_change ... ok
[INFO] [stdout] test tests::test_voting_simple ... ok
[INFO] [stdout] test tests::test_nonvalidator_cannot_vote - should panic ... ok
[INFO] [stdout] test tests::test_vote_again_after_voting_ends - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests voting-contract
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "15b4ba5515c1a920bfafd7032b5605f6999f9783c4118ef1d78dd6cec55276f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15b4ba5515c1a920bfafd7032b5605f6999f9783c4118ef1d78dd6cec55276f3", kill_on_drop: false }`
[INFO] [stdout] 15b4ba5515c1a920bfafd7032b5605f6999f9783c4118ef1d78dd6cec55276f3
