[INFO] cloning repository https://github.com/CordySeph/CordyChain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CordySeph/CordyChain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCordySeph%2FCordyChain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCordySeph%2FCordyChain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 417bc545fb9384544eb5335e5df81251f5bb617f [INFO] checking CordySeph/CordyChain against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCordySeph%2FCordyChain" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CordySeph/CordyChain [INFO] finished tweaking git repo https://github.com/CordySeph/CordyChain [INFO] tweaked toml for git repo https://github.com/CordySeph/CordyChain written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CordySeph/CordyChain on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CordySeph/CordyChain 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 996e73c5da4a7bc3b472b9de2df365a69572b3c2dc2974ae5b0dad74fb9e588a [INFO] running `Command { std: "docker" "start" "996e73c5da4a7bc3b472b9de2df365a69572b3c2dc2974ae5b0dad74fb9e588a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "996e73c5da4a7bc3b472b9de2df365a69572b3c2dc2974ae5b0dad74fb9e588a", 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" "996e73c5da4a7bc3b472b9de2df365a69572b3c2dc2974ae5b0dad74fb9e588a" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "996e73c5da4a7bc3b472b9de2df365a69572b3c2dc2974ae5b0dad74fb9e588a", 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" "996e73c5da4a7bc3b472b9de2df365a69572b3c2dc2974ae5b0dad74fb9e588a" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking crypto-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign` is never used [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | fn sign(&mut self, secret_key: &SecretKey) { [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 `secret_key` is never read [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct Wallet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 80 | secret_key: SecretKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scan_stealth_address` is never used [INFO] [stdout] --> src/main.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl Wallet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | fn scan_stealth_address(&self, tx: &Transaction) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Scalar` [INFO] [stdout] --> src/main.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | let v_h = h.mul_tweak(&secp, &v.into()).unwrap(); [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: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 36 - let v_h = h.mul_tweak(&secp, &v.into()).unwrap(); [INFO] [stdout] 36 + let v_h = h.mul_tweak(&secp, &v).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 36 - let v_h = h.mul_tweak(&secp, &v.into()).unwrap(); [INFO] [stdout] 36 + let v_h = h.mul_tweak(&secp, &>::into(v)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Scalar` [INFO] [stdout] --> src/main.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | let r_g = g.mul_tweak(&secp, &r.into()).unwrap(); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 37 - let r_g = g.mul_tweak(&secp, &r.into()).unwrap(); [INFO] [stdout] 37 + let r_g = g.mul_tweak(&secp, &r).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 37 - let r_g = g.mul_tweak(&secp, &r.into()).unwrap(); [INFO] [stdout] 37 + let r_g = g.mul_tweak(&secp, &>::into(r)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Scalar` [INFO] [stdout] --> src/main.rs:100:59 [INFO] [stdout] | [INFO] [stdout] 100 | let shared_secret = bob_pub_key.mul_tweak(&secp, &Scalar::from(r_key).into()).unwrap(); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 100 - let shared_secret = bob_pub_key.mul_tweak(&secp, &Scalar::from(r_key).into()).unwrap(); [INFO] [stdout] 100 + let shared_secret = bob_pub_key.mul_tweak(&secp, &Scalar::from(r_key)).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 100 - let shared_secret = bob_pub_key.mul_tweak(&secp, &Scalar::from(r_key).into()).unwrap(); [INFO] [stdout] 100 + let shared_secret = bob_pub_key.mul_tweak(&secp, &>::into(Scalar::from(r_key))).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Scalar` [INFO] [stdout] --> src/main.rs:109:61 [INFO] [stdout] | [INFO] [stdout] 109 | let shared_secret = ephemeral.mul_tweak(&secp, &Scalar::from(self.secret_key).into()).unwrap(); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 109 - let shared_secret = ephemeral.mul_tweak(&secp, &Scalar::from(self.secret_key).into()).unwrap(); [INFO] [stdout] 109 + let shared_secret = ephemeral.mul_tweak(&secp, &Scalar::from(self.secret_key)).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 109 - let shared_secret = ephemeral.mul_tweak(&secp, &Scalar::from(self.secret_key).into()).unwrap(); [INFO] [stdout] 109 + let shared_secret = ephemeral.mul_tweak(&secp, &>::into(Scalar::from(self.secret_key))).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign` is never used [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | fn sign(&mut self, secret_key: &SecretKey) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-project` (bin "crypto-project" test) due to 4 previous errors; 4 warnings emitted [INFO] [stdout] warning: field `secret_key` is never read [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct Wallet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 80 | secret_key: SecretKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `scan_stealth_address` is never used [INFO] [stdout] --> src/main.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl Wallet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | fn scan_stealth_address(&self, tx: &Transaction) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Scalar` [INFO] [stdout] --> src/main.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | let v_h = h.mul_tweak(&secp, &v.into()).unwrap(); [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: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 36 - let v_h = h.mul_tweak(&secp, &v.into()).unwrap(); [INFO] [stdout] 36 + let v_h = h.mul_tweak(&secp, &v).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 36 - let v_h = h.mul_tweak(&secp, &v.into()).unwrap(); [INFO] [stdout] 36 + let v_h = h.mul_tweak(&secp, &>::into(v)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Scalar` [INFO] [stdout] --> src/main.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | let r_g = g.mul_tweak(&secp, &r.into()).unwrap(); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 37 - let r_g = g.mul_tweak(&secp, &r.into()).unwrap(); [INFO] [stdout] 37 + let r_g = g.mul_tweak(&secp, &r).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 37 - let r_g = g.mul_tweak(&secp, &r.into()).unwrap(); [INFO] [stdout] 37 + let r_g = g.mul_tweak(&secp, &>::into(r)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Scalar` [INFO] [stdout] --> src/main.rs:100:59 [INFO] [stdout] | [INFO] [stdout] 100 | let shared_secret = bob_pub_key.mul_tweak(&secp, &Scalar::from(r_key).into()).unwrap(); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 100 - let shared_secret = bob_pub_key.mul_tweak(&secp, &Scalar::from(r_key).into()).unwrap(); [INFO] [stdout] 100 + let shared_secret = bob_pub_key.mul_tweak(&secp, &Scalar::from(r_key)).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 100 - let shared_secret = bob_pub_key.mul_tweak(&secp, &Scalar::from(r_key).into()).unwrap(); [INFO] [stdout] 100 + let shared_secret = bob_pub_key.mul_tweak(&secp, &>::into(Scalar::from(r_key))).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Scalar` [INFO] [stdout] --> src/main.rs:109:61 [INFO] [stdout] | [INFO] [stdout] 109 | let shared_secret = ephemeral.mul_tweak(&secp, &Scalar::from(self.secret_key).into()).unwrap(); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 109 - let shared_secret = ephemeral.mul_tweak(&secp, &Scalar::from(self.secret_key).into()).unwrap(); [INFO] [stdout] 109 + let shared_secret = ephemeral.mul_tweak(&secp, &Scalar::from(self.secret_key)).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 109 - let shared_secret = ephemeral.mul_tweak(&secp, &Scalar::from(self.secret_key).into()).unwrap(); [INFO] [stdout] 109 + let shared_secret = ephemeral.mul_tweak(&secp, &>::into(Scalar::from(self.secret_key))).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-project` (bin "crypto-project") due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: unused dependency `serde_json` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | serde_json = "1.0" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `serde_json` [INFO] [stderr] warning: `crypto-project` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "996e73c5da4a7bc3b472b9de2df365a69572b3c2dc2974ae5b0dad74fb9e588a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "996e73c5da4a7bc3b472b9de2df365a69572b3c2dc2974ae5b0dad74fb9e588a", kill_on_drop: false }` [INFO] [stdout] 996e73c5da4a7bc3b472b9de2df365a69572b3c2dc2974ae5b0dad74fb9e588a