[INFO] cloning repository https://github.com/near-examples/rust-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/near-examples/rust-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnear-examples%2Frust-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnear-examples%2Frust-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec4842bd1e72e8d471d83430de8304e6c3abcf20 [INFO] checking near-examples/rust-template against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnear-examples%2Frust-template" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/near-examples/rust-template on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/near-examples/rust-template [INFO] finished tweaking git repo https://github.com/near-examples/rust-template [INFO] tweaked toml for git repo https://github.com/near-examples/rust-template written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/near-examples/rust-template already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.28 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded serde_json v1.0.66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 107869e846ad65c831153d6d34d8228b509d86e13595f2ae36493f113ff423e9 [INFO] running `Command { std: "docker" "start" "-a" "107869e846ad65c831153d6d34d8228b509d86e13595f2ae36493f113ff423e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "107869e846ad65c831153d6d34d8228b509d86e13595f2ae36493f113ff423e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107869e846ad65c831153d6d34d8228b509d86e13595f2ae36493f113ff423e9", kill_on_drop: false }` [INFO] [stdout] 107869e846ad65c831153d6d34d8228b509d86e13595f2ae36493f113ff423e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d456a087b61ac7211961dbf6fd5bfd25671fa3f8f2b8696c16b1a2d55d141873 [INFO] running `Command { std: "docker" "start" "-a" "d456a087b61ac7211961dbf6fd5bfd25671fa3f8f2b8696c16b1a2d55d141873", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.99: default, std [INFO] [stderr] serde_json v1.0.66: indexmap, preserve_order [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling indexmap v1.7.0 [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] Compiling num-rational v0.3.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling near-sdk-core v3.1.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling near-sdk-macros v3.1.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking near-primitives-core v0.4.0 [INFO] [stderr] Checking near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Checking near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Checking near-sdk v3.1.0 [INFO] [stderr] Checking rust-template v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stdout] warning: function is never used: `get_context` [INFO] [stdout] --> src/lib.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_context(predecessor: ValidAccountId) -> VMContextBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 57.75s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking near-primitives-core v0.4.0 [INFO] [stderr] Checking wee_alloc v0.4.5 [INFO] [stderr] Checking near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Checking near-sdk v3.1.0 [INFO] [stderr] Checking rust-template v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `get_context` [INFO] [stdout] --> src/lib.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_context(predecessor: ValidAccountId) -> VMContextBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 5.37s [INFO] running `Command { std: "docker" "inspect" "d456a087b61ac7211961dbf6fd5bfd25671fa3f8f2b8696c16b1a2d55d141873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d456a087b61ac7211961dbf6fd5bfd25671fa3f8f2b8696c16b1a2d55d141873", kill_on_drop: false }` [INFO] [stdout] d456a087b61ac7211961dbf6fd5bfd25671fa3f8f2b8696c16b1a2d55d141873