[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] testing 0x000000000000000/storage against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x000000000000000%2Fstorage" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0x000000000000000/storage on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-40/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13db11ce7d371e3ed72062d3235c9b6f90b028ea238089b966233b949e76ab9a [INFO] running `Command { std: "docker" "start" "-a" "13db11ce7d371e3ed72062d3235c9b6f90b028ea238089b966233b949e76ab9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13db11ce7d371e3ed72062d3235c9b6f90b028ea238089b966233b949e76ab9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13db11ce7d371e3ed72062d3235c9b6f90b028ea238089b966233b949e76ab9a", kill_on_drop: false }` [INFO] [stdout] 13db11ce7d371e3ed72062d3235c9b6f90b028ea238089b966233b949e76ab9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5064fbc06e3fe3d7559624b02374dcc9d0a193c83c05a85e0908043df0db7ecc [INFO] running `Command { std: "docker" "start" "-a" "5064fbc06e3fe3d7559624b02374dcc9d0a193c83c05a85e0908043df0db7ecc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 cc v1.0.71 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-core v0.3.17 [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 futures-task v0.3.17 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [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 diff v0.1.12 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling lalrpop-util v0.19.6 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling logos-derive v0.12.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 binread v2.2.0 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_tokenstream v0.1.2 [INFO] [stderr] Compiling ic-types v0.2.2 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling candid v0.7.8 [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] 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] [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 struct `ic_cdk::export::Principal`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ic_cdk::export::Principal` [INFO] [stdout] found reference `&std::string::String` [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 struct `ic_cdk::export::Principal`, found struct `std::string::String` [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 struct `ic_cdk::export::Principal`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ic_cdk::export::Principal` [INFO] [stdout] found reference `&std::string::String` [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 struct `ic_cdk::export::Principal`, found struct `std::string::String` [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 struct `ic_cdk::export::Principal`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ic_cdk::export::Principal` [INFO] [stdout] found reference `&std::string::String` [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 struct `ic_cdk::export::Principal`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ic_cdk::export::Principal` [INFO] [stdout] found reference `&std::string::String` [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 struct `ic_cdk::export::Principal`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ic_cdk::export::Principal` [INFO] [stdout] found reference `&std::string::String` [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] [stderr] error: could not compile `storage_rust` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "5064fbc06e3fe3d7559624b02374dcc9d0a193c83c05a85e0908043df0db7ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5064fbc06e3fe3d7559624b02374dcc9d0a193c83c05a85e0908043df0db7ecc", kill_on_drop: false }` [INFO] [stdout] 5064fbc06e3fe3d7559624b02374dcc9d0a193c83c05a85e0908043df0db7ecc