[INFO] cloning repository https://github.com/lrubasze/bls_perf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lrubasze/bls_perf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flrubasze%2Fbls_perf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flrubasze%2Fbls_perf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 727a3af5c82c77356afe0b3278415d25a9ad122e [INFO] testing lrubasze/bls_perf against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flrubasze%2Fbls_perf" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lrubasze/bls_perf [INFO] finished tweaking git repo https://github.com/lrubasze/bls_perf [INFO] tweaked toml for git repo https://github.com/lrubasze/bls_perf written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lrubasze/bls_perf on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lrubasze/bls_perf 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25238234e4ac82bc5d74cebe96037b151bfd3922abdcbba3074d2902dc4a41b2 [INFO] running `Command { std: "docker" "start" "-a" "25238234e4ac82bc5d74cebe96037b151bfd3922abdcbba3074d2902dc4a41b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25238234e4ac82bc5d74cebe96037b151bfd3922abdcbba3074d2902dc4a41b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25238234e4ac82bc5d74cebe96037b151bfd3922abdcbba3074d2902dc4a41b2", kill_on_drop: false }` [INFO] [stdout] 25238234e4ac82bc5d74cebe96037b151bfd3922abdcbba3074d2902dc4a41b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b406eef7a48d654b20a9bae60c337712c9874bf43f277f295159cc87dd40a89f [INFO] running `Command { std: "docker" "start" "-a" "b406eef7a48d654b20a9bae60c337712c9874bf43f277f295159cc87dd40a89f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling perf-event-open-sys v4.0.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling perf-event v0.4.8 [INFO] [stderr] Compiling blst v0.3.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling count_instructions v0.1.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bls_perf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `alloc` [INFO] [stdout] --> src/bls12381/public_key.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(not(feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [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: `alloc` [INFO] [stdout] --> src/bls12381/public_key.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `alloc` [INFO] [stdout] --> src/bls12381/signature.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(not(feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.81s [INFO] running `Command { std: "docker" "inspect" "b406eef7a48d654b20a9bae60c337712c9874bf43f277f295159cc87dd40a89f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b406eef7a48d654b20a9bae60c337712c9874bf43f277f295159cc87dd40a89f", kill_on_drop: false }` [INFO] [stdout] b406eef7a48d654b20a9bae60c337712c9874bf43f277f295159cc87dd40a89f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c2c468af7d26a6bcbd9c09e2ba15c42f7b69755f109ca8aaa4fecbb9a51034d [INFO] running `Command { std: "docker" "start" "-a" "6c2c468af7d26a6bcbd9c09e2ba15c42f7b69755f109ca8aaa4fecbb9a51034d", kill_on_drop: false }` [INFO] [stderr] Compiling bls_perf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `sbor` in this scope [INFO] [stdout] --> src/keccak256.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use sbor::rust::str::FromStr; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sbor`, use `cargo add sbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in this scope [INFO] [stdout] --> src/bls12381/private_key.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | let test_message_hash = hash("Test").as_bytes().to_vec(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 132 + use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `alloc` [INFO] [stdout] --> src/bls12381/public_key.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(not(feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [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: `alloc` [INFO] [stdout] --> src/bls12381/public_key.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `alloc` [INFO] [stdout] --> src/bls12381/signature.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(not(feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `public_key::Bls12381G1PublicKey` in the current scope [INFO] [stdout] --> src/bls12381/private_key.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | let pk = Bls12381G1PublicKey::from_str(test_pk).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `public_key::Bls12381G1PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: src/bls12381/public_key.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Bls12381G1PublicKey(pub [u8; Self::LENGTH]); [INFO] [stdout] | ------------------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `public_key::Bls12381G1PublicKey`, consider using `public_key::Bls12381G1PublicKey::aggregate` which returns `Result` [INFO] [stdout] --> src/bls12381/public_key.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn aggregate(public_keys: &[Bls12381G1PublicKey]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 132 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 141 - let pk = Bls12381G1PublicKey::from_str(test_pk).unwrap(); [INFO] [stdout] 141 + let pk = Bls12381G1PublicKey::from(test_pk).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `signature::Bls12381G2Signature` in the current scope [INFO] [stdout] --> src/bls12381/private_key.rs:142:40 [INFO] [stdout] | [INFO] [stdout] 142 | let sig = Bls12381G2Signature::from_str(test_signature).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `signature::Bls12381G2Signature` [INFO] [stdout] | [INFO] [stdout] ::: src/bls12381/signature.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Bls12381G2Signature(pub [u8; Self::LENGTH]); [INFO] [stdout] | ------------------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `signature::Bls12381G2Signature`, consider using `signature::Bls12381G2Signature::aggregate` which returns `Result` [INFO] [stdout] --> src/bls12381/signature.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn aggregate(signatures: &[Bls12381G2Signature]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 132 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 142 - let sig = Bls12381G2Signature::from_str(test_signature).unwrap(); [INFO] [stdout] 142 + let sig = Bls12381G2Signature::from(test_signature).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `keccak256::Hash` in the current scope [INFO] [stdout] --> src/keccak256.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Hash(pub [u8; Self::LENGTH]); [INFO] [stdout] | --------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 77 | Hash::from_str("415942230ddb029416a4612818536de230d827cbac9646a0b26d9855a4c45587") [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `keccak256::Hash` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_str`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] candidate #2: `ValueEnum` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 77 - Hash::from_str("415942230ddb029416a4612818536de230d827cbac9646a0b26d9855a4c45587") [INFO] [stdout] 77 + Hash::from("415942230ddb029416a4612818536de230d827cbac9646a0b26d9855a4c45587") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `keccak256::Hash` doesn't implement `Debug` [INFO] [stdout] --> src/keccak256.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / assert_eq!( [INFO] [stdout] 76 | | hash, [INFO] [stdout] 77 | | Hash::from_str("415942230ddb029416a4612818536de230d827cbac9646a0b26d9855a4c45587") [INFO] [stdout] 78 | | .unwrap() [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_________^ the trait `Debug` is not implemented for `keccak256::Hash` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `keccak256::Hash` or manually `impl Debug for keccak256::Hash` [INFO] [stdout] help: consider annotating `keccak256::Hash` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 5 + #[derive(Debug)] [INFO] [stdout] 6 | pub struct Hash(pub [u8; Self::LENGTH]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bls_perf` (bin "bls_perf" test) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6c2c468af7d26a6bcbd9c09e2ba15c42f7b69755f109ca8aaa4fecbb9a51034d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2c468af7d26a6bcbd9c09e2ba15c42f7b69755f109ca8aaa4fecbb9a51034d", kill_on_drop: false }` [INFO] [stdout] 6c2c468af7d26a6bcbd9c09e2ba15c42f7b69755f109ca8aaa4fecbb9a51034d