[INFO] fetching crate near-sdk 3.0.0-pre.2... [INFO] checking near-sdk-3.0.0-pre.2 against master#f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 for pr-83312 [INFO] extracting crate near-sdk 3.0.0-pre.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate near-sdk 3.0.0-pre.2 on toolchain f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "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] ae8ed9436d5ece05684f4a3885f71ad163f18dccddd94aecc3b7c76f50dba530 [INFO] running `Command { std: "docker" "start" "-a" "ae8ed9436d5ece05684f4a3885f71ad163f18dccddd94aecc3b7c76f50dba530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae8ed9436d5ece05684f4a3885f71ad163f18dccddd94aecc3b7c76f50dba530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8ed9436d5ece05684f4a3885f71ad163f18dccddd94aecc3b7c76f50dba530", kill_on_drop: false }` [INFO] [stdout] ae8ed9436d5ece05684f4a3885f71ad163f18dccddd94aecc3b7c76f50dba530 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f345bcb031f318b11ba85ff34c03d745eb8eda8cdb1ddaa00315e9c29782e996 [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" "f345bcb031f318b11ba85ff34c03d745eb8eda8cdb1ddaa00315e9c29782e996", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [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 typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling ryu v1.0.5 [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] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking near-runtime-utils v3.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking wee_alloc v0.4.5 [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 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 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.13 [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] Checking trybuild v1.0.41 [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" "f345bcb031f318b11ba85ff34c03d745eb8eda8cdb1ddaa00315e9c29782e996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f345bcb031f318b11ba85ff34c03d745eb8eda8cdb1ddaa00315e9c29782e996", kill_on_drop: false }` [INFO] [stdout] f345bcb031f318b11ba85ff34c03d745eb8eda8cdb1ddaa00315e9c29782e996