[INFO] fetching crate cryptid 0.2.8... [INFO] checking cryptid-0.2.8 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate cryptid 0.2.8 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cryptid 0.2.8 [INFO] finished tweaking crates.io crate cryptid 0.2.8 [INFO] tweaked toml for crates.io crate cryptid 0.2.8 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cryptid 0.2.8 on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.12.3 (available: v0.22.1) [INFO] [stderr] Adding curve25519-dalek v2.1.3 (available: v4.1.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.14) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 10f43983bb9b60b856aa22840a584a5c667516d7d24c40cc3a5644153cfbe2df [INFO] running `Command { std: "docker" "start" "10f43983bb9b60b856aa22840a584a5c667516d7d24c40cc3a5644153cfbe2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "10f43983bb9b60b856aa22840a584a5c667516d7d24c40cc3a5644153cfbe2df" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10f43983bb9b60b856aa22840a584a5c667516d7d24c40cc3a5644153cfbe2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "10f43983bb9b60b856aa22840a584a5c667516d7d24c40cc3a5644153cfbe2df" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.8.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking zeroize v1.9.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling cc v1.2.64 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking cryptid v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `n` is never read [INFO] [stdout] --> src/curve.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Polynomial { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 177 | k: usize, [INFO] [stdout] 178 | n: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Polynomial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `curve::CurveElem` [INFO] [stdout] --> src/elgamal.rs:192:32 [INFO] [stdout] | [INFO] [stdout] 192 | let y = PublicKey::new(ctx.g_to(&x).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `curve::CurveElem` [INFO] [stdout] --> src/elgamal.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | let ct1 = y.encrypt(&ctx, &m1.into(), &r1); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `curve::CurveElem` [INFO] [stdout] --> src/elgamal.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | let ct2 = y.encrypt(&ctx, &m2.into(), &r2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `curve::CurveElem` [INFO] [stdout] --> src/elgamal.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | let y = PublicKey::new(ctx.g_to(&x).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `curve::CurveElem` [INFO] [stdout] --> src/elgamal.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | let y = PublicKey::new(ctx.g_to(&x).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptid` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `n` and `x_i` are never read [INFO] [stdout] --> src/curve.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Polynomial { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 177 | k: usize, [INFO] [stdout] 178 | n: usize, [INFO] [stdout] | ^ [INFO] [stdout] 179 | pub x_i: Scalar, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Polynomial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "10f43983bb9b60b856aa22840a584a5c667516d7d24c40cc3a5644153cfbe2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f43983bb9b60b856aa22840a584a5c667516d7d24c40cc3a5644153cfbe2df", kill_on_drop: false }` [INFO] [stdout] 10f43983bb9b60b856aa22840a584a5c667516d7d24c40cc3a5644153cfbe2df