[INFO] fetching crate ic_siws 0.1.0... [INFO] checking ic_siws-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ic_siws 0.1.0 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ic_siws 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b169e5dbf5d3068ab25d2d9a0c09a4705a54f5caccccbc02ed1ec9b32847703b [INFO] running `Command { std: "docker" "start" "-a" "b169e5dbf5d3068ab25d2d9a0c09a4705a54f5caccccbc02ed1ec9b32847703b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b169e5dbf5d3068ab25d2d9a0c09a4705a54f5caccccbc02ed1ec9b32847703b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b169e5dbf5d3068ab25d2d9a0c09a4705a54f5caccccbc02ed1ec9b32847703b", kill_on_drop: false }` [INFO] [stdout] b169e5dbf5d3068ab25d2d9a0c09a4705a54f5caccccbc02ed1ec9b32847703b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a61bb870be8d0ead725f9eece5dbdd1a5bb22c6a16171ad656dddf55896e73b [INFO] running `Command { std: "docker" "start" "-a" "3a61bb870be8d0ead725f9eece5dbdd1a5bb22c6a16171ad656dddf55896e73b", 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 typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.20 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking ic0 v0.24.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking ic-error-types v0.1.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking ic-certified-map v0.4.0 [INFO] [stderr] Checking candid v0.10.13 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking ic-management-canister-types v0.3.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling ic-cdk-macros v0.18.0 [INFO] [stderr] Compiling ic-cdk-macros v0.17.1 [INFO] [stderr] Checking ic-cdk v0.17.1 [INFO] [stderr] Checking ic-cdk v0.18.0 [INFO] [stderr] Checking ic-cdk-timers v0.12.0 [INFO] [stderr] Checking ic_siws v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_sdk` [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] | ^^^^ help: a similar path exists: `crate::rand` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [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" "3a61bb870be8d0ead725f9eece5dbdd1a5bb22c6a16171ad656dddf55896e73b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a61bb870be8d0ead725f9eece5dbdd1a5bb22c6a16171ad656dddf55896e73b", kill_on_drop: false }` [INFO] [stdout] 3a61bb870be8d0ead725f9eece5dbdd1a5bb22c6a16171ad656dddf55896e73b