[INFO] fetching crate ic_siws 0.1.0... [INFO] testing ic_siws-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ic_siws 0.1.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ic_siws 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psm v0.1.25 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.0 [INFO] [stderr] Downloaded ic-error-types v0.1.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.17.1 [INFO] [stderr] Downloaded ic-cdk v0.17.1 [INFO] [stderr] Downloaded ic-cdk v0.18.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.0 [INFO] [stderr] Downloaded stacker v0.1.20 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.0 [INFO] [stderr] Downloaded ic0 v0.24.0 [INFO] [stderr] Downloaded ic-certified-map v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83efcf805de1ed068ac4a8ec12970faee415dfad721feb8fc18c781384a7495c [INFO] running `Command { std: "docker" "start" "-a" "83efcf805de1ed068ac4a8ec12970faee415dfad721feb8fc18c781384a7495c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83efcf805de1ed068ac4a8ec12970faee415dfad721feb8fc18c781384a7495c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83efcf805de1ed068ac4a8ec12970faee415dfad721feb8fc18c781384a7495c", kill_on_drop: false }` [INFO] [stdout] 83efcf805de1ed068ac4a8ec12970faee415dfad721feb8fc18c781384a7495c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f640c612caca3800aa36b80dae2e24a9cde0b9a4882d50f40d773bdd8f45fa8f [INFO] running `Command { std: "docker" "start" "-a" "f640c612caca3800aa36b80dae2e24a9cde0b9a4882d50f40d773bdd8f45fa8f", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling ic0 v0.24.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.20 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling binread_derive v2.1.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 zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [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 icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [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_json v1.0.140 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling ic-certified-map v0.4.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling candid v0.10.13 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [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 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 46.04s [INFO] running `Command { std: "docker" "inspect" "f640c612caca3800aa36b80dae2e24a9cde0b9a4882d50f40d773bdd8f45fa8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f640c612caca3800aa36b80dae2e24a9cde0b9a4882d50f40d773bdd8f45fa8f", kill_on_drop: false }` [INFO] [stdout] f640c612caca3800aa36b80dae2e24a9cde0b9a4882d50f40d773bdd8f45fa8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46f74e51c8a1446348e7212b61584cc8ebce4a4a8867b9a5c3bed194150db49b [INFO] running `Command { std: "docker" "start" "-a" "46f74e51c8a1446348e7212b61584cc8ebce4a4a8867b9a5c3bed194150db49b", kill_on_drop: false }` [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] [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] 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" "46f74e51c8a1446348e7212b61584cc8ebce4a4a8867b9a5c3bed194150db49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f74e51c8a1446348e7212b61584cc8ebce4a4a8867b9a5c3bed194150db49b", kill_on_drop: false }` [INFO] [stdout] 46f74e51c8a1446348e7212b61584cc8ebce4a4a8867b9a5c3bed194150db49b