[INFO] fetching crate ink_storage 5.0.0...
[INFO] testing ink_storage-5.0.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate ink_storage 5.0.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate ink_storage 5.0.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ink_storage 5.0.0
[INFO] finished tweaking crates.io crate ink_storage 5.0.0
[INFO] tweaked toml for crates.io crate ink_storage 5.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 123 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding const_env_impl v0.1.2 (latest: v0.1.3)
[INFO] [stderr]       Adding darling v0.14.4 (latest: v0.20.9)
[INFO] [stderr]       Adding darling_core v0.14.4 (latest: v0.20.9)
[INFO] [stderr]       Adding darling_macro v0.14.4 (latest: v0.20.9)
[INFO] [stderr]       Adding env_logger v0.8.4 (latest: v0.11.3)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding itertools v0.12.1 (latest: v0.13.0)
[INFO] [stderr]       Adding polkavm-common v0.5.0 (latest: v0.9.0)
[INFO] [stderr]       Adding polkavm-derive v0.5.0 (latest: v0.9.1)
[INFO] [stderr]       Adding polkavm-derive-impl v0.5.0 (latest: v0.9.0)
[INFO] [stderr]       Adding proc-macro-crate v1.3.1 (latest: v3.1.0)
[INFO] [stderr]       Adding radium v0.7.0 (latest: v1.1.0)
[INFO] [stderr]       Adding scale-bits v0.4.0 (latest: v0.6.0)
[INFO] [stderr]       Adding scale-decode v0.10.0 (latest: v0.13.0)
[INFO] [stderr]       Adding scale-decode-derive v0.10.0 (latest: v0.13.0)
[INFO] [stderr]       Adding scale-encode v0.5.0 (latest: v0.7.1)
[INFO] [stderr]       Adding scale-encode-derive v0.5.0 (latest: v0.7.1)
[INFO] [stderr]       Adding secp256k1 v0.28.2 (latest: v0.29.0)
[INFO] [stderr]       Adding secp256k1-sys v0.9.2 (latest: v0.10.0)
[INFO] [stderr]       Adding strsim v0.10.0 (latest: v0.11.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding toml_edit v0.19.15 (latest: v0.22.13)
[INFO] [stderr]       Adding toml_edit v0.21.1 (latest: v0.22.13)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding winnow v0.5.40 (latest: v0.6.8)
[INFO] [stderr]       Adding wyz v0.5.1 (latest: v0.6.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded polkavm-derive-impl v0.5.0
[INFO] [stderr]   Downloaded pallet-contracts-uapi-next v6.0.3
[INFO] [stderr]   Downloaded scale-decode v0.10.0
[INFO] [stderr]   Downloaded xxhash-rust v0.8.10
[INFO] [stderr]   Downloaded polkavm-derive v0.5.0
[INFO] [stderr]   Downloaded ink_storage_traits v5.0.0
[INFO] [stderr]   Downloaded ink_primitives v5.0.0
[INFO] [stderr]   Downloaded scale-decode-derive v0.10.0
[INFO] [stderr]   Downloaded polkavm-common v0.5.0
[INFO] [stderr]   Downloaded ink_engine v5.0.0
[INFO] [stderr]   Downloaded ink_allocator v5.0.0
[INFO] [stderr]   Downloaded ink_metadata v5.0.0
[INFO] [stderr]   Downloaded ink_env v5.0.0
[INFO] [stderr]   Downloaded ink_prelude v5.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8df393bf6e6a4928a182003a4eb1c7a73b431fdf75c959f90699c22de3a64d9e
[INFO] running `Command { std: "docker" "start" "-a" "8df393bf6e6a4928a182003a4eb1c7a73b431fdf75c959f90699c22de3a64d9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8df393bf6e6a4928a182003a4eb1c7a73b431fdf75c959f90699c22de3a64d9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8df393bf6e6a4928a182003a4eb1c7a73b431fdf75c959f90699c22de3a64d9e", kill_on_drop: false }`
[INFO] [stdout] 8df393bf6e6a4928a182003a4eb1c7a73b431fdf75c959f90699c22de3a64d9e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e21c60665f6b1265c95d71d8265c02bd927055f46e8e9d963f7ba8d44b5a392
[INFO] running `Command { std: "docker" "start" "-a" "2e21c60665f6b1265c95d71d8265c02bd927055f46e8e9d963f7ba8d44b5a392", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling schemars v0.8.21
[INFO] [stderr]    Compiling byte-slice-cast v1.2.2
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling dyn-clone v1.0.17
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling ink_prelude v5.0.0
[INFO] [stderr]    Compiling platforms v3.4.0
[INFO] [stderr]    Compiling xxhash-rust v0.8.10
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling linkme-impl v0.3.26
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling ink_allocator v5.0.0
[INFO] [stderr]    Compiling array-init v2.1.0
[INFO] [stderr]    Compiling schemars_derive v0.8.21
[INFO] [stderr]    Compiling pallet-contracts-uapi-next v6.0.3
[INFO] [stderr]    Compiling getrandom_or_panic v0.0.3
[INFO] [stderr]    Compiling linkme v0.3.26
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling schnorrkel v0.11.4
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling secp256k1 v0.28.2
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling const_env_impl v0.1.2
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.6.12
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling scale-info-derive v2.11.3
[INFO] [stderr]    Compiling const_env v0.1.2
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling scale-encode-derive v0.5.0
[INFO] [stderr]    Compiling scale-decode-derive v0.10.0
[INFO] [stderr]    Compiling parity-scale-codec v3.6.12
[INFO] [stderr]    Compiling scale-info v2.11.3
[INFO] [stderr]    Compiling scale-bits v0.4.0
[INFO] [stderr]    Compiling scale-encode v0.5.0
[INFO] [stderr]    Compiling scale-decode v0.10.0
[INFO] [stderr]    Compiling ink_primitives v5.0.0
[INFO] [stderr]    Compiling ink_metadata v5.0.0
[INFO] [stderr]    Compiling ink_engine v5.0.0
[INFO] [stderr]    Compiling ink_storage_traits v5.0.0
[INFO] [stderr]    Compiling ink_env v5.0.0
[INFO] [stderr]    Compiling ink_storage v5.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.80s
[INFO] running `Command { std: "docker" "inspect" "2e21c60665f6b1265c95d71d8265c02bd927055f46e8e9d963f7ba8d44b5a392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e21c60665f6b1265c95d71d8265c02bd927055f46e8e9d963f7ba8d44b5a392", kill_on_drop: false }`
[INFO] [stdout] 2e21c60665f6b1265c95d71d8265c02bd927055f46e8e9d963f7ba8d44b5a392
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bdcb55ec7aaf9e4043ba55b9141d553968d918368edd30169a4603d157bcd879
[INFO] running `Command { std: "docker" "start" "-a" "bdcb55ec7aaf9e4043ba55b9141d553968d918368edd30169a4603d157bcd879", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling quickcheck_macros v1.0.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling getrandom_or_panic v0.0.3
[INFO] [stderr]    Compiling schnorrkel v0.11.4
[INFO] [stderr]    Compiling ink_env v5.0.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling ink_storage v5.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling quickcheck v1.0.3
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.45s
[INFO] running `Command { std: "docker" "inspect" "bdcb55ec7aaf9e4043ba55b9141d553968d918368edd30169a4603d157bcd879", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bdcb55ec7aaf9e4043ba55b9141d553968d918368edd30169a4603d157bcd879", kill_on_drop: false }`
[INFO] [stdout] bdcb55ec7aaf9e4043ba55b9141d553968d918368edd30169a4603d157bcd879
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dd371d44bc345e9f7ef942532452222ea2b62b5df710c467a3a6c601295920b2
[INFO] running `Command { std: "docker" "start" "-a" "dd371d44bc345e9f7ef942532452222ea2b62b5df710c467a3a6c601295920b2", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ink_storage-bf98be41ecfcd334)
[INFO] [stdout] 
[INFO] [stdout] running 32 tests
[INFO] [stdout] test lazy::mapping::tests::can_clear_unexistent_entries ... ok
[INFO] [stdout] test lazy::mapping::tests::can_clear_entries ... ok
[INFO] [stdout] test lazy::mapping::tests::insert_and_get_work ... ok
[INFO] [stdout] test lazy::mapping::tests::fallible_storage_fails_gracefully_for_overgrown_data ... ok
[INFO] [stdout] test lazy::mapping::tests::fallible_storage_works_for_fitting_data ... ok
[INFO] [stdout] test lazy::mapping::tests::insert_and_get_work_for_two_mapping_with_same_manual_key ... ok
[INFO] [stdout] test lazy::mapping::tests::insert_and_take_work ... ok
[INFO] [stdout] test lazy::tests::gets_or_default_if_no_key_set ... ok
[INFO] [stdout] test lazy::mapping::tests::gets_default_if_no_key_set ... ok
[INFO] [stdout] test lazy::mapping::tests::take_empty_value_work ... ok
[INFO] [stdout] test lazy::tests::fallible_storage_fails_gracefully_for_overgrown_data ... ok
[INFO] [stdout] test lazy::tests::gets_returns_none_if_no_value_was_set ... ok
[INFO] [stdout] test lazy::tests::fallible_storage_works_for_fitting_data ... ok
[INFO] [stdout] test lazy::tests::set_and_get_work ... ok
[INFO] [stdout] test lazy::mapping::tests::fallible_storage_considers_key_size ... ok
[INFO] [stdout] test lazy::tests::set_and_get_work_for_two_lazy_with_same_manual_key ... ok
[INFO] [stdout] test lazy::vec::tests::peek_works ... ok
[INFO] [stdout] test lazy::vec::tests::from_iter_works ... ok
[INFO] [stdout] test lazy::vec::tests::push_and_pop_work ... ok
[INFO] [stdout] test lazy::vec::tests::clear_on_empty_works ... ok
[INFO] [stdout] test lazy::vec::tests::empty_vec_works_as_expected ... ok
[INFO] [stdout] test lazy::vec::tests::storage_keys_are_correct ... ok
[INFO] [stdout] test lazy::vec::tests::fallible_push_pop_peek_works ... ok
[INFO] [stdout] test lazy::vec::tests::push_and_pop_work_for_two_vecs_with_same_manual_key ... ok
[INFO] [stdout] test lazy::vec::tests::set_and_get_work ... ok
[INFO] [stdout] test lazy::vec::tests::try_get_works ... ok
[INFO] [stdout] test lazy::vec::tests::try_set_works ... ok
[INFO] [stdout] test lazy::vec::tests::clear_at_invalid_index_panics - should panic ... ok
[INFO] [stdout] test lazy::vec::tests::cached_len_works - should panic ... ok
[INFO] [stdout] test lazy::vec::tests::set_panics_on_oob - should panic ... ok
[INFO] [stdout] test lazy::vec::tests::clear_at_works ... ok
[INFO] [stdout] test lazy::vec::tests::clear_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ink_storage
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lazy/mapping.rs - lazy::mapping::Mapping (line 50) ... FAILED
[INFO] [stdout] test src/lazy/mod.rs - lazy::Lazy (line 62) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lazy/mapping.rs - lazy::mapping::Mapping (line 50) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/lazy/mapping.rs:51:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink::env::{
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/lazy/mapping.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ink::storage::{
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/lazy/mapping.rs:57:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[ink::contract]
[INFO] [stdout]   |   ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:64:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[ink(storage)]
[INFO] [stdout]    |   ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:71:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[ink(constructor)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |   #[ink(message)]
[INFO] [stdout]    |     ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     balances: Mapping<AccountId, Balance, ManualKey<123>>,
[INFO] [stdout]    |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use ink_primitives::AccountId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:67:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |     balances: Mapping<AccountId, Balance, ManualKey<123>>,
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MyContract<Balance> {
[INFO] [stdout]    |                      +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:75:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let value: Balance = Default::default();
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `env` found for struct `MyContract` in the current scope
[INFO] [stdout]   --> src/lazy/mapping.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MyContract {
[INFO] [stdout]    | --------------------- function or associated item `env` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |         let caller = Self::env().caller();
[INFO] [stdout]    |                            ^^^ function or associated item not found in `MyContract`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `MyContract`, consider using `MyContract::new` which returns `MyContract`
[INFO] [stdout]   --> src/lazy/mapping.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn new() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lazy/mod.rs - lazy::Lazy (line 62) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/lazy/mod.rs:63:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink::env::{
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/lazy/mod.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ink::storage::{
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/lazy/mod.rs:69:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[ink::contract]
[INFO] [stdout]   |   ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mod.rs:76:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[ink(storage)]
[INFO] [stdout]    |   ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mod.rs:84:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[ink(constructor)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mod.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |   #[ink(message)]
[INFO] [stdout]    |     ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> src/lazy/mod.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |     owner: Lazy<AccountId>,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use ink_primitives::AccountId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lazy/mod.rs:80:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |     balance: Lazy<Balance, ManualKey<123>>,
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MyContract<Balance> {
[INFO] [stdout]    |                      +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `env` found for struct `MyContract` in the current scope
[INFO] [stdout]   --> src/lazy/mod.rs:87:28
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MyContract {
[INFO] [stdout]    | --------------------- function or associated item `env` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |         let caller = Self::env().caller();
[INFO] [stdout]    |                            ^^^ function or associated item not found in `MyContract`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `MyContract`, consider using `MyContract::new` which returns `MyContract`
[INFO] [stdout]   --> src/lazy/mod.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn new() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lazy/mapping.rs - lazy::mapping::Mapping (line 50)
[INFO] [stdout]     src/lazy/mod.rs - lazy::Lazy (line 62)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "dd371d44bc345e9f7ef942532452222ea2b62b5df710c467a3a6c601295920b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd371d44bc345e9f7ef942532452222ea2b62b5df710c467a3a6c601295920b2", kill_on_drop: false }`
[INFO] [stdout] dd371d44bc345e9f7ef942532452222ea2b62b5df710c467a3a6c601295920b2
[INFO] testing ink_storage-5.0.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate ink_storage 5.0.0 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate ink_storage 5.0.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ink_storage 5.0.0
[INFO] finished tweaking crates.io crate ink_storage 5.0.0
[INFO] tweaked toml for crates.io crate ink_storage 5.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 123 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding const_env_impl v0.1.2 (latest: v0.1.3)
[INFO] [stderr]       Adding darling v0.14.4 (latest: v0.20.9)
[INFO] [stderr]       Adding darling_core v0.14.4 (latest: v0.20.9)
[INFO] [stderr]       Adding darling_macro v0.14.4 (latest: v0.20.9)
[INFO] [stderr]       Adding env_logger v0.8.4 (latest: v0.11.3)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding itertools v0.12.1 (latest: v0.13.0)
[INFO] [stderr]       Adding polkavm-common v0.5.0 (latest: v0.9.0)
[INFO] [stderr]       Adding polkavm-derive v0.5.0 (latest: v0.9.1)
[INFO] [stderr]       Adding polkavm-derive-impl v0.5.0 (latest: v0.9.0)
[INFO] [stderr]       Adding proc-macro-crate v1.3.1 (latest: v3.1.0)
[INFO] [stderr]       Adding radium v0.7.0 (latest: v1.1.0)
[INFO] [stderr]       Adding scale-bits v0.4.0 (latest: v0.6.0)
[INFO] [stderr]       Adding scale-decode v0.10.0 (latest: v0.13.0)
[INFO] [stderr]       Adding scale-decode-derive v0.10.0 (latest: v0.13.0)
[INFO] [stderr]       Adding scale-encode v0.5.0 (latest: v0.7.1)
[INFO] [stderr]       Adding scale-encode-derive v0.5.0 (latest: v0.7.1)
[INFO] [stderr]       Adding secp256k1 v0.28.2 (latest: v0.29.0)
[INFO] [stderr]       Adding secp256k1-sys v0.9.2 (latest: v0.10.0)
[INFO] [stderr]       Adding strsim v0.10.0 (latest: v0.11.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding toml_edit v0.19.15 (latest: v0.22.13)
[INFO] [stderr]       Adding toml_edit v0.21.1 (latest: v0.22.13)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding winnow v0.5.40 (latest: v0.6.8)
[INFO] [stderr]       Adding wyz v0.5.1 (latest: v0.6.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 242bcb6a6e016faa7a79d36c29d6bf6d13409cd00ca5564fb1fcddbee1c5e666
[INFO] running `Command { std: "docker" "start" "-a" "242bcb6a6e016faa7a79d36c29d6bf6d13409cd00ca5564fb1fcddbee1c5e666", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "242bcb6a6e016faa7a79d36c29d6bf6d13409cd00ca5564fb1fcddbee1c5e666", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "242bcb6a6e016faa7a79d36c29d6bf6d13409cd00ca5564fb1fcddbee1c5e666", kill_on_drop: false }`
[INFO] [stdout] 242bcb6a6e016faa7a79d36c29d6bf6d13409cd00ca5564fb1fcddbee1c5e666
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a112f47e47365e3cdf285cd834566f531fedbad0814667a609aeb14c6c495559
[INFO] running `Command { std: "docker" "start" "-a" "a112f47e47365e3cdf285cd834566f531fedbad0814667a609aeb14c6c495559", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling schemars v0.8.21
[INFO] [stderr]    Compiling dyn-clone v1.0.17
[INFO] [stderr]    Compiling byte-slice-cast v1.2.2
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling ink_prelude v5.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling platforms v3.4.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling xxhash-rust v0.8.10
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling linkme-impl v0.3.26
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ink_allocator v5.0.0
[INFO] [stderr]    Compiling array-init v2.1.0
[INFO] [stderr]    Compiling schemars_derive v0.8.21
[INFO] [stderr]    Compiling pallet-contracts-uapi-next v6.0.3
[INFO] [stderr]    Compiling getrandom_or_panic v0.0.3
[INFO] [stderr]    Compiling linkme v0.3.26
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling schnorrkel v0.11.4
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling secp256k1 v0.28.2
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling const_env_impl v0.1.2
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.6.12
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling scale-info-derive v2.11.3
[INFO] [stderr]    Compiling const_env v0.1.2
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling scale-encode-derive v0.5.0
[INFO] [stderr]    Compiling scale-decode-derive v0.10.0
[INFO] [stderr]    Compiling parity-scale-codec v3.6.12
[INFO] [stderr]    Compiling scale-info v2.11.3
[INFO] [stderr]    Compiling scale-bits v0.4.0
[INFO] [stderr]    Compiling scale-encode v0.5.0
[INFO] [stderr]    Compiling scale-decode v0.10.0
[INFO] [stderr]    Compiling ink_primitives v5.0.0
[INFO] [stderr]    Compiling ink_metadata v5.0.0
[INFO] [stderr]    Compiling ink_engine v5.0.0
[INFO] [stderr]    Compiling ink_storage_traits v5.0.0
[INFO] [stderr]    Compiling ink_env v5.0.0
[INFO] [stderr]    Compiling ink_storage v5.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.68s
[INFO] running `Command { std: "docker" "inspect" "a112f47e47365e3cdf285cd834566f531fedbad0814667a609aeb14c6c495559", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a112f47e47365e3cdf285cd834566f531fedbad0814667a609aeb14c6c495559", kill_on_drop: false }`
[INFO] [stdout] a112f47e47365e3cdf285cd834566f531fedbad0814667a609aeb14c6c495559
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 099bdb19da581b62c0ba1d5c6e17c44c068438efa29f27c1194dc9954782ee8f
[INFO] running `Command { std: "docker" "start" "-a" "099bdb19da581b62c0ba1d5c6e17c44c068438efa29f27c1194dc9954782ee8f", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling quickcheck_macros v1.0.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling getrandom_or_panic v0.0.3
[INFO] [stderr]    Compiling schnorrkel v0.11.4
[INFO] [stderr]    Compiling ink_env v5.0.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling ink_storage v5.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling quickcheck v1.0.3
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.93s
[INFO] running `Command { std: "docker" "inspect" "099bdb19da581b62c0ba1d5c6e17c44c068438efa29f27c1194dc9954782ee8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "099bdb19da581b62c0ba1d5c6e17c44c068438efa29f27c1194dc9954782ee8f", kill_on_drop: false }`
[INFO] [stdout] 099bdb19da581b62c0ba1d5c6e17c44c068438efa29f27c1194dc9954782ee8f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7b55ff19026ee203d9267d510cb2b1a9604883004614915cc9c982284b4db7d8
[INFO] running `Command { std: "docker" "start" "-a" "7b55ff19026ee203d9267d510cb2b1a9604883004614915cc9c982284b4db7d8", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ink_storage-bf98be41ecfcd334)
[INFO] [stdout] 
[INFO] [stdout] running 32 tests
[INFO] [stdout] test lazy::mapping::tests::can_clear_unexistent_entries ... ok
[INFO] [stdout] test lazy::mapping::tests::gets_default_if_no_key_set ... ok
[INFO] [stdout] test lazy::mapping::tests::can_clear_entries ... ok
[INFO] [stdout] test lazy::mapping::tests::fallible_storage_fails_gracefully_for_overgrown_data ... ok
[INFO] [stdout] test lazy::mapping::tests::insert_and_get_work ... ok
[INFO] [stdout] test lazy::mapping::tests::insert_and_get_work_for_two_mapping_with_same_manual_key ... ok
[INFO] [stdout] test lazy::mapping::tests::fallible_storage_works_for_fitting_data ... ok
[INFO] [stdout] test lazy::tests::fallible_storage_fails_gracefully_for_overgrown_data ... ok
[INFO] [stdout] test lazy::mapping::tests::take_empty_value_work ... ok
[INFO] [stdout] test lazy::mapping::tests::insert_and_take_work ... ok
[INFO] [stdout] test lazy::tests::gets_or_default_if_no_key_set ... ok
[INFO] [stdout] test lazy::tests::gets_returns_none_if_no_value_was_set ... ok
[INFO] [stdout] test lazy::mapping::tests::fallible_storage_considers_key_size ... ok
[INFO] [stdout] test lazy::tests::set_and_get_work ... ok
[INFO] [stdout] test lazy::tests::set_and_get_work_for_two_lazy_with_same_manual_key ... ok
[INFO] [stdout] test lazy::tests::fallible_storage_works_for_fitting_data ... ok
[INFO] [stdout] test lazy::vec::tests::clear_on_empty_works ... ok
[INFO] [stdout] test lazy::vec::tests::empty_vec_works_as_expected ... ok
[INFO] [stdout] test lazy::vec::tests::push_and_pop_work ... ok
[INFO] [stdout] test lazy::vec::tests::storage_keys_are_correct ... ok
[INFO] [stdout] test lazy::vec::tests::peek_works ... ok
[INFO] [stdout] test lazy::vec::tests::set_and_get_work ... ok
[INFO] [stdout] test lazy::vec::tests::push_and_pop_work_for_two_vecs_with_same_manual_key ... ok
[INFO] [stdout] test lazy::vec::tests::from_iter_works ... ok
[INFO] [stdout] test lazy::vec::tests::try_set_works ... ok
[INFO] [stdout] test lazy::vec::tests::try_get_works ... ok
[INFO] [stdout] test lazy::vec::tests::fallible_push_pop_peek_works ... ok
[INFO] [stdout] test lazy::vec::tests::clear_at_invalid_index_panics - should panic ... ok
[INFO] [stdout] test lazy::vec::tests::cached_len_works - should panic ... ok
[INFO] [stdout] test lazy::vec::tests::set_panics_on_oob - should panic ... ok
[INFO] [stdout] test lazy::vec::tests::clear_at_works ... ok
[INFO] [stdout] test lazy::vec::tests::clear_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ink_storage
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lazy/mapping.rs - lazy::mapping::Mapping (line 50) ... FAILED
[INFO] [stdout] test src/lazy/mod.rs - lazy::Lazy (line 62) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lazy/mapping.rs - lazy::mapping::Mapping (line 50) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/lazy/mapping.rs:51:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink::env::{
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/lazy/mapping.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ink::storage::{
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/lazy/mapping.rs:57:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[ink::contract]
[INFO] [stdout]   |   ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:64:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[ink(storage)]
[INFO] [stdout]    |   ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:71:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[ink(constructor)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |   #[ink(message)]
[INFO] [stdout]    |     ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     balances: Mapping<AccountId, Balance, ManualKey<123>>,
[INFO] [stdout]    |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use ink_primitives::AccountId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:67:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |     balances: Mapping<AccountId, Balance, ManualKey<123>>,
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MyContract<Balance> {
[INFO] [stdout]    |                      +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lazy/mapping.rs:75:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let value: Balance = Default::default();
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `env` found for struct `MyContract` in the current scope
[INFO] [stdout]   --> src/lazy/mapping.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MyContract {
[INFO] [stdout]    | --------------------- function or associated item `env` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |         let caller = Self::env().caller();
[INFO] [stdout]    |                            ^^^ function or associated item not found in `MyContract`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `MyContract`, consider using `MyContract::new` which returns `MyContract`
[INFO] [stdout]   --> src/lazy/mapping.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn new() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lazy/mod.rs - lazy::Lazy (line 62) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/lazy/mod.rs:63:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink::env::{
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/lazy/mod.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ink::storage::{
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/lazy/mod.rs:69:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[ink::contract]
[INFO] [stdout]   |   ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mod.rs:76:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[ink(storage)]
[INFO] [stdout]    |   ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mod.rs:84:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[ink(constructor)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lazy/mod.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |   #[ink(message)]
[INFO] [stdout]    |     ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> src/lazy/mod.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |     owner: Lazy<AccountId>,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use ink_primitives::AccountId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lazy/mod.rs:80:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |     balance: Lazy<Balance, ManualKey<123>>,
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MyContract<Balance> {
[INFO] [stdout]    |                      +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `env` found for struct `MyContract` in the current scope
[INFO] [stdout]   --> src/lazy/mod.rs:87:28
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MyContract {
[INFO] [stdout]    | --------------------- function or associated item `env` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |         let caller = Self::env().caller();
[INFO] [stdout]    |                            ^^^ function or associated item not found in `MyContract`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `MyContract`, consider using `MyContract::new` which returns `MyContract`
[INFO] [stdout]   --> src/lazy/mod.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn new() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lazy/mapping.rs - lazy::mapping::Mapping (line 50)
[INFO] [stdout]     src/lazy/mod.rs - lazy::Lazy (line 62)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "7b55ff19026ee203d9267d510cb2b1a9604883004614915cc9c982284b4db7d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b55ff19026ee203d9267d510cb2b1a9604883004614915cc9c982284b4db7d8", kill_on_drop: false }`
[INFO] [stdout] 7b55ff19026ee203d9267d510cb2b1a9604883004614915cc9c982284b4db7d8
