[INFO] fetching crate image4 0.8.2... [INFO] testing image4-0.8.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate image4 0.8.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate image4 0.8.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate image4 0.8.2 [INFO] tweaked toml for crates.io crate image4 0.8.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate image4 0.8.2 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 image4 0.8.2 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7626a8c290f5bb9b66d8a91c462239e97df71dd719ff5a6e9a32819fad4cccad [INFO] running `Command { std: "docker" "start" "-a" "7626a8c290f5bb9b66d8a91c462239e97df71dd719ff5a6e9a32819fad4cccad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7626a8c290f5bb9b66d8a91c462239e97df71dd719ff5a6e9a32819fad4cccad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7626a8c290f5bb9b66d8a91c462239e97df71dd719ff5a6e9a32819fad4cccad", kill_on_drop: false }` [INFO] [stdout] 7626a8c290f5bb9b66d8a91c462239e97df71dd719ff5a6e9a32819fad4cccad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 74ab97b1f7dfee424ca4659bfb87b5f8dce1736ac6daceee4f05f3db48a61b17 [INFO] running `Command { std: "docker" "start" "-a" "74ab97b1f7dfee424ca4659bfb87b5f8dce1736ac6daceee4f05f3db48a61b17", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling image4 v0.8.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.52s [INFO] running `Command { std: "docker" "inspect" "74ab97b1f7dfee424ca4659bfb87b5f8dce1736ac6daceee4f05f3db48a61b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74ab97b1f7dfee424ca4659bfb87b5f8dce1736ac6daceee4f05f3db48a61b17", kill_on_drop: false }` [INFO] [stdout] 74ab97b1f7dfee424ca4659bfb87b5f8dce1736ac6daceee4f05f3db48a61b17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 504b96fb50670de5e98769b17e3523567539bfc785fa2a9d4b6f8c3d8f6e7c20 [INFO] running `Command { std: "docker" "start" "-a" "504b96fb50670de5e98769b17e3523567539bfc785fa2a9d4b6f8c3d8f6e7c20", kill_on_drop: false }` [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling hex-literal v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling image4 v0.8.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stdout] error[E0432]: unresolved import `signature` [INFO] [stdout] --> tests/manifest.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use signature::Verifier; [INFO] [stdout] | ^^^^^^^^^ help: a similar path exists: `rsa::signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode_body` found for reference `&CertChainRef<'_>` in the current scope [INFO] [stdout] --> tests/manifest.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | manifest.cert_chain().decode_body()?; [INFO] [stdout] | -------- ^^^^^^^^^^^ method not found in `&CertChainRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | method `decode_body` is available on `&ManifestRef<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sign` found for struct `UnsignedManifestRef<'a>` in the current scope [INFO] [stdout] --> tests/manifest.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | let signed_manifest = unsigned_manifest.sign(&signing_key, cert_chain)?; [INFO] [stdout] | ^^^^ method not found in `UnsignedManifestRef<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify` found for struct `rsa::pkcs1v15::VerifyingKey` in the current scope [INFO] [stdout] --> tests/manifest.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | verifying_key.verify(signed_manifest.body().as_bytes(), &signature)?; [INFO] [stdout] | ^^^^^^ method not found in `VerifyingKey>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.2.0/src/verifier.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(&self, msg: &[u8], signature: &S) -> Result<(), Error>; [INFO] [stdout] | ------ the method is available for `rsa::pkcs1v15::VerifyingKey, B1>, B0>, B0>, B0>, B0>, OidSha384>>>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/manifest-6866732a820453e1.long-type-18331527754617427709.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: trait `Verifier` which provides `verify` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::signature::Verifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode_body` found for struct `CertRef<'a>` in the current scope [INFO] [stdout] --> tests/manifest.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 101 | let cert = manifest [INFO] [stdout] | ________________- [INFO] [stdout] 102 | | .cert_chain() [INFO] [stdout] 103 | | .iter() [INFO] [stdout] 104 | | .next() [INFO] [stdout] 105 | | .unwrap()? [INFO] [stdout] 106 | | .decode_body()?; [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `CertRef<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify` found for struct `rsa::pkcs1v15::VerifyingKey` in the current scope [INFO] [stdout] --> tests/manifest.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | verifying_key.verify(manifest.body().as_bytes(), &signature)?; [INFO] [stdout] | ^^^^^^ method not found in `VerifyingKey>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.2.0/src/verifier.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(&self, msg: &[u8], signature: &S) -> Result<(), Error>; [INFO] [stdout] | ------ the method is available for `rsa::pkcs1v15::VerifyingKey, B1>, B0>, B0>, B0>, B0>, OidSha384>>>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/manifest-6866732a820453e1.long-type-18331527754617427709.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: trait `Verifier` which provides `verify` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::signature::Verifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `image4` (test "manifest") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "504b96fb50670de5e98769b17e3523567539bfc785fa2a9d4b6f8c3d8f6e7c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504b96fb50670de5e98769b17e3523567539bfc785fa2a9d4b6f8c3d8f6e7c20", kill_on_drop: false }` [INFO] [stdout] 504b96fb50670de5e98769b17e3523567539bfc785fa2a9d4b6f8c3d8f6e7c20