[INFO] fetching crate near-sdk 3.0.0-pre.2... [INFO] checking near-sdk-3.0.0-pre.2 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate near-sdk 3.0.0-pre.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate near-sdk 3.0.0-pre.2 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate near-sdk 3.0.0-pre.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate near-sdk 3.0.0-pre.2 [INFO] tweaked toml for crates.io crate near-sdk 3.0.0-pre.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded near-primitives-core v0.1.0 [INFO] [stderr] Downloaded near-runtime-utils v3.0.0 [INFO] [stderr] Downloaded near-vm-errors v3.0.0 [INFO] [stderr] Downloaded near-vm-logic v3.0.0 [INFO] [stderr] Downloaded trybuild v1.0.41 [INFO] [stderr] Downloaded near-sdk-macros v3.0.0-pre.2 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1fbe7a56065e90f03976591b3cb455f27c4d5546ca24b27dc604b0653ab7f2ec [INFO] running `Command { std: "docker" "start" "-a" "1fbe7a56065e90f03976591b3cb455f27c4d5546ca24b27dc604b0653ab7f2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fbe7a56065e90f03976591b3cb455f27c4d5546ca24b27dc604b0653ab7f2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbe7a56065e90f03976591b3cb455f27c4d5546ca24b27dc604b0653ab7f2ec", kill_on_drop: false }` [INFO] [stdout] 1fbe7a56065e90f03976591b3cb455f27c4d5546ca24b27dc604b0653ab7f2ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4c0038a8de2bb81fbf9e18bf121f0fdd5fc7b8c1969c2506031b9c54f43a1e06 [INFO] running `Command { std: "docker" "start" "-a" "4c0038a8de2bb81fbf9e18bf121f0fdd5fc7b8c1969c2506031b9c54f43a1e06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling trybuild v1.0.41 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.2 [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 regex v1.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking wee_alloc v0.4.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking near-runtime-utils v3.0.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking quickcheck v0.9.2 [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.0.0-pre.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling near-sdk-macros v3.0.0-pre.2 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking 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.1.0 [INFO] [stderr] Checking near-vm-errors v3.0.0 [INFO] [stderr] Checking near-vm-logic v3.0.0 [INFO] [stderr] Checking near-sdk v3.0.0-pre.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/environment/env.rs:620:21 [INFO] [stdout] | [INFO] [stdout] 620 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 620 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 620 | _ => std::panic::panic_any(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/environment/env.rs:723:21 [INFO] [stdout] | [INFO] [stdout] 723 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 723 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 723 | _ => std::panic::panic_any(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/environment/env.rs:739:21 [INFO] [stdout] | [INFO] [stdout] 739 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 739 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 739 | _ => std::panic::panic_any(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/environment/env.rs:756:21 [INFO] [stdout] | [INFO] [stdout] 756 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 756 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 756 | _ => std::panic::panic_any(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/environment/env.rs:775:21 [INFO] [stdout] | [INFO] [stdout] 775 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 775 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 775 | _ => std::panic::panic_any(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/environment/env.rs:620:21 [INFO] [stdout] | [INFO] [stdout] 620 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 620 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 620 | _ => std::panic::panic_any(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/environment/env.rs:723:21 [INFO] [stdout] | [INFO] [stdout] 723 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 723 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 723 | _ => std::panic::panic_any(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/environment/env.rs:739:21 [INFO] [stdout] | [INFO] [stdout] 739 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 739 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 739 | _ => std::panic::panic_any(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/environment/env.rs:756:21 [INFO] [stdout] | [INFO] [stdout] 756 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 756 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 756 | _ => std::panic::panic_any(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/environment/env.rs:775:21 [INFO] [stdout] | [INFO] [stdout] 775 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 775 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 775 | _ => std::panic::panic_any(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "4c0038a8de2bb81fbf9e18bf121f0fdd5fc7b8c1969c2506031b9c54f43a1e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c0038a8de2bb81fbf9e18bf121f0fdd5fc7b8c1969c2506031b9c54f43a1e06", kill_on_drop: false }` [INFO] [stdout] 4c0038a8de2bb81fbf9e18bf121f0fdd5fc7b8c1969c2506031b9c54f43a1e06