[INFO] fetching crate near-sdk 3.0.0-pre.2... [INFO] checking near-sdk-3.0.0-pre.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate near-sdk 3.0.0-pre.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate near-sdk 3.0.0-pre.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-vm-logic v3.0.0 [INFO] [stderr] Downloaded near-sdk-macros v3.0.0-pre.2 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 7e53ecb448cc9879c5c5134ad99132c83a87c5b8ef00b0818691f8bd6b5bb117 [INFO] running `Command { std: "docker" "start" "-a" "7e53ecb448cc9879c5c5134ad99132c83a87c5b8ef00b0818691f8bd6b5bb117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e53ecb448cc9879c5c5134ad99132c83a87c5b8ef00b0818691f8bd6b5bb117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e53ecb448cc9879c5c5134ad99132c83a87c5b8ef00b0818691f8bd6b5bb117", kill_on_drop: false }` [INFO] [stdout] 7e53ecb448cc9879c5c5134ad99132c83a87c5b8ef00b0818691f8bd6b5bb117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37fbd292db67ba75586ba4b310d93205678c92c60d4b27cebe7c84cbd36c946c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "37fbd292db67ba75586ba4b310d93205678c92c60d4b27cebe7c84cbd36c946c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling trybuild v1.0.41 [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 hashbrown v0.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking typenum v1.13.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking near-runtime-utils v3.0.0 [INFO] [stderr] Checking env_logger v0.7.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 generic-array v0.14.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking sha3 v0.9.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 derive_more v0.99.11 [INFO] [stderr] Compiling near-sdk-macros v3.0.0-pre.2 [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-vm-errors v3.0.0 [INFO] [stderr] Checking near-primitives-core v0.1.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 12s [INFO] running `Command { std: "docker" "inspect" "37fbd292db67ba75586ba4b310d93205678c92c60d4b27cebe7c84cbd36c946c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37fbd292db67ba75586ba4b310d93205678c92c60d4b27cebe7c84cbd36c946c", kill_on_drop: false }` [INFO] [stdout] 37fbd292db67ba75586ba4b310d93205678c92c60d4b27cebe7c84cbd36c946c