[INFO] fetching crate trezor-crypto 0.2.5... [INFO] testing trezor-crypto-0.2.5 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate trezor-crypto 0.2.5 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate trezor-crypto 0.2.5 [INFO] finished tweaking crates.io crate trezor-crypto 0.2.5 [INFO] tweaked toml for crates.io crate trezor-crypto 0.2.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trezor-crypto 0.2.5 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 828ef54ca094b2313236f77a674f23def89c968d4564b6dc400407af1a33becd [INFO] running `Command { std: "docker" "start" "-a" "828ef54ca094b2313236f77a674f23def89c968d4564b6dc400407af1a33becd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "828ef54ca094b2313236f77a674f23def89c968d4564b6dc400407af1a33becd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828ef54ca094b2313236f77a674f23def89c968d4564b6dc400407af1a33becd", kill_on_drop: false }` [INFO] [stdout] 828ef54ca094b2313236f77a674f23def89c968d4564b6dc400407af1a33becd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ed8b3a270ea8f22af5d00145e468ed27853618f99adc8ec0826b7d49db8d923 [INFO] running `Command { std: "docker" "start" "-a" "7ed8b3a270ea8f22af5d00145e468ed27853618f99adc8ec0826b7d49db8d923", kill_on_drop: false }` [INFO] [stderr] Compiling trezor-crypto-sys v0.1.2 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling trezor-crypto v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ecdsa/curve.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | $name_ptr.as_ptr() [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 261 | / ecdsa_curve!( [INFO] [stdout] 262 | | Secp256k1, [INFO] [stdout] 263 | | sys::secp256k1, [INFO] [stdout] 264 | | sys::secp256k1_info, [INFO] [stdout] 265 | | sys::SECP256K1_NAME [INFO] [stdout] 266 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ecdsa/curve.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | $name_ptr.as_ptr() [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 267 | / ecdsa_curve!( [INFO] [stdout] 268 | | Nist256p1, [INFO] [stdout] 269 | | sys::nist256p1, [INFO] [stdout] 270 | | sys::nist256p1_info, [INFO] [stdout] 271 | | sys::NIST256P1_NAME [INFO] [stdout] 272 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ed25519.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | sys::ED25519_NAME.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ed25519.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | sys::ED25519_CARDANO_NAME.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hd_node.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe fn borrow(&self) -> HDNodeRef { [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] 110 | unsafe fn borrow(&self) -> HDNodeRef<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hd_node.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn borrow_mut(&mut self) -> HDNodeMutRef { [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] 117 | unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.88s [INFO] running `Command { std: "docker" "inspect" "7ed8b3a270ea8f22af5d00145e468ed27853618f99adc8ec0826b7d49db8d923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ed8b3a270ea8f22af5d00145e468ed27853618f99adc8ec0826b7d49db8d923", kill_on_drop: false }` [INFO] [stdout] 7ed8b3a270ea8f22af5d00145e468ed27853618f99adc8ec0826b7d49db8d923 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0df1e202c59dde479212262d0a3538d5b79a1ef2e790478604cacdb3a0f8e4f9 [INFO] running `Command { std: "docker" "start" "-a" "0df1e202c59dde479212262d0a3538d5b79a1ef2e790478604cacdb3a0f8e4f9", kill_on_drop: false }` [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ecdsa/curve.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | $name_ptr.as_ptr() [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 261 | / ecdsa_curve!( [INFO] [stdout] 262 | | Secp256k1, [INFO] [stdout] 263 | | sys::secp256k1, [INFO] [stdout] 264 | | sys::secp256k1_info, [INFO] [stdout] 265 | | sys::SECP256K1_NAME [INFO] [stdout] 266 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ecdsa/curve.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | $name_ptr.as_ptr() [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 267 | / ecdsa_curve!( [INFO] [stdout] 268 | | Nist256p1, [INFO] [stdout] 269 | | sys::nist256p1, [INFO] [stdout] 270 | | sys::nist256p1_info, [INFO] [stdout] 271 | | sys::NIST256P1_NAME [INFO] [stdout] 272 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ed25519.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | sys::ED25519_NAME.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ed25519.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | sys::ED25519_CARDANO_NAME.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hd_node.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe fn borrow(&self) -> HDNodeRef { [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] 110 | unsafe fn borrow(&self) -> HDNodeRef<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hd_node.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn borrow_mut(&mut self) -> HDNodeMutRef { [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] 117 | unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trezor-crypto v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ecdsa/curve.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | $name_ptr.as_ptr() [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 261 | / ecdsa_curve!( [INFO] [stdout] 262 | | Secp256k1, [INFO] [stdout] 263 | | sys::secp256k1, [INFO] [stdout] 264 | | sys::secp256k1_info, [INFO] [stdout] 265 | | sys::SECP256K1_NAME [INFO] [stdout] 266 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ecdsa/curve.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | $name_ptr.as_ptr() [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 267 | / ecdsa_curve!( [INFO] [stdout] 268 | | Nist256p1, [INFO] [stdout] 269 | | sys::nist256p1, [INFO] [stdout] 270 | | sys::nist256p1_info, [INFO] [stdout] 271 | | sys::NIST256P1_NAME [INFO] [stdout] 272 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ed25519.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | sys::ED25519_NAME.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ed25519.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | sys::ED25519_CARDANO_NAME.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hd_node.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe fn borrow(&self) -> HDNodeRef { [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] 110 | unsafe fn borrow(&self) -> HDNodeRef<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hd_node.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn borrow_mut(&mut self) -> HDNodeMutRef { [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] 117 | unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "0df1e202c59dde479212262d0a3538d5b79a1ef2e790478604cacdb3a0f8e4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df1e202c59dde479212262d0a3538d5b79a1ef2e790478604cacdb3a0f8e4f9", kill_on_drop: false }` [INFO] [stdout] 0df1e202c59dde479212262d0a3538d5b79a1ef2e790478604cacdb3a0f8e4f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 58fa304735797c8ac86e224aebf6e29ac99ee66b98702bdc9eb97553f6ffa603 [INFO] running `Command { std: "docker" "start" "-a" "58fa304735797c8ac86e224aebf6e29ac99ee66b98702bdc9eb97553f6ffa603", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ecdsa/curve.rs:256:17 [INFO] [stderr] | [INFO] [stderr] 256 | $name_ptr.as_ptr() [INFO] [stderr] | ^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 261 | / ecdsa_curve!( [INFO] [stderr] 262 | | Secp256k1, [INFO] [stderr] 263 | | sys::secp256k1, [INFO] [stderr] 264 | | sys::secp256k1_info, [INFO] [stderr] 265 | | sys::SECP256K1_NAME [INFO] [stderr] 266 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ecdsa/curve.rs:256:17 [INFO] [stderr] | [INFO] [stderr] 256 | $name_ptr.as_ptr() [INFO] [stderr] | ^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 267 | / ecdsa_curve!( [INFO] [stderr] 268 | | Nist256p1, [INFO] [stderr] 269 | | sys::nist256p1, [INFO] [stderr] 270 | | sys::nist256p1_info, [INFO] [stderr] 271 | | sys::NIST256P1_NAME [INFO] [stderr] 272 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ed25519.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | sys::ED25519_NAME.as_ptr() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ed25519.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | sys::ED25519_CARDANO_NAME.as_ptr() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hd_node.rs:110:22 [INFO] [stderr] | [INFO] [stderr] 110 | unsafe fn borrow(&self) -> HDNodeRef { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 110 | unsafe fn borrow(&self) -> HDNodeRef<'_, C> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hd_node.rs:117:26 [INFO] [stderr] | [INFO] [stderr] 117 | unsafe fn borrow_mut(&mut self) -> HDNodeMutRef { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 117 | unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<'_, C> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `trezor-crypto` (lib) generated 6 warnings (run `cargo fix --lib -p trezor-crypto` to apply 2 suggestions) [INFO] [stderr] warning: `trezor-crypto` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trezor_crypto-754277f3cccc9c4e) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test ecdsa::curve::tests::curve_name ... ok [INFO] [stdout] test ecdsa::curve::tests::secp256k1_public_key_from_slice ... ok [INFO] [stdout] test bip39::tests::bip39_multi_thread ... ok [INFO] [stdout] test ed25519::tests::curve_name ... ok [INFO] [stdout] test ed25519::tests::ed25519_multi_thread ... ok [INFO] [stdout] test ed25519::tests::ed25519_public_key ... ok [INFO] [stdout] test ecdsa::curve::tests::nist256p1_public_key_test_vectors ... ok [INFO] [stdout] test ecdsa::curve::tests::nist256p1_signature_test_is_canonical ... ok [INFO] [stdout] test ed25519::tests::ed25519_sign ... ok [INFO] [stdout] test hasher::tests::sha3_256_test_vectors ... ok [INFO] [stdout] test ecdsa::curve::tests::nist256p1_signature_test_vectors ... ok [INFO] [stdout] test ed25519::tests::sign_ext_test_vectors ... ok [INFO] [stdout] test hasher::tests::sha3_256_multi_threaded ... ok [INFO] [stdout] test ecdsa::curve::tests::secp256k1_public_key_trait ... ok [INFO] [stdout] test hd_node::tests::dignity_cardano ... ok [INFO] [stdout] test hd_node::tests::derive_next ... ok [INFO] [stdout] test hd_node::tests::derive ... ok [INFO] [stdout] test hd_node::tests::dignity_secp256k1 ... ok [INFO] [stdout] test hd_node::tests::from_xprv ... ok [INFO] [stdout] test ecdsa::curve::tests::secp256k1_public_key_test_vectors ... ok [INFO] [stdout] test hd_node::tests::from_xpub ... ok [INFO] [stdout] test ecdsa::curve::tests::ecdsa_multi_thread ... ok [INFO] [stdout] test hd_node::tests::sign ... ok [INFO] [stdout] test bip39::tests::test_vectors ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] Doc-tests trezor_crypto [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "58fa304735797c8ac86e224aebf6e29ac99ee66b98702bdc9eb97553f6ffa603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58fa304735797c8ac86e224aebf6e29ac99ee66b98702bdc9eb97553f6ffa603", kill_on_drop: false }` [INFO] [stdout] 58fa304735797c8ac86e224aebf6e29ac99ee66b98702bdc9eb97553f6ffa603