[INFO] fetching crate trezor-crypto 0.2.5... [INFO] testing trezor-crypto-0.2.5 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate trezor-crypto 0.2.5 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trezor-crypto 0.2.5 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trezor-crypto-sys v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02e7b42f775317e88d924ab792a9bf447fc5dbf13b7def1ca011dfad99e4d112 [INFO] running `Command { std: "docker" "start" "-a" "02e7b42f775317e88d924ab792a9bf447fc5dbf13b7def1ca011dfad99e4d112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02e7b42f775317e88d924ab792a9bf447fc5dbf13b7def1ca011dfad99e4d112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e7b42f775317e88d924ab792a9bf447fc5dbf13b7def1ca011dfad99e4d112", kill_on_drop: false }` [INFO] [stdout] 02e7b42f775317e88d924ab792a9bf447fc5dbf13b7def1ca011dfad99e4d112 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee89d4d2b49b3e3db0aa6e817565fccf675e6dcc9667d7ca41a8bd7f05e9e1a6 [INFO] running `Command { std: "docker" "start" "-a" "ee89d4d2b49b3e3db0aa6e817565fccf675e6dcc9667d7ca41a8bd7f05e9e1a6", kill_on_drop: false }` [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling trezor-crypto-sys v0.1.2 [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 16.43s [INFO] running `Command { std: "docker" "inspect" "ee89d4d2b49b3e3db0aa6e817565fccf675e6dcc9667d7ca41a8bd7f05e9e1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee89d4d2b49b3e3db0aa6e817565fccf675e6dcc9667d7ca41a8bd7f05e9e1a6", kill_on_drop: false }` [INFO] [stdout] ee89d4d2b49b3e3db0aa6e817565fccf675e6dcc9667d7ca41a8bd7f05e9e1a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01e68831ecbccf9d607a3b3a341a2002f9c2ae13bea5fd98d4ea221261275f3d [INFO] running `Command { std: "docker" "start" "-a" "01e68831ecbccf9d607a3b3a341a2002f9c2ae13bea5fd98d4ea221261275f3d", 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.07s [INFO] running `Command { std: "docker" "inspect" "01e68831ecbccf9d607a3b3a341a2002f9c2ae13bea5fd98d4ea221261275f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e68831ecbccf9d607a3b3a341a2002f9c2ae13bea5fd98d4ea221261275f3d", kill_on_drop: false }` [INFO] [stdout] 01e68831ecbccf9d607a3b3a341a2002f9c2ae13bea5fd98d4ea221261275f3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf3b99ebb9df27c58f5e6ae63332d929e9c77eca9acae591c0f5cc3820f75fce [INFO] running `Command { std: "docker" "start" "-a" "bf3b99ebb9df27c58f5e6ae63332d929e9c77eca9acae591c0f5cc3820f75fce", 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.04s [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_test_vectors ... ok [INFO] [stdout] test ecdsa::curve::tests::nist256p1_signature_test_is_canonical ... 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 ed25519::tests::ed25519_sign ... ok [INFO] [stdout] test ed25519::tests::sign_ext_test_vectors ... ok [INFO] [stdout] test ecdsa::curve::tests::nist256p1_public_key_test_vectors ... ok [INFO] [stdout] test hasher::tests::sha3_256_test_vectors ... ok [INFO] [stdout] test bip39::tests::bip39_multi_thread ... 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 ecdsa::curve::tests::nist256p1_signature_test_vectors ... ok [INFO] [stdout] test ecdsa::curve::tests::secp256k1_public_key_from_slice ... ok [INFO] [stdout] test hd_node::tests::from_xprv ... ok [INFO] [stdout] test hd_node::tests::derive_next ... ok [INFO] [stdout] test hd_node::tests::dignity_cardano ... ok [INFO] [stdout] test hd_node::tests::derive ... ok [INFO] [stdout] test ecdsa::curve::tests::ecdsa_multi_thread ... ok [INFO] [stdout] test hd_node::tests::sign ... ok [INFO] [stdout] test hd_node::tests::from_xpub ... ok [INFO] [stdout] test hd_node::tests::dignity_secp256k1 ... 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" "bf3b99ebb9df27c58f5e6ae63332d929e9c77eca9acae591c0f5cc3820f75fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf3b99ebb9df27c58f5e6ae63332d929e9c77eca9acae591c0f5cc3820f75fce", kill_on_drop: false }` [INFO] [stdout] bf3b99ebb9df27c58f5e6ae63332d929e9c77eca9acae591c0f5cc3820f75fce