[INFO] fetching crate ic_siws 0.1.0... [INFO] testing ic_siws-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate ic_siws 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ic_siws 0.1.0 [INFO] finished tweaking crates.io crate ic_siws 0.1.0 [INFO] tweaked toml for crates.io crate ic_siws 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ic_siws 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ic_siws 0.1.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded percent-encoding v2.3.1 [INFO] [stderr] Downloaded idna_adapter v1.2.0 [INFO] [stderr] Downloaded zerovec-derive v0.10.3 [INFO] [stderr] Downloaded smallvec v1.15.0 [INFO] [stderr] Downloaded ic0 v0.23.0 [INFO] [stderr] Downloaded wit-bindgen-rt v0.39.0 [INFO] [stderr] Downloaded serde_bytes v0.11.17 [INFO] [stderr] Downloaded write16 v1.0.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.17.1 [INFO] [stderr] Downloaded strum v0.26.3 [INFO] [stderr] Downloaded tinyvec_macros v0.1.1 [INFO] [stderr] Downloaded ic0 v0.24.0 [INFO] [stderr] Downloaded ic-error-types v0.1.0 [INFO] [stderr] Downloaded rustversion v1.0.20 [INFO] [stderr] Downloaded bs58 v0.5.1 [INFO] [stderr] Downloaded tinyvec v1.9.0 [INFO] [stderr] Downloaded getrandom v0.2.16 [INFO] [stderr] Downloaded der v0.7.10 [INFO] [stderr] Downloaded icu_collections v1.5.0 [INFO] [stderr] Downloaded cc v1.2.20 [INFO] [stderr] Downloaded wasi v0.14.2+wasi-0.2.4 [INFO] [stderr] Downloaded time v0.3.41 [INFO] [stderr] Downloaded serde_json v1.0.140 [INFO] [stderr] Downloaded idna v1.0.3 [INFO] [stderr] Downloaded syn v2.0.100 [INFO] [stderr] Downloaded serde v1.0.219 [INFO] [stderr] Downloaded zerocopy v0.8.24 [INFO] [stderr] Downloaded icu_properties_data v1.5.1 [INFO] [stderr] Downloaded ed25519-dalek v2.1.1 [INFO] [stderr] Downloaded curve25519-dalek v4.1.3 [INFO] [stderr] Downloaded ic-cdk v0.18.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.24 [INFO] [stderr] Downloaded typenum v1.18.0 [INFO] [stderr] Downloaded futures v0.3.31 [INFO] [stderr] Downloaded psm v0.1.25 [INFO] [stderr] Downloaded candid v0.10.13 [INFO] [stderr] Downloaded r-efi v5.2.0 [INFO] [stderr] Downloaded bitflags v2.9.0 [INFO] [stderr] Downloaded icu_normalizer v1.5.0 [INFO] [stderr] Downloaded fiat-crypto v0.2.9 [INFO] [stderr] Downloaded icu_locid_transform_data v1.5.1 [INFO] [stderr] Downloaded icu_locid v1.5.0 [INFO] [stderr] Downloaded icu_provider v1.5.0 [INFO] [stderr] Downloaded serde_derive v1.0.219 [INFO] [stderr] Downloaded proc-macro2 v1.0.95 [INFO] [stderr] Downloaded unicode-ident v1.0.18 [INFO] [stderr] Downloaded url v2.5.4 [INFO] [stderr] Downloaded semver v1.0.26 [INFO] [stderr] Downloaded anyhow v1.0.98 [INFO] [stderr] Downloaded stacker v0.1.20 [INFO] [stderr] Downloaded slotmap v1.0.7 [INFO] [stderr] Downloaded getrandom v0.3.2 [INFO] [stderr] Downloaded time-macros v0.2.22 [INFO] [stderr] Downloaded icu_normalizer_data v1.5.1 [INFO] [stderr] Downloaded litemap v0.7.5 [INFO] [stderr] Downloaded libc v0.2.172 [INFO] [stderr] Downloaded yoke v0.7.5 [INFO] [stderr] Downloaded synstructure v0.13.1 [INFO] [stderr] Downloaded quote v1.0.40 [INFO] [stderr] Downloaded icu_properties v1.5.1 [INFO] [stderr] Downloaded curve25519-dalek-derive v0.1.1 [INFO] [stderr] Downloaded base64ct v1.7.3 [INFO] [stderr] Downloaded const-oid v0.9.6 [INFO] [stderr] Downloaded spki v0.7.3 [INFO] [stderr] Downloaded pkcs8 v0.10.2 [INFO] [stderr] Downloaded signature v2.2.0 [INFO] [stderr] Downloaded ed25519 v2.2.3 [INFO] [stderr] Downloaded ic-cdk v0.17.1 [INFO] [stderr] Downloaded serde_tokenstream v0.2.2 [INFO] [stderr] Downloaded strum_macros v0.26.4 [INFO] [stderr] Downloaded data-encoding v2.9.0 [INFO] [stderr] Downloaded pretty v0.12.4 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.0 [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded thiserror-impl v2.0.12 [INFO] [stderr] Downloaded deranged v0.4.0 [INFO] [stderr] Downloaded icu_locid_transform v1.5.0 [INFO] [stderr] Downloaded tinystr v0.7.6 [INFO] [stderr] Downloaded zerovec v0.10.4 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded autocfg v1.4.0 [INFO] [stderr] Downloaded simple_asn1 v0.6.3 [INFO] [stderr] Downloaded thiserror v2.0.12 [INFO] [stderr] Downloaded writeable v0.5.5 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.0 [INFO] [stderr] Downloaded time-core v0.1.4 [INFO] [stderr] Downloaded stable_deref_trait v1.2.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.0 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded yoke-derive v0.7.5 [INFO] [stderr] Downloaded ic-certified-map v0.4.0 [INFO] [stderr] Downloaded form_urlencoded v1.2.1 [INFO] [stderr] Downloaded utf16_iter v1.0.5 [INFO] [stderr] Downloaded icu_provider_macros v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc2980c345259c44371b69279c360078435bed8a2acab2c53f63aeb05d0402fc [INFO] running `Command { std: "docker" "start" "-a" "bc2980c345259c44371b69279c360078435bed8a2acab2c53f63aeb05d0402fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc2980c345259c44371b69279c360078435bed8a2acab2c53f63aeb05d0402fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2980c345259c44371b69279c360078435bed8a2acab2c53f63aeb05d0402fc", kill_on_drop: false }` [INFO] [stdout] bc2980c345259c44371b69279c360078435bed8a2acab2c53f63aeb05d0402fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf43f59aaa9fb68801f044e6ef9e75e2699b7c77228cf7f85ed81678c91689e3 [INFO] running `Command { std: "docker" "start" "-a" "bf43f59aaa9fb68801f044e6ef9e75e2699b7c77228cf7f85ed81678c91689e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.20 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ic0 v0.24.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling ic-error-types v0.1.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling ic-certified-map v0.4.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling candid v0.10.13 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling ic-management-canister-types v0.3.0 [INFO] [stderr] Compiling ic-cdk-macros v0.18.0 [INFO] [stderr] Compiling ic-cdk-macros v0.17.1 [INFO] [stderr] Compiling ic-cdk v0.17.1 [INFO] [stderr] Compiling ic-cdk v0.18.0 [INFO] [stderr] Compiling ic-cdk-timers v0.12.0 [INFO] [stderr] Compiling ic_siws v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/delegation.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | signature_map: &SignatureMap, [INFO] [stdout] | ^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 143 | ) -> Result { [INFO] [stdout] | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | ) -> Result, DelegationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "bf43f59aaa9fb68801f044e6ef9e75e2699b7c77228cf7f85ed81678c91689e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf43f59aaa9fb68801f044e6ef9e75e2699b7c77228cf7f85ed81678c91689e3", kill_on_drop: false }` [INFO] [stdout] bf43f59aaa9fb68801f044e6ef9e75e2699b7c77228cf7f85ed81678c91689e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f86147e8f6bf123e4862a02d3900f7193089f662abf1dd4f380f3e38cee2db9 [INFO] running `Command { std: "docker" "start" "-a" "3f86147e8f6bf123e4862a02d3900f7193089f662abf1dd4f380f3e38cee2db9", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/delegation.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | signature_map: &SignatureMap, [INFO] [stdout] | ^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 143 | ) -> Result { [INFO] [stdout] | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | ) -> Result, DelegationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic_siws v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `solana_sdk` in this scope [INFO] [stdout] --> src/delegation.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | use solana_sdk::signature::{Keypair, Signer}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `solana_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_sdk`, use `cargo add solana_sdk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hex_literal` [INFO] [stdout] --> src/hash.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `hex_literal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex_literal`, use `cargo add hex_literal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/rand.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 14 | use crate::rand::{thread_rng, Rng}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/signature_map.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let bytes = (0..32).map(|_| rand::random::()).collect::>(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/rand.rs, use `mod rand` in this file to declare the module [INFO] [stdout] --> src/lib.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 + mod rand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ic_siws` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "3f86147e8f6bf123e4862a02d3900f7193089f662abf1dd4f380f3e38cee2db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f86147e8f6bf123e4862a02d3900f7193089f662abf1dd4f380f3e38cee2db9", kill_on_drop: false }` [INFO] [stdout] 3f86147e8f6bf123e4862a02d3900f7193089f662abf1dd4f380f3e38cee2db9