[INFO] fetching crate concordium-std 10.1.0... [INFO] checking concordium-std-10.1.0 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate concordium-std 10.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate concordium-std 10.1.0 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate concordium-std 10.1.0 [INFO] finished tweaking crates.io crate concordium-std 10.1.0 [INFO] tweaked toml for crates.io crate concordium-std 10.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 80 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding curve25519-dalek v3.2.1 (latest: v4.1.3) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding ed25519-zebra v2.2.0 (latest: v4.0.3) [INFO] [stderr] Adding env_logger v0.8.4 (latest: v0.11.5) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding hashbrown v0.11.2 (latest: v0.14.5) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding secp256k1 v0.22.2 (latest: v0.29.0) [INFO] [stderr] Adding secp256k1-sys v0.5.2 (latest: v0.10.0) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding zeroize v1.3.0 (latest: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded secp256k1 v0.22.2 [INFO] [stderr] Downloaded ed25519-zebra v2.2.0 [INFO] [stderr] Downloaded concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Downloaded concordium-contracts-common v9.1.0 [INFO] [stderr] Downloaded secp256k1-sys v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b385fad86bce855c3a07245fd04e3b9539d99cd107e37136c31d11fdb4061ba [INFO] running `Command { std: "docker" "start" "-a" "8b385fad86bce855c3a07245fd04e3b9539d99cd107e37136c31d11fdb4061ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b385fad86bce855c3a07245fd04e3b9539d99cd107e37136c31d11fdb4061ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b385fad86bce855c3a07245fd04e3b9539d99cd107e37136c31d11fdb4061ba", kill_on_drop: false }` [INFO] [stdout] 8b385fad86bce855c3a07245fd04e3b9539d99cd107e37136c31d11fdb4061ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce39b89ea4e70f10389dfddadf17758a0566ce5ef97c0c2924b740b32e446e1d [INFO] running `Command { std: "docker" "start" "-a" "ce39b89ea4e70f10389dfddadf17758a0566ce5ef97c0c2924b740b32e446e1d", kill_on_drop: false }` [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking concordium-contracts-common v9.1.0 [INFO] [stderr] Checking concordium-std v10.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::TestStateApi` [INFO] [stdout] --> src/test_infrastructure.rs:1933:9 [INFO] [stdout] | [INFO] [stdout] 1933 | use super::TestStateApi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deletable`, `EntryRaw`, `HasStateApi`, `INITIAL_NEXT_ITEM_PREFIX`, `StateBTreeSet`, `StateMap`, `StateSet`, and `TestStateBuilder` [INFO] [stdout] --> src/test_infrastructure.rs:1937:31 [INFO] [stdout] | [INFO] [stdout] 1937 | test_infrastructure::{TestStateBuilder, TestStateEntry}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1938 | Deletable, EntryRaw, HasStateApi, HasStateEntry, StateBTreeSet, StateMap, StateSet, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 1939 | INITIAL_NEXT_ITEM_PREFIX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserial` and `to_bytes` [INFO] [stdout] --> src/test_infrastructure.rs:1941:39 [INFO] [stdout] | [INFO] [stdout] 1941 | use concordium_contracts_common::{to_bytes, Deserial, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::test::test_contract_state`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure.rs:2002:5 [INFO] [stdout] | [INFO] [stdout] 2002 | / fn test_contract_state() { [INFO] [stdout] 2003 | | let data = Rc::new(RefCell::new(vec![1; 100].into())); [INFO] [stdout] 2004 | | let mut state = TestStateEntry::open(data, Vec::new(), 0); [INFO] [stdout] 2005 | | assert_eq!(state.seek(SeekFrom::Start(100)), Ok(100), "Seeking to the end failed."); [INFO] [stdout] ... | [INFO] [stdout] 2059 | | ); [INFO] [stdout] 2060 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::test::test_contract_state_write`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure.rs:2063:5 [INFO] [stdout] | [INFO] [stdout] 2063 | / fn test_contract_state_write() { [INFO] [stdout] 2064 | | let data = Rc::new(RefCell::new(vec![0u8; 10].into())); [INFO] [stdout] 2065 | | let mut state = TestStateEntry::open(data, Vec::new(), 0); [INFO] [stdout] 2066 | | assert_eq!(state.write(&1u64.to_le_bytes()), Ok(8), "Incorrect number of bytes written."); [INFO] [stdout] ... | [INFO] [stdout] 2077 | | ); [INFO] [stdout] 2078 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::test::test_testhost_balance_queries_reflect_invoke`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure.rs:1968:5 [INFO] [stdout] | [INFO] [stdout] 1968 | / fn test_testhost_balance_queries_reflect_invoke() { [INFO] [stdout] 1969 | | use super::*; [INFO] [stdout] 1970 | | let mut host = TestHost::new((), TestStateBuilder::new()); [INFO] [stdout] ... | [INFO] [stdout] 1995 | | assert_eq!(self_new_balance, Amount::from_micro_ccd(2000)); [INFO] [stdout] 1996 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::test::test_testhost_balance_queries_reflect_transfers`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure.rs:1944:5 [INFO] [stdout] | [INFO] [stdout] 1944 | / fn test_testhost_balance_queries_reflect_transfers() { [INFO] [stdout] 1945 | | use super::*; [INFO] [stdout] 1946 | | let mut host = TestHost::new((), TestStateBuilder::new()); [INFO] [stdout] ... | [INFO] [stdout] 1964 | | assert_eq!(self_new_balance, Amount::from_micro_ccd(1000)); [INFO] [stdout] 1965 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::delete_entry_test`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | / fn delete_entry_test() { [INFO] [stdout] 390 | | let key1 = [0]; [INFO] [stdout] 391 | | let key2 = [0, 0]; // A leaf, which is the child of the key1 node. [INFO] [stdout] 392 | | let mut trie = StateTrie::new(); [INFO] [stdout] ... | [INFO] [stdout] 402 | | assert!(trie.lookup(&key2).is_some()); // The child should still exist. [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::delete_prefix_test`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | / fn delete_prefix_test() { [INFO] [stdout] 407 | | let key1 = [0]; [INFO] [stdout] 408 | | let key2 = [0, 0]; [INFO] [stdout] 409 | | let key3 = [0, 0, 0]; [INFO] [stdout] ... | [INFO] [stdout] 420 | | assert!(trie.lookup(&key3).is_none()); [INFO] [stdout] 421 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::double_create_overwrites_data`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | / fn double_create_overwrites_data() { [INFO] [stdout] 425 | | let key = []; [INFO] [stdout] 426 | | let mut trie = StateTrie::new(); [INFO] [stdout] 427 | | create_entry(&mut trie, &key) [INFO] [stdout] ... | [INFO] [stdout] 434 | | assert!(res.is_err()) [INFO] [stdout] 435 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::index_conversion`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | / fn index_conversion() { [INFO] [stdout] 476 | | let expected_key1 = [1, 2, 3, 4, 5, 6, 7]; [INFO] [stdout] 477 | | let expected_key2 = [92, 255, 23, 5]; [INFO] [stdout] 478 | | let index1 = super::to_indexes(&expected_key1); [INFO] [stdout] ... | [INFO] [stdout] 483 | | assert_eq!(expected_key2, &actual_key2[..]); [INFO] [stdout] 484 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::insert_get_test`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | / fn insert_get_test() { [INFO] [stdout] 375 | | let expected_value = "hello"; [INFO] [stdout] 376 | | let key = [0, 1, 2]; [INFO] [stdout] 377 | | let mut trie = StateTrie::new(); [INFO] [stdout] ... | [INFO] [stdout] 385 | | assert_eq!(&expected_value, &actual_value); [INFO] [stdout] 386 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::iterator_test`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | / fn iterator_test() { [INFO] [stdout] 439 | | let mut trie = StateTrie::new(); [INFO] [stdout] 440 | | [INFO] [stdout] 441 | | create_entry(&mut trie, b"a").write_u8(42).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 471 | | assert!(new_trie.next().is_none()); [INFO] [stdout] 472 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::read_from_deleted_aliased_entry_should_fail`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 516 | / fn read_from_deleted_aliased_entry_should_fail() { [INFO] [stdout] 517 | | let mut trie = StateTrie::new(); [INFO] [stdout] 518 | | let mut entry = create_entry(&mut trie, b"ab"); [INFO] [stdout] 519 | | let mut alias_entry = create_entry(&mut trie, b"ab"); [INFO] [stdout] ... | [INFO] [stdout] 522 | | assert!(alias_entry.read_u8().is_err()); [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::read_from_deleted_entry_should_fail`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | / fn read_from_deleted_entry_should_fail() { [INFO] [stdout] 506 | | let mut trie = StateTrie::new(); [INFO] [stdout] 507 | | let mut entry = create_entry(&mut trie, b"ab"); [INFO] [stdout] 508 | | assert!(entry.write_u8(1).is_ok()); [INFO] [stdout] ... | [INFO] [stdout] 512 | | assert!(entry.read_u8().is_err()); [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::seek_on_deleted_entry_should_fail`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / fn seek_on_deleted_entry_should_fail() { [INFO] [stdout] 497 | | let mut trie = StateTrie::new(); [INFO] [stdout] 498 | | let mut entry = create_entry(&mut trie, b"ab"); [INFO] [stdout] 499 | | assert!(entry.write_u8(1).is_ok()); [INFO] [stdout] 500 | | trie.delete_prefix(&[]).unwrap(); [INFO] [stdout] 501 | | assert!(entry.seek(SeekFrom::Start(0)).is_err()); [INFO] [stdout] 502 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::test_deep_clone`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 526 | / fn test_deep_clone() { [INFO] [stdout] 527 | | let mut trie = StateTrie::new(); [INFO] [stdout] 528 | | [INFO] [stdout] 529 | | // Create two entries [INFO] [stdout] ... | [INFO] [stdout] 565 | | assert!(trie_clone.lookup(b"qq").is_none()); [INFO] [stdout] 566 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `test_infrastructure::trie::tests::write_to_deleted_entry_should_fail`: Deprecated in favor of [concordium-smart-contract-testing](https://docs.rs/concordium-smart-contract-testing). [INFO] [stdout] --> src/test_infrastructure/trie.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | / fn write_to_deleted_entry_should_fail() { [INFO] [stdout] 488 | | let mut trie = StateTrie::new(); [INFO] [stdout] 489 | | let mut entry = create_entry(&mut trie, b"ab"); [INFO] [stdout] 490 | | assert!(entry.write_u8(1).is_ok()); [INFO] [stdout] 491 | | trie.delete_prefix(&[]).unwrap(); [INFO] [stdout] 492 | | assert!(entry.write_u8(1).is_err()); [INFO] [stdout] 493 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.85s [INFO] running `Command { std: "docker" "inspect" "ce39b89ea4e70f10389dfddadf17758a0566ce5ef97c0c2924b740b32e446e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce39b89ea4e70f10389dfddadf17758a0566ce5ef97c0c2924b740b32e446e1d", kill_on_drop: false }` [INFO] [stdout] ce39b89ea4e70f10389dfddadf17758a0566ce5ef97c0c2924b740b32e446e1d [INFO] checking concordium-std-10.1.0 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate concordium-std 10.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate concordium-std 10.1.0 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate concordium-std 10.1.0 [INFO] finished tweaking crates.io crate concordium-std 10.1.0 [INFO] tweaked toml for crates.io crate concordium-std 10.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 80 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding curve25519-dalek v3.2.1 (latest: v4.1.3) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding ed25519-zebra v2.2.0 (latest: v4.0.3) [INFO] [stderr] Adding env_logger v0.8.4 (latest: v0.11.5) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding hashbrown v0.11.2 (latest: v0.14.5) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding secp256k1 v0.22.2 (latest: v0.29.0) [INFO] [stderr] Adding secp256k1-sys v0.5.2 (latest: v0.10.0) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding zeroize v1.3.0 (latest: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c54170a35169ab33b853a9b9d0da962423e31849b9248c33adb22c514c29a40 [INFO] running `Command { std: "docker" "start" "-a" "7c54170a35169ab33b853a9b9d0da962423e31849b9248c33adb22c514c29a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c54170a35169ab33b853a9b9d0da962423e31849b9248c33adb22c514c29a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c54170a35169ab33b853a9b9d0da962423e31849b9248c33adb22c514c29a40", kill_on_drop: false }` [INFO] [stdout] 7c54170a35169ab33b853a9b9d0da962423e31849b9248c33adb22c514c29a40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ceece7a049faf66c1423cf167296bdfc0d8fde5265d3ff1e1da21cc81639bffc [INFO] running `Command { std: "docker" "start" "-a" "ceece7a049faf66c1423cf167296bdfc0d8fde5265d3ff1e1da21cc81639bffc", kill_on_drop: false }` [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking concordium-contracts-common v9.1.0 [INFO] [stderr] Checking concordium-std v10.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:906:27 [INFO] [stdout] | [INFO] [stdout] 904 | self.state_api.lookup_entry(&k).map(|mut entry| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 905 | // Unwrapping is safe when using only the high-level API. [INFO] [stdout] 906 | StateRef::new(V::deserial_with_state(&self.state_api, &mut entry).unwrap_abort()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:916:14 [INFO] [stdout] | [INFO] [stdout] 915 | let entry = self.state_api.lookup_entry(&k)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 916 | Some(StateRefMut::new(entry, self.state_api.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:926:15 [INFO] [stdout] | [INFO] [stdout] 923 | pub(crate) fn insert_borrowed(&mut self, key: &K, value: V) -> Option { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 926 | match self.state_api.entry(key_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:957:15 [INFO] [stdout] | [INFO] [stdout] 954 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V, S> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 957 | match self.state_api.lookup_entry(&key_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:1125:14 [INFO] [stdout] | [INFO] [stdout] 1116 | let mut entry = self.state_iter.as_mut()?.next()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1123 | let k = K::deserial(&mut key_cursor).unwrap_abort(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1124 | let v = V::deserial_with_state(&self.state_api, &mut entry).unwrap_abort(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | Some((StateRef::new(k), StateRef::new(v))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:1149:14 [INFO] [stdout] | [INFO] [stdout] 1138 | let entry = self.state_iter.as_mut()?.next()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1146 | let k = K::deserial(&mut key_cursor).unwrap_abort(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1149 | Some((StateRef::new(k), StateRefMut::new(entry, self.state_api.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:1248:9 [INFO] [stdout] | [INFO] [stdout] 1229 | pub fn update(&mut self, f: F) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1241 | let value = V::deserial_with_state(&self.state_api, entry).unwrap_abort(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1248 | value.serial(entry).unwrap_abort() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:1280:15 [INFO] [stdout] | [INFO] [stdout] 1278 | pub fn insert(&mut self, value: T) -> bool { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1279 | let key_bytes = self.key_with_set_prefix(&value); [INFO] [stdout] 1280 | match self.state_api.entry(key_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:1367:20 [INFO] [stdout] | [INFO] [stdout] 1364 | pub(crate) fn new(value: T, state_api: S, entry: S::EntryType) -> Self { [INFO] [stdout] | -------- ------------ ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1367 | inner: UnsafeCell::new(StateBoxInner::Loaded { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1368 | | entry, [INFO] [stdout] 1369 | | modified: true, [INFO] [stdout] 1370 | | value, [INFO] [stdout] 1371 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:1584:14 [INFO] [stdout] | [INFO] [stdout] 1576 | let entry = self.state_iter.as_mut()?.next()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1583 | let t = T::deserial_with_state(&self.state_api, &mut key_cursor).unwrap_abort(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1584 | Some(StateRef::new(t)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:2980:61 [INFO] [stdout] | [INFO] [stdout] 2980 | source.read_array().map(|map_prefix| StateMap::open(state.clone(), map_prefix)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls.rs:2990:61 [INFO] [stdout] | [INFO] [stdout] 2990 | source.read_array().map(|set_prefix| StateSet::open(state.clone(), set_prefix)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state_btree.rs:779:9 [INFO] [stdout] | [INFO] [stdout] 768 | fn remove_largest_key(&mut self, mut node: StateRefMut<'_, Node, StateApi>) -> K [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 779 | node.keys.pop().unwrap_abort() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state_btree.rs:887:9 [INFO] [stdout] | [INFO] [stdout] 880 | let mut node = self.get_node(node.children[child_index]); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 887 | node.keys.pop().unwrap_abort() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state_btree.rs:1097:14 [INFO] [stdout] | [INFO] [stdout] 1085 | let key = node.keys[*index].key.take().unwrap_abort(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1097 | Some(StateRef::new(key)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state_btree.rs:1128:14 [INFO] [stdout] | [INFO] [stdout] 1125 | let next_key = self.key_iter.next()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1126 | let value = self.map.get(&next_key).unwrap_abort(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1127 | // Unwrap is safe, otherwise the map and the set have inconsistencies. [INFO] [stdout] 1128 | Some((next_key, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state_btree.rs:1231:12 [INFO] [stdout] | [INFO] [stdout] 1230 | let key = K::deserial(source)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1231 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1232 | | key: Some(key), [INFO] [stdout] 1233 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/traits.rs:288:15 [INFO] [stdout] | [INFO] [stdout] 287 | fn entry + Into>(&mut self, key: K) -> EntryRaw { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | match self.lookup_entry(key.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:399:20 [INFO] [stdout] | [INFO] [stdout] 397 | pub(crate) fn new(entry: S::EntryType, state_api: S) -> Self { [INFO] [stdout] | ------------------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | Self { [INFO] [stdout] 399 | entry: UnsafeCell::new(entry), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 397 | pub(crate) fn new(entry: S::EntryType, state_api: S) -> Self { [INFO] [stdout] | ------------------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 401 | lazy_value: UnsafeCell::new(None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1187:23 [INFO] [stdout] | [INFO] [stdout] 1181 | pub fn new(mock_fn_return: F) -> Self [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1187 | match mock_fn_return(parameter, amount, balance, state) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1234:19 [INFO] [stdout] | [INFO] [stdout] 1224 | pub fn new_v1(mock_fn_return: F) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1234 | Self::new(move |p, a, b, s| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 1235 | | mock_fn_return(p, a, b, s).map(|(modified, rv)| (modified, Some(rv))) [INFO] [stdout] 1236 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1235:13 [INFO] [stdout] | [INFO] [stdout] 1224 | pub fn new_v1(mock_fn_return: F) -> Self [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1235 | mock_fn_return(p, a, b, s).map(|(modified, rv)| (modified, Some(rv))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1235:72 [INFO] [stdout] | [INFO] [stdout] 1235 | mock_fn_return(p, a, b, s).map(|(modified, rv)| (modified, Some(rv))) [INFO] [stdout] | -------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1247:19 [INFO] [stdout] | [INFO] [stdout] 1242 | pub fn new_v0(mock_fn_return: F) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1247 | Self::new(move |p, a, b, s| mock_fn_return(p, a, b, s).map(|modified| (modified, None))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1247:37 [INFO] [stdout] | [INFO] [stdout] 1242 | pub fn new_v0(mock_fn_return: F) -> Self [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1247 | Self::new(move |p, a, b, s| mock_fn_return(p, a, b, s).map(|modified| (modified, None))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1247:90 [INFO] [stdout] | [INFO] [stdout] 1247 | Self::new(move |p, a, b, s| mock_fn_return(p, a, b, s).map(|modified| (modified, None))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1253:19 [INFO] [stdout] | [INFO] [stdout] 1252 | pub fn returning_ok(return_value: R) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1253 | Self::new(move |_parameter, _amount, _balance, _state| -> CallContractResult { [INFO] [stdout] | ___________________^ [INFO] [stdout] 1254 | | Ok((false, Some(return_value.clone()))) [INFO] [stdout] 1255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1254:16 [INFO] [stdout] | [INFO] [stdout] 1252 | pub fn returning_ok(return_value: R) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1253 | Self::new(move |_parameter, _amount, _balance, _state| -> CallContractResult { [INFO] [stdout] 1254 | Ok((false, Some(return_value.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1262:13 [INFO] [stdout] | [INFO] [stdout] 1260 | pub fn returning_err(error: CallContractError) -> Self { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | Self::new( [INFO] [stdout] 1262 | / move |_parameter: Parameter, [INFO] [stdout] 1263 | | _amount: Amount, [INFO] [stdout] 1264 | | _balance: &mut Amount, [INFO] [stdout] 1265 | | _state: &mut State| [INFO] [stdout] 1266 | | -> CallContractResult { Err(error.clone()) }, [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1266:50 [INFO] [stdout] | [INFO] [stdout] 1260 | pub fn returning_err(error: CallContractError) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1266 | -> CallContractResult { Err(error.clone()) }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1613:26 [INFO] [stdout] | [INFO] [stdout] 1606 | pub fn new(state: State, mut state_builder: StateBuilder) -> Self { [INFO] [stdout] | ------------ --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1613 | mocking_fns: Rc::new(RefCell::new(BTreeMap::new())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1830:26 [INFO] [stdout] | [INFO] [stdout] 1825 | let cloned_state_api = self.state_builder.state_api.clone_deep(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1826 | let state: State = cloned_state_api [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1830 | mocking_fns: self.mocking_fns.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure.rs:1835:28 [INFO] [stdout] | [INFO] [stdout] 1825 | let cloned_state_api = self.state_builder.state_api.clone_deep(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1826 | let state: State = cloned_state_api [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1835 | state_builder: StateBuilder { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1836 | | state_api: cloned_state_api, [INFO] [stdout] 1837 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure/trie.rs:346:71 [INFO] [stdout] | [INFO] [stdout] 346 | data: self.data.as_ref().map(|d| Rc::new(RefCell::new(d.borrow().clone()))), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_infrastructure/trie.rs:350:66 [INFO] [stdout] | [INFO] [stdout] 350 | .map(|child| child.as_ref().map(|child| Box::new(child.clone_deep()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `concordium-std` (lib) due to 37 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ceece7a049faf66c1423cf167296bdfc0d8fde5265d3ff1e1da21cc81639bffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceece7a049faf66c1423cf167296bdfc0d8fde5265d3ff1e1da21cc81639bffc", kill_on_drop: false }` [INFO] [stdout] ceece7a049faf66c1423cf167296bdfc0d8fde5265d3ff1e1da21cc81639bffc