[INFO] cloning repository https://github.com/0x000000000000000/storage
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x000000000000000/storage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x000000000000000%2Fstorage", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x000000000000000%2Fstorage'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1fa9c906a41b6ce975015dc08d17f469d83c805b
[INFO] building 0x000000000000000/storage against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x000000000000000%2Fstorage" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0x000000000000000/storage on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/0x000000000000000/storage
[INFO] finished tweaking git repo https://github.com/0x000000000000000/storage
[INFO] tweaked toml for git repo https://github.com/0x000000000000000/storage written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/0x000000000000000/storage already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/0x000000000000000/context.git`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.10
[INFO] [stderr]   Downloaded syn v1.0.80
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.28
[INFO] [stderr]   Downloaded js-sys v0.3.55
[INFO] [stderr]   Downloaded itertools v0.10.1
[INFO] [stderr]   Downloaded safemem v0.3.3
[INFO] [stderr]   Downloaded base64 v0.9.3
[INFO] [stderr]   Downloaded ena v0.14.0
[INFO] [stderr]   Downloaded candid v0.7.8
[INFO] [stderr]   Downloaded num-bigint v0.4.2
[INFO] [stderr]   Downloaded hyper v0.10.16
[INFO] [stderr]   Downloaded tracing v0.1.29
[INFO] [stderr]   Downloaded petgraph v0.5.1
[INFO] [stderr]   Downloaded h2 v0.3.6
[INFO] [stderr]   Downloaded hyper v0.14.13
[INFO] [stderr]   Downloaded lalrpop v0.19.6
[INFO] [stderr]   Downloaded cc v1.0.71
[INFO] [stderr]   Downloaded tinyvec v1.5.0
[INFO] [stderr]   Downloaded tracing-core v0.1.21
[INFO] [stderr]   Downloaded pkg-config v0.3.20
[INFO] [stderr]   Downloaded core-foundation v0.9.2
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.14
[INFO] [stderr]   Downloaded anyhow v1.0.44
[INFO] [stderr]   Downloaded ic-types v0.2.2
[INFO] [stderr]   Downloaded fixedbitset v0.2.0
[INFO] [stderr]   Downloaded pico-args v0.4.2
[INFO] [stderr]   Downloaded smallvec v1.7.0
[INFO] [stderr]   Downloaded libc v0.2.104
[INFO] [stderr]   Downloaded string_cache v0.8.2
[INFO] [stderr]   Downloaded lalrpop-util v0.19.6
[INFO] [stderr]   Downloaded logos-derive v0.12.0
[INFO] [stderr]   Downloaded logos v0.12.0
[INFO] [stderr]   Downloaded ic-cdk v0.3.2
[INFO] [stderr]   Downloaded serde_tokenstream v0.1.2
[INFO] [stderr]   Downloaded ic-cdk-macros v0.3.2
[INFO] [stderr]   Downloaded ipnet v2.3.1
[INFO] [stderr]   Downloaded traitobject v0.1.0
[INFO] [stderr]   Downloaded candid_derive v0.4.5
[INFO] [stderr]   Downloaded base32 v0.4.0
[INFO] [stderr]   Downloaded redox_users v0.4.0
[INFO] [stderr]   Downloaded beef v0.5.1
[INFO] [stderr]   Downloaded num_enum_derive v0.5.4
[INFO] [stderr]   Downloaded num_enum v0.5.4
[INFO] [stderr]   Downloaded http-body v0.4.3
[INFO] [stderr]   Downloaded httpdate v1.0.1
[INFO] [stderr]   Downloaded web-sys v0.3.55
[INFO] [stderr]   Downloaded rustversion v1.0.5
[INFO] [stderr]   Downloaded utf8-ranges v1.0.4
[INFO] [stderr]   Downloaded proc-macro-crate v1.1.0
[INFO] [stderr]   Downloaded encoding_rs v0.8.29
[INFO] [stderr]   Downloaded slab v0.4.5
[INFO] [stderr]   Downloaded paste v1.0.5
[INFO] [stderr]   Downloaded bumpalo v3.8.0
[INFO] [stderr]   Downloaded reqwest v0.11.6
[INFO] [stderr]   Downloaded proc-macro2 v1.0.30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 10a6c83a7724316ec82a4e13715920667418ad0dd59a6d4e9eaf620fd67a4a14
[INFO] running `Command { std: "docker" "start" "-a" "10a6c83a7724316ec82a4e13715920667418ad0dd59a6d4e9eaf620fd67a4a14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10a6c83a7724316ec82a4e13715920667418ad0dd59a6d4e9eaf620fd67a4a14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10a6c83a7724316ec82a4e13715920667418ad0dd59a6d4e9eaf620fd67a4a14", kill_on_drop: false }`
[INFO] [stdout] 10a6c83a7724316ec82a4e13715920667418ad0dd59a6d4e9eaf620fd67a4a14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a2055d279dde0ff9b7a358d98239d1bee50b44cdf6c954a954532585cd5506f0
[INFO] running `Command { std: "docker" "start" "-a" "a2055d279dde0ff9b7a358d98239d1bee50b44cdf6c954a954532585cd5506f0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.104
[INFO] [stderr]    Compiling proc-macro2 v1.0.30
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling cc v1.0.71
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling pkg-config v0.3.20
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling tokio v1.12.0
[INFO] [stderr]    Compiling siphasher v0.3.7
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling openssl-sys v0.9.67
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling tinyvec v1.5.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling string_cache v0.8.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling itertools v0.10.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling ena v0.14.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling rustversion v1.0.5
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling pico-args v0.4.2
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling openssl v0.10.36
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling lalrpop-util v0.19.6
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling http v0.2.5
[INFO] [stderr]    Compiling lalrpop v0.19.6
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling num-bigint v0.4.2
[INFO] [stderr]    Compiling beef v0.5.1
[INFO] [stderr]    Compiling futures-sink v0.3.17
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling anyhow v1.0.44
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling sha2 v0.9.8
[INFO] [stderr]    Compiling tokio-util v0.6.8
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling base32 v0.4.0
[INFO] [stderr]    Compiling typed-arena v2.0.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling logos-derive v0.12.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling candid_derive v0.4.5
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling h2 v0.3.6
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling http-body v0.4.3
[INFO] [stderr]    Compiling logos v0.12.0
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling socket2 v0.4.2
[INFO] [stderr]    Compiling encoding_rs v0.8.29
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling httpdate v1.0.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling typeable v0.1.2
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling traitobject v0.1.0
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling hyper v0.14.13
[INFO] [stderr]    Compiling candid v0.7.8
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling serde_bytes v0.11.5
[INFO] [stderr]    Compiling serde_tokenstream v0.1.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling ic-types v0.2.2
[INFO] [stderr]    Compiling proc-macro-crate v1.1.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.6
[INFO] [stderr]    Compiling num_enum_derive v0.5.4
[INFO] [stderr]    Compiling num_enum v0.5.4
[INFO] [stderr]    Compiling ic-cdk v0.3.2
[INFO] [stderr]    Compiling ic-cdk-macros v0.3.2
[INFO] [stderr]    Compiling context v0.1.0 (https://github.com/0x000000000000000/context.git#7e7e198b)
[INFO] [stderr]    Compiling storage_rust v0.1.0 (/opt/rustwide/workdir/src/storage_rust)
[INFO] [stdout] error[E0583]: file not found for module `config`
[INFO] [stdout]  --> src/storage_rust/src/lib.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod config;
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `config`, create file "src/storage_rust/src/config.rs" or "src/storage_rust/src/config/mod.rs"
[INFO] [stdout]   = note: if there is a `mod config` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/storage_rust/src/lib.rs:36:37
[INFO] [stdout]    |
[INFO] [stdout] 36 |     if !canister_event.contains_key(&metadata.canister) {
[INFO] [stdout]    |                        ------------ ^^^^^^^^^^^^^^^^^^ expected `&Principal`, found `&String`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ic_cdk::export::Principal`
[INFO] [stdout]               found reference `&std::string::String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/std/src/collections/hash/map.rs:1126:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/storage_rust/src/lib.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 37 |         canister_event.insert(metadata.canister.clone(), vec![position]);
[INFO] [stdout]    |                        ------ ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Principal`, found `String`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/std/src/collections/hash/map.rs:1190:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/storage_rust/src/lib.rs:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     if !caller_event.contains_key(&metadata.caller) {
[INFO] [stdout]    |                      ------------ ^^^^^^^^^^^^^^^^ expected `&Principal`, found `&String`
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ic_cdk::export::Principal`
[INFO] [stdout]               found reference `&std::string::String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/std/src/collections/hash/map.rs:1126:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/storage_rust/src/lib.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |         caller_event.insert(metadata.caller.clone(), vec![position]);
[INFO] [stdout]    |                      ------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `Principal`, found `String`
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/std/src/collections/hash/map.rs:1190:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/storage_rust/src/lib.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |         .get_mut(&metadata.canister)
[INFO] [stdout]    |          ------- ^^^^^^^^^^^^^^^^^^ expected `&Principal`, found `&String`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ic_cdk::export::Principal`
[INFO] [stdout]               found reference `&std::string::String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/std/src/collections/hash/map.rs:1154:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/storage_rust/src/lib.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |         .get_mut(&metadata.caller)
[INFO] [stdout]    |          ------- ^^^^^^^^^^^^^^^^ expected `&Principal`, found `&String`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ic_cdk::export::Principal`
[INFO] [stdout]               found reference `&std::string::String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/std/src/collections/hash/map.rs:1154:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/storage_rust/src/lib.rs:54:34
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let len = canister_event.get(&metadata.canister).unwrap().len();
[INFO] [stdout]    |                              --- ^^^^^^^^^^^^^^^^^^ expected `&Principal`, found `&String`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ic_cdk::export::Principal`
[INFO] [stdout]               found reference `&std::string::String`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/std/src/collections/hash/map.rs:897:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `storage_rust` (lib) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "a2055d279dde0ff9b7a358d98239d1bee50b44cdf6c954a954532585cd5506f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2055d279dde0ff9b7a358d98239d1bee50b44cdf6c954a954532585cd5506f0", kill_on_drop: false }`
[INFO] [stdout] a2055d279dde0ff9b7a358d98239d1bee50b44cdf6c954a954532585cd5506f0
