[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] checking 0x000000000000000/storage/1fa9c906a41b6ce975015dc08d17f469d83c805b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [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 f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/0x000000000000000/context.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid v0.7.8 [INFO] [stderr] Downloaded num-bigint v0.4.2 [INFO] [stderr] Downloaded serde_tokenstream v0.1.2 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded ic-types v0.2.2 [INFO] [stderr] Downloaded string_cache v0.8.2 [INFO] [stderr] Downloaded lalrpop v0.19.6 [INFO] [stderr] Downloaded lalrpop-util v0.19.6 [INFO] [stderr] Downloaded num_enum_derive v0.5.4 [INFO] [stderr] Downloaded num_enum v0.5.4 [INFO] [stderr] Downloaded ic-cdk v0.3.2 [INFO] [stderr] Downloaded ic-cdk-macros v0.3.2 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07d92451d1f41bf06d8d6c16d3eb3609b47763f8409cf9121aaf4dbbecd164a5 [INFO] running `Command { std: "docker" "start" "-a" "07d92451d1f41bf06d8d6c16d3eb3609b47763f8409cf9121aaf4dbbecd164a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07d92451d1f41bf06d8d6c16d3eb3609b47763f8409cf9121aaf4dbbecd164a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d92451d1f41bf06d8d6c16d3eb3609b47763f8409cf9121aaf4dbbecd164a5", kill_on_drop: false }` [INFO] [stdout] 07d92451d1f41bf06d8d6c16d3eb3609b47763f8409cf9121aaf4dbbecd164a5 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efefbed6437befceef081006acb2e87515356fc18c0c29ecfe0a1ed4e389ed7f [INFO] running `Command { std: "docker" "start" "-a" "efefbed6437befceef081006acb2e87515356fc18c0c29ecfe0a1ed4e389ed7f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Compiling lalrpop-util v0.19.6 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking h2 v0.3.6 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Compiling candid v0.7.8 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking ic-types v0.2.2 [INFO] [stderr] Checking reqwest v0.11.6 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_tokenstream v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Checking ic-cdk v0.3.2 [INFO] [stderr] Compiling ic-cdk-macros v0.3.2 [INFO] [stderr] Checking context v0.1.0 (https://github.com/0x000000000000000/context.git#7e7e198b) [INFO] [stderr] Checking 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[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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1040:12 [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1040: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1103: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1103: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1040: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1040: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1103: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1103: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1068: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1068: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1068: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1068: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:875: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:875:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [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] [stdout] error: aborting due to 8 previous errors [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 test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `storage_rust` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "efefbed6437befceef081006acb2e87515356fc18c0c29ecfe0a1ed4e389ed7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efefbed6437befceef081006acb2e87515356fc18c0c29ecfe0a1ed4e389ed7f", kill_on_drop: false }` [INFO] [stdout] efefbed6437befceef081006acb2e87515356fc18c0c29ecfe0a1ed4e389ed7f