[INFO] fetching crate ring-wasi 0.16.25... [INFO] testing ring-wasi-0.16.25 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ring-wasi 0.16.25 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ring-wasi 0.16.25 [INFO] finished tweaking crates.io crate ring-wasi 0.16.25 [INFO] tweaked toml for crates.io crate ring-wasi 0.16.25 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ring-wasi 0.16.25 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding spin v0.5.2 (available: v0.10.0) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [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] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 319521e4ea7ca970629fa8f2e1b0f34a5431b4ba344b8f92cea1877f315115da [INFO] running `Command { std: "docker" "start" "-a" "319521e4ea7ca970629fa8f2e1b0f34a5431b4ba344b8f92cea1877f315115da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "319521e4ea7ca970629fa8f2e1b0f34a5431b4ba344b8f92cea1877f315115da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "319521e4ea7ca970629fa8f2e1b0f34a5431b4ba344b8f92cea1877f315115da", kill_on_drop: false }` [INFO] [stdout] 319521e4ea7ca970629fa8f2e1b0f34a5431b4ba344b8f92cea1877f315115da [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b1d8b2fea24fbb8bac677e2dd7a5b8e1229e897154bac7ae097df4bb9821a93 [INFO] running `Command { std: "docker" "start" "-a" "9b1d8b2fea24fbb8bac677e2dd7a5b8e1229e897154bac7ae097df4bb9821a93", kill_on_drop: false }` [INFO] [stderr] Compiling ring-wasi v0.16.25 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> build.rs:646:21 [INFO] [stdout] | [INFO] [stdout] 646 | "x86_64" => ("win64"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 646 - "x86_64" => ("win64"), [INFO] [stdout] 646 + "x86_64" => "win64", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> build.rs:647:18 [INFO] [stdout] | [INFO] [stdout] 647 | "x86" => ("win32"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 647 - "x86" => ("win32"), [INFO] [stdout] 647 + "x86" => "win32", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/digest.rs:448:38 [INFO] [stdout] | [INFO] [stdout] 448 | as64: [BigEndian; 512 / 8 / core::mem::size_of::>()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | #![deny(missing_docs, unused_qualifications, variant_size_differences)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 448 - as64: [BigEndian; 512 / 8 / core::mem::size_of::>()], [INFO] [stdout] 448 + as64: [BigEndian; 512 / 8 / size_of::>()], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/digest.rs:449:38 [INFO] [stdout] | [INFO] [stdout] 449 | as32: [BigEndian; 256 / 8 / core::mem::size_of::>()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 449 - as32: [BigEndian; 256 / 8 / core::mem::size_of::>()], [INFO] [stdout] 449 + as32: [BigEndian; 256 / 8 / size_of::>()], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasix` [INFO] [stdout] --> src/rand.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | #[cfg(any(target_os = "wasi", target_os = "wasix"))] [INFO] [stdout] | ^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"wasi"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasix` [INFO] [stdout] --> src/rand.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(not(any(target_os = "wasi", target_os = "wasix")))] [INFO] [stdout] | ^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"wasi"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/rand.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | pub trait RandomlyConstructable: self::sealed::RandomlyConstructable {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 104 - pub trait RandomlyConstructable: self::sealed::RandomlyConstructable {} [INFO] [stdout] 104 + pub trait RandomlyConstructable: sealed::RandomlyConstructable {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/rand.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 105 | impl RandomlyConstructable for T where T: self::sealed::RandomlyConstructable {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 105 - impl RandomlyConstructable for T where T: self::sealed::RandomlyConstructable {} [INFO] [stdout] 105 + impl RandomlyConstructable for T where T: sealed::RandomlyConstructable {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/rsa/signing.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | error::KeyRejected::invalid_encoding(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 169 - error::KeyRejected::invalid_encoding(), [INFO] [stdout] 169 + KeyRejected::invalid_encoding(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/rsa/signing.rs:316:26 [INFO] [stdout] | [INFO] [stdout] 316 | .map_err(|_| error::KeyRejected::invalid_encoding())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 316 - .map_err(|_| error::KeyRejected::invalid_encoding())?; [INFO] [stdout] 316 + .map_err(|_| KeyRejected::invalid_encoding())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/rsa/signing.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | return Err(error::KeyRejected::private_modulus_len_not_multiple_of_512_bits()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 445 - return Err(error::KeyRejected::private_modulus_len_not_multiple_of_512_bits()); [INFO] [stdout] 445 + return Err(KeyRejected::private_modulus_len_not_multiple_of_512_bits()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ChunksFixedMut` is never used [INFO] [stdout] --> src/polyfill/chunks_fixed.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait ChunksFixedMut<'a, Chunk> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cpu_features` is never read [INFO] [stdout] --> src/digest.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct BlockContext { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | cpu_features: cpu::Features, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/arithmetic/bigint.rs:344:19 [INFO] [stdout] | [INFO] [stdout] 344 | fn as_partial(&self) -> PartialModulus { [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] 344 | fn as_partial(&self) -> PartialModulus<'_, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pkcs8.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn alg_id_value(&self) -> untrusted::Input { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn alg_id_value(&self) -> untrusted::Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pkcs8.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn curve_oid(&self) -> untrusted::Input { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn curve_oid(&self) -> untrusted::Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rsa/signing.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn modulus(&self) -> io::Positive { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 418 | pub fn modulus(&self) -> io::Positive<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rsa/signing.rs:426:21 [INFO] [stdout] | [INFO] [stdout] 426 | pub fn exponent(&self) -> io::Positive { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 426 | pub fn exponent(&self) -> io::Positive<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ring-wasi` (lib) due to 7 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b1d8b2fea24fbb8bac677e2dd7a5b8e1229e897154bac7ae097df4bb9821a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b1d8b2fea24fbb8bac677e2dd7a5b8e1229e897154bac7ae097df4bb9821a93", kill_on_drop: false }` [INFO] [stdout] 9b1d8b2fea24fbb8bac677e2dd7a5b8e1229e897154bac7ae097df4bb9821a93