[INFO] fetching crate ucan 0.4.0... [INFO] building ucan-0.4.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ucan 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ucan 0.4.0 [INFO] finished tweaking crates.io crate ucan 0.4.0 [INFO] tweaked toml for crates.io crate ucan 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ucan 0.4.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 151 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding cid v0.10.1 (available: v0.11.1) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (available: v1.3.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding strum v0.24.1 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.25.3 (available: v0.27.2) [INFO] [stderr] Adding unsigned-varint v0.7.2 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base256emoji v1.0.2 [INFO] [stderr] Downloaded data-encoding-macro v0.1.18 [INFO] [stderr] Downloaded multihash v0.18.1 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.16 [INFO] [stderr] Downloaded serde-big-array v0.3.3 [INFO] [stderr] Downloaded libipld-json v0.16.0 [INFO] [stderr] Downloaded const-str v0.4.3 [INFO] [stderr] Downloaded match-lookup v0.1.1 [INFO] [stderr] Downloaded cid v0.10.1 [INFO] [stderr] Downloaded blake2b_simd v1.0.3 [INFO] [stderr] Downloaded multibase v0.9.2 [INFO] [stderr] Downloaded libipld-core v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7425fe70194c31f83c275080b3d320743f00bc3f895b779ca239762019bf06a7 [INFO] running `Command { std: "docker" "start" "-a" "7425fe70194c31f83c275080b3d320743f00bc3f895b779ca239762019bf06a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7425fe70194c31f83c275080b3d320743f00bc3f895b779ca239762019bf06a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7425fe70194c31f83c275080b3d320743f00bc3f895b779ca239762019bf06a7", kill_on_drop: false }` [INFO] [stdout] 7425fe70194c31f83c275080b3d320743f00bc3f895b779ca239762019bf06a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8567765656c6736b7b16945584ab8db2f6223beaa3a57dce510a6d96ae486883 [INFO] running `Command { std: "docker" "start" "-a" "8567765656c6736b7b16945584ab8db2f6223beaa3a57dce510a6d96ae486883", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling const-str v0.4.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling blake2s_simd v1.0.3 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling match-lookup v0.1.1 [INFO] [stderr] Compiling base256emoji v1.0.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.9.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling serde-big-array v0.3.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling multihash v0.18.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling cid v0.10.1 [INFO] [stderr] Compiling libipld-core v0.16.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling libipld-json v0.16.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ucan v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/capability/data.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter(&self) -> CapabilitiesIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 113 | pub fn iter(&self) -> CapabilitiesIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.17s [INFO] running `Command { std: "docker" "inspect" "8567765656c6736b7b16945584ab8db2f6223beaa3a57dce510a6d96ae486883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8567765656c6736b7b16945584ab8db2f6223beaa3a57dce510a6d96ae486883", kill_on_drop: false }` [INFO] [stdout] 8567765656c6736b7b16945584ab8db2f6223beaa3a57dce510a6d96ae486883 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fdd81fecf5ce32abdaf1a3f56e2e22eff6df9dc467138fa011b9ef528a12912 [INFO] running `Command { std: "docker" "start" "-a" "2fdd81fecf5ce32abdaf1a3f56e2e22eff6df9dc467138fa011b9ef528a12912", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/capability/data.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter(&self) -> CapabilitiesIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 113 | pub fn iter(&self) -> CapabilitiesIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling ucan v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `did_key` [INFO] [stdout] --> src/tests/fixtures/identities.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use did_key::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `did_key` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `did_key`, use `cargo add did_key` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `did_key` [INFO] [stdout] --> src/tests/helpers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use did_key::PatchedKeyPair; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `did_key` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `did_key`, use `cargo add did_key` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_ipld_dagcbor` [INFO] [stdout] --> src/tests/helpers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_ipld_dagcbor::{from_slice, to_vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_ipld_dagcbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_ipld_dagcbor`, use `cargo add serde_ipld_dagcbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `did_key` [INFO] [stdout] --> src/tests/builder.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use did_key::PatchedKeyPair; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `did_key` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `did_key`, use `cargo add did_key` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `did_key` [INFO] [stdout] --> src/tests/crypto.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use did_key::{from_existing_key, Ed25519KeyPair, KeyMaterial as _KeyMaterial}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `did_key` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `did_key`, use `cargo add did_key` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `did_key` [INFO] [stdout] --> src/tests/fixtures/crypto.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use did_key::{from_existing_key, CoreSign, Ed25519KeyPair, Fingerprint, PatchedKeyPair}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `did_key` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `did_key`, use `cargo add did_key` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/fixtures/identities.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | alice_did: alice_keypair.get_did().await.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/fixtures/identities.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | bob_did: bob_keypair.get_did().await.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/fixtures/identities.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | mallory_did: mallory_keypair.get_did().await.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ipld/ucan.rs:129:70 [INFO] [stdout] | [INFO] [stdout] 129 | let canon_builder = scaffold_ucan_builder(&identities).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ipld/ucan.rs:130:70 [INFO] [stdout] | [INFO] [stdout] 130 | let other_builder = scaffold_ucan_builder(&identities).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ipld/ucan.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ipld/ucan.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ipld/ucan.rs:171:64 [INFO] [stdout] | [INFO] [stdout] 171 | let builder = scaffold_ucan_builder(&identities).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ipld/ucan.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/crypto.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | let result_did = keypair.get_did().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ucan` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "2fdd81fecf5ce32abdaf1a3f56e2e22eff6df9dc467138fa011b9ef528a12912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fdd81fecf5ce32abdaf1a3f56e2e22eff6df9dc467138fa011b9ef528a12912", kill_on_drop: false }` [INFO] [stdout] 2fdd81fecf5ce32abdaf1a3f56e2e22eff6df9dc467138fa011b9ef528a12912