[INFO] fetching crate identity_jose 0.7.0-alpha.7... [INFO] checking identity_jose-0.7.0-alpha.7 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate identity_jose 0.7.0-alpha.7 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate identity_jose 0.7.0-alpha.7 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate identity_jose 0.7.0-alpha.7 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate identity_jose 0.7.0-alpha.7 [INFO] tweaked toml for crates.io crate identity_jose 0.7.0-alpha.7 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate identity_jose 0.7.0-alpha.7 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3feabc3944d1dcfb54f53c7a769bdcb6d58ffab394f658a464bc7afa5b03eb3d [INFO] running `Command { std: "docker" "start" "-a" "3feabc3944d1dcfb54f53c7a769bdcb6d58ffab394f658a464bc7afa5b03eb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3feabc3944d1dcfb54f53c7a769bdcb6d58ffab394f658a464bc7afa5b03eb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3feabc3944d1dcfb54f53c7a769bdcb6d58ffab394f658a464bc7afa5b03eb3d", kill_on_drop: false }` [INFO] [stdout] 3feabc3944d1dcfb54f53c7a769bdcb6d58ffab394f658a464bc7afa5b03eb3d [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ee19c7535a3bc4a2b3c52a5a025417c2ebfb335c59d7942ec6a43bb433a4a17 [INFO] running `Command { std: "docker" "start" "-a" "4ee19c7535a3bc4a2b3c52a5a025417c2ebfb335c59d7942ec6a43bb433a4a17", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling platforms v3.0.2 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling iota-crypto v0.23.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling thiserror v1.0.46 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.74 [INFO] [stderr] Compiling curve25519-dalek v4.0.0-rc.3 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.11 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking signature v2.0.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking data-encoding-macro v0.1.13 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking deranged v0.3.7 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking time v0.3.25 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.46 [INFO] [stderr] Compiling strum_macros v0.25.2 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking ed25519-zebra v4.0.1 [INFO] [stderr] Checking ecdsa v0.15.1 [INFO] [stderr] Checking primeorder v0.12.1 [INFO] [stderr] Checking identity_core v0.7.0-alpha.7 [INFO] [stderr] Checking p256 v0.12.0 [INFO] [stderr] Checking identity_jose v0.7.0-alpha.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0505]: cannot move out of `encoder` because it is borrowed [INFO] [stdout] --> src/tests/rfc7515.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 30 | let encoder: jws::CompactJwsEncoder<'_> = jws::CompactJwsEncoder::new(tv.claims, &header).unwrap(); [INFO] [stdout] | ------- binding `encoder` declared here [INFO] [stdout] 31 | let signing_input: &[u8] = encoder.signing_input(); [INFO] [stdout] | ------- borrow of `encoder` occurs here [INFO] [stdout] ... [INFO] [stdout] 35 | encoder.into_jws(signature.as_ref()) [INFO] [stdout] | ^^^^^^^ --------- borrow later used here [INFO] [stdout] | | [INFO] [stdout] | move out of `encoder` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `encoder` because it is borrowed [INFO] [stdout] --> src/tests/rfc7515.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 30 | let encoder: jws::CompactJwsEncoder<'_> = jws::CompactJwsEncoder::new(tv.claims, &header).unwrap(); [INFO] [stdout] | ------- binding `encoder` declared here [INFO] [stdout] 31 | let signing_input: &[u8] = encoder.signing_input(); [INFO] [stdout] | ------- borrow of `encoder` occurs here [INFO] [stdout] ... [INFO] [stdout] 39 | encoder.into_jws(signature.as_ref()) [INFO] [stdout] | ^^^^^^^ --------- borrow later used here [INFO] [stdout] | | [INFO] [stdout] | move out of `encoder` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `encoder` because it is borrowed [INFO] [stdout] --> src/tests/rfc8037.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 36 | let encoder: CompactJwsEncoder<'_> = CompactJwsEncoder::new(tv.payload.as_bytes(), &header).unwrap(); [INFO] [stdout] | ------- binding `encoder` declared here [INFO] [stdout] 37 | let signing_input: &[u8] = encoder.signing_input(); [INFO] [stdout] | ------- borrow of `encoder` occurs here [INFO] [stdout] 38 | let signature = ed25519::sign(signing_input, &secret); [INFO] [stdout] 39 | let jws: String = encoder.into_jws(signature.as_ref()); [INFO] [stdout] | ^^^^^^^ --------- borrow later used here [INFO] [stdout] | | [INFO] [stdout] | move out of `encoder` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `identity_jose` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4ee19c7535a3bc4a2b3c52a5a025417c2ebfb335c59d7942ec6a43bb433a4a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee19c7535a3bc4a2b3c52a5a025417c2ebfb335c59d7942ec6a43bb433a4a17", kill_on_drop: false }` [INFO] [stdout] 4ee19c7535a3bc4a2b3c52a5a025417c2ebfb335c59d7942ec6a43bb433a4a17