[INFO] fetching crate concordium-std 0.4.1... [INFO] checking concordium-std-0.4.1 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate concordium-std 0.4.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate concordium-std 0.4.1 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 concordium-std 0.4.1 [INFO] finished tweaking crates.io crate concordium-std 0.4.1 [INFO] tweaked toml for crates.io crate concordium-std 0.4.1 written to /workspace/builds/worker-2/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 concordium-std-derive v0.4.0 [INFO] [stderr] Downloaded concordium-contracts-common v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 15d2030bad7093d5a710dfcc2feab2f199fe4243e9283291a2a16fbaa0385df6 [INFO] running `Command { std: "docker" "start" "-a" "15d2030bad7093d5a710dfcc2feab2f199fe4243e9283291a2a16fbaa0385df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15d2030bad7093d5a710dfcc2feab2f199fe4243e9283291a2a16fbaa0385df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d2030bad7093d5a710dfcc2feab2f199fe4243e9283291a2a16fbaa0385df6", kill_on_drop: false }` [INFO] [stdout] 15d2030bad7093d5a710dfcc2feab2f199fe4243e9283291a2a16fbaa0385df6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 77a574cc4dfff2e8c0e68894ef4e23e4feee81190a366132a91862cd77d44546 [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" "77a574cc4dfff2e8c0e68894ef4e23e4feee81190a366132a91862cd77d44546", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking concordium-contracts-common v0.3.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling quote v1.0.0 [INFO] [stderr] Compiling concordium-std-derive v0.4.0 [INFO] [stderr] Checking concordium-std v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/impls.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/impls.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/impls.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/impls.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/impls.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | use convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/impls.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/impls.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/impls.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/impls.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/impls.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | use convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/impls.rs:556:23 [INFO] [stdout] | [INFO] [stdout] 556 | Err(e) => crate::fail!("{}: {:?}", msg, e), [INFO] [stdout] | -------------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 128 | panic!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 128 | std::panic::panic_any(msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/impls.rs:566:22 [INFO] [stdout] | [INFO] [stdout] 566 | Ok(a) => crate::fail!("{}: {:?}", msg, a), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 128 | panic!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 128 | std::panic::panic_any(msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/impls.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | None => crate::fail!("{}", msg), [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 128 | panic!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 128 | std::panic::panic_any(msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/impls.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | crate::fail!("{}: {:?}", msg, x) [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 128 | panic!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 128 | std::panic::panic_any(msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/test_infrastructure.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | None => fail!( [INFO] [stdout] | _________________- [INFO] [stdout] 358 | | "Unset field on test context '{}', make sure to set all the field necessary for the \ [INFO] [stdout] 359 | | contract", [INFO] [stdout] 360 | | name [INFO] [stdout] 361 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 128 | panic!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 128 | std::panic::panic_any(msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/impls.rs:556:23 [INFO] [stdout] | [INFO] [stdout] 556 | Err(e) => crate::fail!("{}: {:?}", msg, e), [INFO] [stdout] | -------------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 128 | panic!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 128 | std::panic::panic_any(msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/impls.rs:566:22 [INFO] [stdout] | [INFO] [stdout] 566 | Ok(a) => crate::fail!("{}: {:?}", msg, a), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 128 | panic!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 128 | std::panic::panic_any(msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/impls.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | None => crate::fail!("{}", msg), [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 128 | panic!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 128 | std::panic::panic_any(msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/impls.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | crate::fail!("{}: {:?}", msg, x) [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 128 | panic!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 128 | std::panic::panic_any(msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/test_infrastructure.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | None => fail!( [INFO] [stdout] | _________________- [INFO] [stdout] 358 | | "Unset field on test context '{}', make sure to set all the field necessary for the \ [INFO] [stdout] 359 | | contract", [INFO] [stdout] 360 | | name [INFO] [stdout] 361 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 128 | panic!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 128 | std::panic::panic_any(msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.16s [INFO] running `Command { std: "docker" "inspect" "77a574cc4dfff2e8c0e68894ef4e23e4feee81190a366132a91862cd77d44546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a574cc4dfff2e8c0e68894ef4e23e4feee81190a366132a91862cd77d44546", kill_on_drop: false }` [INFO] [stdout] 77a574cc4dfff2e8c0e68894ef4e23e4feee81190a366132a91862cd77d44546