[INFO] cloning repository https://github.com/jase-k/rust-smart-contract-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jase-k/rust-smart-contract-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjase-k%2Frust-smart-contract-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjase-k%2Frust-smart-contract-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bc34a64a3158604aae61d31d550912a60b1f20a [INFO] testing jase-k/rust-smart-contract-template against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjase-k%2Frust-smart-contract-template" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jase-k/rust-smart-contract-template on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jase-k/rust-smart-contract-template [INFO] finished tweaking git repo https://github.com/jase-k/rust-smart-contract-template [INFO] tweaked toml for git repo https://github.com/jase-k/rust-smart-contract-template written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jase-k/rust-smart-contract-template 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" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded web3 v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e2bc0943c7aef3575d9907e3c7063c3b05c5a231ab3fb935653b1201e0a4c1c [INFO] running `Command { std: "docker" "start" "-a" "9e2bc0943c7aef3575d9907e3c7063c3b05c5a231ab3fb935653b1201e0a4c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e2bc0943c7aef3575d9907e3c7063c3b05c5a231ab3fb935653b1201e0a4c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2bc0943c7aef3575d9907e3c7063c3b05c5a231ab3fb935653b1201e0a4c1c", kill_on_drop: false }` [INFO] [stdout] 9e2bc0943c7aef3575d9907e3c7063c3b05c5a231ab3fb935653b1201e0a4c1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2de5eb5d1b195c2b0f9f26969d1d6b4bbd082d2653d97e900dfc8ace24a64776 [INFO] running `Command { std: "docker" "start" "-a" "2de5eb5d1b195c2b0f9f26969d1d6b4bbd082d2653d97e900dfc8ace24a64776", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling ethbloom v0.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling ethabi v14.1.0 [INFO] [stderr] Compiling web3 v0.17.0 [INFO] [stderr] Compiling simple_storage_smart_contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | deploy_contract(publishing_account, &binary_file).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 07s [INFO] running `Command { std: "docker" "inspect" "2de5eb5d1b195c2b0f9f26969d1d6b4bbd082d2653d97e900dfc8ace24a64776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de5eb5d1b195c2b0f9f26969d1d6b4bbd082d2653d97e900dfc8ace24a64776", kill_on_drop: false }` [INFO] [stdout] 2de5eb5d1b195c2b0f9f26969d1d6b4bbd082d2653d97e900dfc8ace24a64776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0125a893d55a95ec636f9d85b7e50525a3326c51fe88bd1c7065c0697f2fd2ad [INFO] running `Command { std: "docker" "start" "-a" "0125a893d55a95ec636f9d85b7e50525a3326c51fe88bd1c7065c0697f2fd2ad", kill_on_drop: false }` [INFO] [stderr] Compiling simple_storage_smart_contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | deploy_contract(publishing_account, &binary_file).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "0125a893d55a95ec636f9d85b7e50525a3326c51fe88bd1c7065c0697f2fd2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0125a893d55a95ec636f9d85b7e50525a3326c51fe88bd1c7065c0697f2fd2ad", kill_on_drop: false }` [INFO] [stdout] 0125a893d55a95ec636f9d85b7e50525a3326c51fe88bd1c7065c0697f2fd2ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 573a1b8cc0ce32befc64234741fc538faabf7c675e18ece92f03c190b0d51b66 [INFO] running `Command { std: "docker" "start" "-a" "573a1b8cc0ce32befc64234741fc538faabf7c675e18ece92f03c190b0d51b66", kill_on_drop: false }` [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | deploy_contract(publishing_account, &binary_file).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `simple_storage_smart_contract` (bin "simple_storage_smart_contract" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simple_storage_smart_contract-9ae16b197e28ab8d) [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" "573a1b8cc0ce32befc64234741fc538faabf7c675e18ece92f03c190b0d51b66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "573a1b8cc0ce32befc64234741fc538faabf7c675e18ece92f03c190b0d51b66", kill_on_drop: false }` [INFO] [stdout] 573a1b8cc0ce32befc64234741fc538faabf7c675e18ece92f03c190b0d51b66