[INFO] fetching crate concordium-std 0.5.0...
[INFO] testing concordium-std-0.5.0 against 1.54.0 for beta-1.55-1
[INFO] extracting crate concordium-std 0.5.0 into /workspace/builds/worker-71/source
[INFO] validating manifest of crates.io crate concordium-std 0.5.0 on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate concordium-std 0.5.0
[INFO] finished tweaking crates.io crate concordium-std 0.5.0
[INFO] tweaked toml for crates.io crate concordium-std 0.5.0 written to /workspace/builds/worker-71/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6077f85478e665b765192133ea25c570c95dc7b748466a0679b14fc25146705
[INFO] running `Command { std: "docker" "start" "-a" "d6077f85478e665b765192133ea25c570c95dc7b748466a0679b14fc25146705", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6077f85478e665b765192133ea25c570c95dc7b748466a0679b14fc25146705", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6077f85478e665b765192133ea25c570c95dc7b748466a0679b14fc25146705", kill_on_drop: false }`
[INFO] [stdout] d6077f85478e665b765192133ea25c570c95dc7b748466a0679b14fc25146705
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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=warn" "-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" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84a469a88d752f90bc9cbe626038da8d04238e6924e45fec482121eb7bc8ee7e
[INFO] running `Command { std: "docker" "start" "-a" "84a469a88d752f90bc9cbe626038da8d04238e6924e45fec482121eb7bc8ee7e", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling memory_units v0.4.0
[INFO] [stderr]    Compiling concordium-contracts-common v0.4.0
[INFO] [stderr]    Compiling quote v1.0.0
[INFO] [stderr]    Compiling concordium-std-derive v0.5.0
[INFO] [stderr]    Compiling concordium-std v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/types.rs:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:628:23
[INFO] [stdout]     |
[INFO] [stdout] 628 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:638:22
[INFO] [stdout]     |
[INFO] [stdout] 638 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:657:21
[INFO] [stdout]     |
[INFO] [stdout] 657 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:665:13
[INFO] [stdout]     |
[INFO] [stdout] 665 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |               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 the macro `fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             std::panic::panic_any(msg)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 15.79s
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "84a469a88d752f90bc9cbe626038da8d04238e6924e45fec482121eb7bc8ee7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84a469a88d752f90bc9cbe626038da8d04238e6924e45fec482121eb7bc8ee7e", kill_on_drop: false }`
[INFO] [stdout] 84a469a88d752f90bc9cbe626038da8d04238e6924e45fec482121eb7bc8ee7e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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=warn" "-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" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 12c203eff773058bb5f437253b593da40d497d0bb8c764313da2ec563c3866b1
[INFO] running `Command { std: "docker" "start" "-a" "12c203eff773058bb5f437253b593da40d497d0bb8c764313da2ec563c3866b1", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/types.rs:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:628:23
[INFO] [stdout]     |
[INFO] [stdout] 628 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:638:22
[INFO] [stdout]     |
[INFO] [stdout] 638 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:657:21
[INFO] [stdout]     |
[INFO] [stdout] 657 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:665:13
[INFO] [stdout]     |
[INFO] [stdout] 665 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |               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 the macro `fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             std::panic::panic_any(msg)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling concordium-std v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/types.rs:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:628:23
[INFO] [stdout]     |
[INFO] [stdout] 628 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:638:22
[INFO] [stdout]     |
[INFO] [stdout] 638 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:657:21
[INFO] [stdout]     |
[INFO] [stdout] 657 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |             panic!(msg)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/impls.rs:665:13
[INFO] [stdout]     |
[INFO] [stdout] 665 |             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 the macro `crate::fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             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:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |               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 the macro `fail` (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] 167 |             panic!("{}", msg)
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 167 |             std::panic::panic_any(msg)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.54s
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "12c203eff773058bb5f437253b593da40d497d0bb8c764313da2ec563c3866b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12c203eff773058bb5f437253b593da40d497d0bb8c764313da2ec563c3866b1", kill_on_drop: false }`
[INFO] [stdout] 12c203eff773058bb5f437253b593da40d497d0bb8c764313da2ec563c3866b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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=warn" "-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" "+1.54.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6eca305a2af3caae08789cac89aa0c55aef25c46b69272ec1bfecc35d6901d96
[INFO] running `Command { std: "docker" "start" "-a" "6eca305a2af3caae08789cac89aa0c55aef25c46b69272ec1bfecc35d6901d96", kill_on_drop: false }`
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/types.rs:167:20
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!(msg)
[INFO] [stderr]     |                    ^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/impls.rs:628:23
[INFO] [stderr]     |
[INFO] [stderr] 628 |             Err(e) => crate::fail!("{}: {:?}", msg, e),
[INFO] [stderr]     |                       -------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: this warning originates in the macro `crate::fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!("{}", msg)
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 167 |             std::panic::panic_any(msg)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/types.rs:167:20
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!(msg)
[INFO] [stderr]     |                    ^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/impls.rs:638:22
[INFO] [stderr]     |
[INFO] [stderr] 638 |             Ok(a) => crate::fail!("{}: {:?}", msg, a),
[INFO] [stderr]     |                      -------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: this warning originates in the macro `crate::fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!("{}", msg)
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 167 |             std::panic::panic_any(msg)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/types.rs:167:20
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!(msg)
[INFO] [stderr]     |                    ^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/impls.rs:657:21
[INFO] [stderr]     |
[INFO] [stderr] 657 |             None => crate::fail!("{}", msg),
[INFO] [stderr]     |                     ----------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: this warning originates in the macro `crate::fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!("{}", msg)
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 167 |             std::panic::panic_any(msg)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/types.rs:167:20
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!(msg)
[INFO] [stderr]     |                    ^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/impls.rs:665:13
[INFO] [stderr]     |
[INFO] [stderr] 665 |             crate::fail!("{}: {:?}", msg, x)
[INFO] [stderr]     |             -------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: this warning originates in the macro `crate::fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!("{}", msg)
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 167 |             std::panic::panic_any(msg)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/types.rs:167:20
[INFO] [stderr]     |
[INFO] [stderr] 167 |               panic!(msg)
[INFO] [stderr]     |                      ^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/test_infrastructure.rs:357:17
[INFO] [stderr]     |
[INFO] [stderr] 357 |           None => fail!(
[INFO] [stderr]     |  _________________-
[INFO] [stderr] 358 | |             "Unset field on test context '{}', make sure to set all the field necessary for the \
[INFO] [stderr] 359 | |              contract",
[INFO] [stderr] 360 | |             name
[INFO] [stderr] 361 | |         ),
[INFO] [stderr]     | |_________- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!("{}", msg)
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 167 |             std::panic::panic_any(msg)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: 5 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/types.rs:167:20
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!(msg)
[INFO] [stderr]     |                    ^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/impls.rs:628:23
[INFO] [stderr]     |
[INFO] [stderr] 628 |             Err(e) => crate::fail!("{}: {:?}", msg, e),
[INFO] [stderr]     |                       -------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: this warning originates in the macro `crate::fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!("{}", msg)
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 167 |             std::panic::panic_any(msg)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/types.rs:167:20
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!(msg)
[INFO] [stderr]     |                    ^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/impls.rs:638:22
[INFO] [stderr]     |
[INFO] [stderr] 638 |             Ok(a) => crate::fail!("{}: {:?}", msg, a),
[INFO] [stderr]     |                      -------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: this warning originates in the macro `crate::fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!("{}", msg)
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 167 |             std::panic::panic_any(msg)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/types.rs:167:20
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!(msg)
[INFO] [stderr]     |                    ^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/impls.rs:657:21
[INFO] [stderr]     |
[INFO] [stderr] 657 |             None => crate::fail!("{}", msg),
[INFO] [stderr]     |                     ----------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: this warning originates in the macro `crate::fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!("{}", msg)
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 167 |             std::panic::panic_any(msg)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/types.rs:167:20
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!(msg)
[INFO] [stderr]     |                    ^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/impls.rs:665:13
[INFO] [stderr]     |
[INFO] [stderr] 665 |             crate::fail!("{}: {:?}", msg, x)
[INFO] [stderr]     |             -------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: this warning originates in the macro `crate::fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!("{}", msg)
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 167 |             std::panic::panic_any(msg)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/types.rs:167:20
[INFO] [stderr]     |
[INFO] [stderr] 167 |               panic!(msg)
[INFO] [stderr]     |                      ^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/test_infrastructure.rs:357:17
[INFO] [stderr]     |
[INFO] [stderr] 357 |           None => fail!(
[INFO] [stderr]     |  _________________-
[INFO] [stderr] 358 | |             "Unset field on test context '{}', make sure to set all the field necessary for the \
[INFO] [stderr] 359 | |              contract",
[INFO] [stderr] 360 | |             name
[INFO] [stderr] 361 | |         ),
[INFO] [stderr]     | |_________- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 167 |             panic!("{}", msg)
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 167 |             std::panic::panic_any(msg)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: 5 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/concordium_std-31a1881f4001f9d6)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_infrastructure::test::test_contract_state ... ok
[INFO] [stdout] test test_infrastructure::test::test_contract_state_write ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests concordium-std
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test src/lib.rs - (line 14) ... FAILED
[INFO] [stdout] test src/test_infrastructure.rs - test_infrastructure (line 11) ... FAILED
[INFO] [stdout] test src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 130) ... FAILED
[INFO] [stdout] test src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 140) ... FAILED
[INFO] [stdout] test src/types.rs - types::ReceiveResult (line 257) ... FAILED
[INFO] [stdout] test src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 214) ... FAILED
[INFO] [stdout] test src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 221) ... FAILED
[INFO] [stdout] test src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 209) ... FAILED
[INFO] [stdout] test src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 197) ... FAILED
[INFO] [stdout] test src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 152) ... FAILED
[INFO] [stdout] test src/types.rs - types::InitResult (line 283) ... FAILED
[INFO] [stdout] test src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 145) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 14) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `default`
[INFO] [stdout]  --> src/lib.rs:16:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | [dependencies.concordium-std]
[INFO] [stdout]   |                              - expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 4 | default-features = false
[INFO] [stdout]   | ^^^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/test_infrastructure.rs - test_infrastructure (line 11) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/test_infrastructure.rs:16:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | ) -> InitResult<State> { ... }
[INFO] [stdout]   |                          ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 | ) -> InitResult<State> { .. }
[INFO] [stdout]   |                          ^^
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 | ) -> InitResult<State> { ..= }
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/test_infrastructure.rs:16:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | ) -> InitResult<State> { ... }
[INFO] [stdout]   |                          ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/test_infrastructure.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 15 | ) -> ReceiveResult<A> { ... }
[INFO] [stdout]    |                         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 15 | ) -> ReceiveResult<A> { .. }
[INFO] [stdout]    |                         ^^
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 15 | ) -> ReceiveResult<A> { ..= }
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/test_infrastructure.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 15 | ) -> ReceiveResult<A> { ... }
[INFO] [stdout]    |                         ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/test_infrastructure.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         ...
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 25 |         ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 25 |         ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/test_infrastructure.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         ...
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 28 |         ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 28 |         ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/test_infrastructure.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         ...
[INFO] [stdout]    |         ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/test_infrastructure.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         ...
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 35 |         ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 35 |         ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/test_infrastructure.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         ...
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 39 |         ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 39 |         ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/test_infrastructure.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         ...
[INFO] [stdout]    |         ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `receive` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:18:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[receive(contract = "noop", name = "receive", payable, enable_logger)]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `init` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:13:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[init(contract = "noop")]
[INFO] [stdout]   |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasInitContext` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:14:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn contract_init<I: HasInitContext, L: HasLogger>(
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 3 | use concordium_std::HasInitContext;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasLogger` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:14:40
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn contract_init<I: HasInitContext, L: HasLogger>(
[INFO] [stdout]   |                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 3 | use concordium_std::HasLogger;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `InitResult` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:16:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | ) -> InitResult<State> { ... }
[INFO] [stdout]   |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 3 | use concordium_std::InitResult;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:16:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn contract_init<I: HasInitContext, L: HasLogger>(
[INFO] [stdout]   |                                                 - help: you might be missing a type parameter: `, State`
[INFO] [stdout] 6 |     ctx: &I,
[INFO] [stdout] 7 | ) -> InitResult<State> { ... }
[INFO] [stdout]   |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasReceiveContext` in this scope
[INFO] [stdout]   --> src/test_infrastructure.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn contract_receive<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 3  | use concordium_std::HasReceiveContext;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasLogger` in this scope
[INFO] [stdout]   --> src/test_infrastructure.rs:19:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn contract_receive<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]    |                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 3  | use concordium_std::HasLogger;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasActions` in this scope
[INFO] [stdout]   --> src/test_infrastructure.rs:19:60
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn contract_receive<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]    |                                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 3  | use concordium_std::HasActions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Amount` in this scope
[INFO] [stdout]   --> src/test_infrastructure.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     amount: Amount,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use concordium_contracts_common::Amount;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use concordium_std::Amount;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/test_infrastructure.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     state: &mut State,
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ReceiveResult` in this scope
[INFO] [stdout]   --> src/test_infrastructure.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | ) -> ReceiveResult<A> { ... }
[INFO] [stdout]    |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 3  | use concordium_std::ReceiveResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `let` expressions in this position are experimental
[INFO] [stdout]   --> src/test_infrastructure.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let result = contract_init(&ctx);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
[INFO] [stdout]    = help: you can write `matches!(<expr>, <pattern>)` instead of `let <pattern> = <expr>`
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `let` expressions in this position are experimental
[INFO] [stdout]   --> src/test_infrastructure.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut logger = LogRecorder::init();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
[INFO] [stdout]    = help: you can write `matches!(<expr>, <pattern>)` instead of `let <pattern> = <expr>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0586, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 130) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InitContextTest`
[INFO] [stdout]  --> src/test_infrastructure.rs:131:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut ctx = InitContextTest::empty();
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::test_infrastructure::InitContextTest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AccountAddress` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:132:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | ctx.set_init_origin(AccountAddress([0u8; 32]));
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_contracts_common::AccountAddress;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_contracts_common::schema::Type::AccountAddress;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::AccountAddress;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::schema::Type::AccountAddress;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 140) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InitContextTest`
[INFO] [stdout]  --> src/test_infrastructure.rs:141:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut ctx = InitContextTest::empty();
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::test_infrastructure::InitContextTest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types.rs - types::ReceiveResult (line 257) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/types.rs:268:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | ) -> Result<A, MyCustomError> { ... }
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 | ) -> Result<A, MyCustomError> { .. }
[INFO] [stdout]    |                                 ^^
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 | ) -> Result<A, MyCustomError> { ..= }
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/types.rs:268:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | ) -> Result<A, MyCustomError> { ... }
[INFO] [stdout]    |                                 ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `receive` in this scope
[INFO] [stdout]  --> src/types.rs:262:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[receive(contract = "mycontract", name = "receive")]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasReceiveContext` in this scope
[INFO] [stdout]  --> src/types.rs:263:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn contract_receive<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasReceiveContext;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasLogger` in this scope
[INFO] [stdout]  --> src/types.rs:263:46
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn contract_receive<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]   |                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasLogger;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasActions` in this scope
[INFO] [stdout]  --> src/types.rs:263:60
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn contract_receive<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]   |                                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasActions;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Amount` in this scope
[INFO] [stdout]   --> src/types.rs:265:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     receive_amount: Amount,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use concordium_contracts_common::Amount;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use concordium_std::Amount;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/types.rs:267:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     state: &mut State,
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 214) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReceiveContextTest`
[INFO] [stdout]  --> src/test_infrastructure.rs:215:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut ctx = ReceiveContextTest::empty();
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::test_infrastructure::ReceiveContextTest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 221) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/test_infrastructure.rs:243:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         ...
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 24 |         ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 24 |         ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `=`, `@`, or `|`, found `:`
[INFO] [stdout]   --> src/test_infrastructure.rs:244:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let result: ReceiveResult<ActionsTree> = contract_receive(&ctx, 0, &mut logger, state);
[INFO] [stdout]    |                   ^ expected one of `=`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `receive` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:222:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[receive(contract = "mycontract", name = "receive")]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `ensure` in this scope
[INFO] [stdout]   --> src/test_infrastructure.rs:229:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ensure!(ctx.sender().matches_account(&ctx.owner()), "Only the owner can increment.");
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this macro:
[INFO] [stdout]            concordium_std::ensure
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasReceiveContext` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:223:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn contract_receive<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasReceiveContext;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasLogger` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:223:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn contract_receive<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]   |                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasLogger;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasActions` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:223:60
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn contract_receive<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]   |                                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasActions;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Amount` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:225:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     amount: Amount,
[INFO] [stdout]   |             ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_contracts_common::Amount;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::Amount;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:227:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |     state: &mut State,
[INFO] [stdout]   |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ReceiveResult` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:228:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | ) -> ReceiveResult<A> {
[INFO] [stdout]   |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::ReceiveResult;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 209) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReceiveContextTest`
[INFO] [stdout]  --> src/test_infrastructure.rs:210:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut ctx = ReceiveContextTest::empty();
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::test_infrastructure::ReceiveContextTest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 197) stdout ----
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AccountAddress` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:198:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let owner = AccountAddress([0u8; 32]);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_contracts_common::AccountAddress;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_contracts_common::schema::Type::AccountAddress;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::AccountAddress;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::schema::Type::AccountAddress;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReceiveContextTest`
[INFO] [stdout]  --> src/test_infrastructure.rs:199:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut ctx = ReceiveContextTest::empty();
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::test_infrastructure::ReceiveContextTest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address`
[INFO] [stdout]  --> src/test_infrastructure.rs:201:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | ctx.set_sender(Address::Account(owner));
[INFO] [stdout]   |                ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_contracts_common::Address;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::Address;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 152) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/test_infrastructure.rs:172:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ...
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `init` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:153:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[init(contract = "noop")]
[INFO] [stdout]   |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasInitContext` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:154:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn contract_init<I: HasInitContext, L: HasLogger>(
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasInitContext;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasLogger` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:154:40
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn contract_init<I: HasInitContext, L: HasLogger>(
[INFO] [stdout]   |                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasLogger;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Amount` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:156:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     _amount: Amount,
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_contracts_common::Amount;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::Amount;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `InitResult` in this scope
[INFO] [stdout]  --> src/test_infrastructure.rs:158:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | ) -> InitResult<()> {
[INFO] [stdout]   |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::InitResult;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SomeParameterType` in this scope
[INFO] [stdout]   --> src/test_infrastructure.rs:160:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let parameter: SomeParameterType = ctx.parameter_cursor().get()?;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `let` expressions in this position are experimental
[INFO] [stdout]   --> src/test_infrastructure.rs:173:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let result = contract_init(&ctx, 0, &mut logger);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
[INFO] [stdout]    = help: you can write `matches!(<expr>, <pattern>)` instead of `let <pattern> = <expr>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types.rs - types::InitResult (line 283) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/types.rs:293:37
[INFO] [stdout]    |
[INFO] [stdout] 12 | ) -> Result<State, MyCustomError> { ... }
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 12 | ) -> Result<State, MyCustomError> { .. }
[INFO] [stdout]    |                                     ^^
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 12 | ) -> Result<State, MyCustomError> { ..= }
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/types.rs:293:37
[INFO] [stdout]    |
[INFO] [stdout] 12 | ) -> Result<State, MyCustomError> { ... }
[INFO] [stdout]    |                                     ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `init` in this scope
[INFO] [stdout]  --> src/types.rs:288:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[init(contract = "mycontract")]
[INFO] [stdout]   |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasReceiveContext` in this scope
[INFO] [stdout]  --> src/types.rs:289:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn contract_init<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasReceiveContext;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasLogger` in this scope
[INFO] [stdout]  --> src/types.rs:289:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn contract_init<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]   |                                           ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasLogger;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HasActions` in this scope
[INFO] [stdout]  --> src/types.rs:289:57
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn contract_init<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]   |                                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::HasActions;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Amount` in this scope
[INFO] [stdout]   --> src/types.rs:291:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     receive_amount: Amount,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use concordium_contracts_common::Amount;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use concordium_std::Amount;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/types.rs:293:13
[INFO] [stdout]    |
[INFO] [stdout] 8  | fn contract_init<R: HasReceiveContext, L: HasLogger, A: HasActions>(
[INFO] [stdout]    |                                                                   - help: you might be missing a type parameter: `, State`
[INFO] [stdout] ...
[INFO] [stdout] 12 | ) -> Result<State, MyCustomError> { ... }
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 145) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InitContextTest`
[INFO] [stdout]  --> src/test_infrastructure.rs:146:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut ctx = InitContextTest::empty();
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 | use concordium_std::test_infrastructure::InitContextTest;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 14)
[INFO] [stdout]     src/test_infrastructure.rs - test_infrastructure (line 11)
[INFO] [stdout]     src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 130)
[INFO] [stdout]     src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 140)
[INFO] [stdout]     src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 145)
[INFO] [stdout]     src/test_infrastructure.rs - test_infrastructure::InitContextTest (line 152)
[INFO] [stdout]     src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 197)
[INFO] [stdout]     src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 209)
[INFO] [stdout]     src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 214)
[INFO] [stdout]     src/test_infrastructure.rs - test_infrastructure::ReceiveContextTest (line 221)
[INFO] [stdout]     src/types.rs - types::InitResult (line 283)
[INFO] [stdout]     src/types.rs - types::ReceiveResult (line 257)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "6eca305a2af3caae08789cac89aa0c55aef25c46b69272ec1bfecc35d6901d96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6eca305a2af3caae08789cac89aa0c55aef25c46b69272ec1bfecc35d6901d96", kill_on_drop: false }`
[INFO] [stdout] 6eca305a2af3caae08789cac89aa0c55aef25c46b69272ec1bfecc35d6901d96
