[INFO] fetching crate aws-nitro-enclaves-cose 0.5.2... [INFO] testing aws-nitro-enclaves-cose-0.5.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate aws-nitro-enclaves-cose 0.5.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate aws-nitro-enclaves-cose 0.5.2 [INFO] finished tweaking crates.io crate aws-nitro-enclaves-cose 0.5.2 [INFO] tweaked toml for crates.io crate aws-nitro-enclaves-cose 0.5.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aws-nitro-enclaves-cose 0.5.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 231 packages to latest compatible versions [INFO] [stderr] Adding aws-config v1.1.10 (available: v1.8.6) [INFO] [stderr] Adding aws-runtime v1.4.0 (available: v1.5.10) [INFO] [stderr] Adding aws-sdk-kms v1.20.0 (available: v1.86.0) [INFO] [stderr] Adding aws-sdk-sso v1.19.0 (available: v1.83.0) [INFO] [stderr] Adding aws-sdk-ssooidc v1.19.0 (available: v1.84.0) [INFO] [stderr] Adding aws-sdk-sts v1.19.0 (available: v1.85.0) [INFO] [stderr] Adding aws-smithy-runtime v1.2.1 (available: v1.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb0e8498343eddffeb19abaf4750a2ab62dff6b79106e1347bc9dbcd6f65df3a [INFO] running `Command { std: "docker" "start" "-a" "cb0e8498343eddffeb19abaf4750a2ab62dff6b79106e1347bc9dbcd6f65df3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb0e8498343eddffeb19abaf4750a2ab62dff6b79106e1347bc9dbcd6f65df3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb0e8498343eddffeb19abaf4750a2ab62dff6b79106e1347bc9dbcd6f65df3a", kill_on_drop: false }` [INFO] [stdout] cb0e8498343eddffeb19abaf4750a2ab62dff6b79106e1347bc9dbcd6f65df3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2395873611d624e608034845ce226d288b7c9849580e9d71a92b3afa95177859 [INFO] running `Command { std: "docker" "start" "-a" "2395873611d624e608034845ce226d288b7c9849580e9d71a92b3afa95177859", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling aws-nitro-enclaves-cose v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.92s [INFO] running `Command { std: "docker" "inspect" "2395873611d624e608034845ce226d288b7c9849580e9d71a92b3afa95177859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2395873611d624e608034845ce226d288b7c9849580e9d71a92b3afa95177859", kill_on_drop: false }` [INFO] [stdout] 2395873611d624e608034845ce226d288b7c9849580e9d71a92b3afa95177859 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bc3b345a5e98bb85ebe352caa06187c85279ff2e6143c1b3e3e6c900c62c41f [INFO] running `Command { std: "docker" "start" "-a" "7bc3b345a5e98bb85ebe352caa06187c85279ff2e6143c1b3e3e6c900c62c41f", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling deranged v0.5.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aws-types v1.3.8 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling aws-smithy-xml v0.60.10 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling aws-smithy-types v1.3.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling aws-smithy-json v0.60.7 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling aws-smithy-async v1.2.5 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.9.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling aws-nitro-enclaves-cose v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling aws-credential-types v1.2.6 [INFO] [stderr] Compiling aws-smithy-http v0.62.3 [INFO] [stderr] Compiling aws-smithy-http v0.60.12 [INFO] [stderr] Compiling aws-sigv4 v1.3.4 [INFO] [stderr] Compiling aws-runtime v1.4.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling aws-smithy-runtime v1.2.1 [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/aws-smithy-runtime-1.2.1/src/client/orchestrator/auth.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | for &scheme_id in options.as_ref() { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `scheme_id` has type `AuthSchemeId`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 135 - for &scheme_id in options.as_ref() { [INFO] [stdout] 135 + for scheme_id in options.as_ref() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `scheme_id` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/aws-smithy-runtime-1.2.1/src/client/orchestrator/auth.rs:156:69 [INFO] [stdout] | [INFO] [stdout] 135 | for &scheme_id in options.as_ref() { [INFO] [stdout] | --------- move occurs because `scheme_id` has type `AuthSchemeId`, which does not implement the `Copy` trait [INFO] [stdout] 136 | // For each ID, try to resolve the corresponding auth scheme. [INFO] [stdout] 137 | if let Some(auth_scheme) = runtime_components.auth_scheme(scheme_id) { [INFO] [stdout] | --------- value moved here [INFO] [stdout] ... [INFO] [stdout] 156 | match extract_endpoint_auth_scheme_config(endpoint, scheme_id) { [INFO] [stdout] | ^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider borrowing `scheme_id` [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(auth_scheme) = runtime_components.auth_scheme(&scheme_id) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `scheme_id` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/aws-smithy-runtime-1.2.1/src/client/orchestrator/auth.rs:177:39 [INFO] [stdout] | [INFO] [stdout] 135 | for &scheme_id in options.as_ref() { [INFO] [stdout] | --------- move occurs because `scheme_id` has type `AuthSchemeId`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 156 | match extract_endpoint_auth_scheme_config(endpoint, scheme_id) { [INFO] [stdout] | --------- value moved here [INFO] [stdout] ... [INFO] [stdout] 177 | explored.push(scheme_id, ExploreResult::MissingEndpointConfig); [INFO] [stdout] | ^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `extract_endpoint_auth_scheme_config` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/aws-smithy-runtime-1.2.1/src/client/orchestrator/auth.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 193 | fn extract_endpoint_auth_scheme_config( [INFO] [stdout] | ----------------------------------- in this function [INFO] [stdout] 194 | endpoint: &Endpoint, [INFO] [stdout] 195 | scheme_id: AuthSchemeId, [INFO] [stdout] | ^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 156 | match extract_endpoint_auth_scheme_config(endpoint, scheme_id.clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-smithy-runtime` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "7bc3b345a5e98bb85ebe352caa06187c85279ff2e6143c1b3e3e6c900c62c41f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc3b345a5e98bb85ebe352caa06187c85279ff2e6143c1b3e3e6c900c62c41f", kill_on_drop: false }` [INFO] [stdout] 7bc3b345a5e98bb85ebe352caa06187c85279ff2e6143c1b3e3e6c900c62c41f