[INFO] fetching crate libecdsautil-sys 0.1.0... [INFO] checking libecdsautil-sys-0.1.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate libecdsautil-sys 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate libecdsautil-sys 0.1.0 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libecdsautil-sys 0.1.0 [INFO] finished tweaking crates.io crate libecdsautil-sys 0.1.0 [INFO] tweaked toml for crates.io crate libecdsautil-sys 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.60.1 (available: v0.70.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a90c8ae899081c50b9c11b8e22b324730eec4563e89c5a7b875c59ae9b86f306 [INFO] running `Command { std: "docker" "start" "-a" "a90c8ae899081c50b9c11b8e22b324730eec4563e89c5a7b875c59ae9b86f306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a90c8ae899081c50b9c11b8e22b324730eec4563e89c5a7b875c59ae9b86f306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a90c8ae899081c50b9c11b8e22b324730eec4563e89c5a7b875c59ae9b86f306", kill_on_drop: false }` [INFO] [stdout] a90c8ae899081c50b9c11b8e22b324730eec4563e89c5a7b875c59ae9b86f306 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fcdb7a5bc40dce0220b64dcb90bd38c74565af173224f92e8a860ff430c8ea2 [INFO] running `Command { std: "docker" "start" "-a" "5fcdb7a5bc40dce0220b64dcb90bd38c74565af173224f92e8a860ff430c8ea2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling libecdsautil-sys v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs (5 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.43s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling libecdsautil-sys v0.1.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs:3:6703 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Checks if a unpacked public key is valid"] pub fn ecdsa_is_valid_pubkey (pubkey : * const ecc_25519_work_t) -> bool ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs:3:6847 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Signs a hash value using a given secret key"] # [doc = ""] # [doc = " The signature is deterministic, so using the same secret key to sign the same hash will always"] # [doc = " yield the same value (using the same libecdsautil version)."] # [doc = ""] # [doc = " This function uses libuecc's legacy curve representation."] pub fn ecdsa_sign_legacy (signature : * mut ecdsa_signature_t , hash : * const ecc_int256_t , secret : * const ecc_int256_t) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs:3:7324 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Prepares a signature for a given hash for efficient validation"] # [doc = ""] # [doc = " This function uses libuecc's legacy curve representation."] pub fn ecdsa_verify_prepare_legacy (ctx : * mut ecdsa_verify_context_t , hash : * const ecc_int256_t , signature : * const ecdsa_signature_t) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs:3:7643 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Verifies a signature against a given public key"] # [doc = ""] # [doc = " This function uses libuecc's legacy curve representation."] pub fn ecdsa_verify_legacy (ctx : * const ecdsa_verify_context_t , pubkey : * const ecc_25519_work_t) -> bool ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs:3:7915 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Verifies multiple signatures against a list of public keys and returns the number of valid signatures for distinct keys"] # [doc = ""] # [doc = " The caller must ensure that the given list of public keys does not contain duplicates."] # [doc = ""] # [doc = " This function uses libuecc's legacy curve representation."] pub fn ecdsa_verify_list_legacy (ctxs : * const ecdsa_verify_context_t , n_ctxs : usize , pubkeys : * const ecc_25519_work_t , n_pubkeys : usize) -> usize ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs:3:6703 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Checks if a unpacked public key is valid"] pub fn ecdsa_is_valid_pubkey (pubkey : * const ecc_25519_work_t) -> bool ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs:3:6847 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Signs a hash value using a given secret key"] # [doc = ""] # [doc = " The signature is deterministic, so using the same secret key to sign the same hash will always"] # [doc = " yield the same value (using the same libecdsautil version)."] # [doc = ""] # [doc = " This function uses libuecc's legacy curve representation."] pub fn ecdsa_sign_legacy (signature : * mut ecdsa_signature_t , hash : * const ecc_int256_t , secret : * const ecc_int256_t) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs:3:7324 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Prepares a signature for a given hash for efficient validation"] # [doc = ""] # [doc = " This function uses libuecc's legacy curve representation."] pub fn ecdsa_verify_prepare_legacy (ctx : * mut ecdsa_verify_context_t , hash : * const ecc_int256_t , signature : * const ecdsa_signature_t) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs:3:7643 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Verifies a signature against a given public key"] # [doc = ""] # [doc = " This function uses libuecc's legacy curve representation."] pub fn ecdsa_verify_legacy (ctx : * const ecdsa_verify_context_t , pubkey : * const ecc_25519_work_t) -> bool ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libecdsautil-sys-ba1489e6a43be532/out/bindings.rs:3:7915 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Verifies multiple signatures against a list of public keys and returns the number of valid signatures for distinct keys"] # [doc = ""] # [doc = " The caller must ensure that the given list of public keys does not contain duplicates."] # [doc = ""] # [doc = " This function uses libuecc's legacy curve representation."] pub fn ecdsa_verify_list_legacy (ctxs : * const ecdsa_verify_context_t , n_ctxs : usize , pubkeys : * const ecc_25519_work_t , n_pubkeys : usize) -> usize ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libecdsautil-sys` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `libecdsautil-sys` (lib test) due to 5 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5fcdb7a5bc40dce0220b64dcb90bd38c74565af173224f92e8a860ff430c8ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fcdb7a5bc40dce0220b64dcb90bd38c74565af173224f92e8a860ff430c8ea2", kill_on_drop: false }` [INFO] [stdout] 5fcdb7a5bc40dce0220b64dcb90bd38c74565af173224f92e8a860ff430c8ea2