[INFO] fetching crate trezor-crypto 0.2.5... [INFO] testing trezor-crypto-0.2.5 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate trezor-crypto 0.2.5 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trezor-crypto 0.2.5 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a90835c4365d1b483bbff99959a1352e680c9afd8a9d91473c7b404fa8379161 [INFO] running `Command { std: "docker" "start" "-a" "a90835c4365d1b483bbff99959a1352e680c9afd8a9d91473c7b404fa8379161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a90835c4365d1b483bbff99959a1352e680c9afd8a9d91473c7b404fa8379161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a90835c4365d1b483bbff99959a1352e680c9afd8a9d91473c7b404fa8379161", kill_on_drop: false }` [INFO] [stdout] a90835c4365d1b483bbff99959a1352e680c9afd8a9d91473c7b404fa8379161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c28bab2f68ef0b324d1768a9204d660087bfc0fa02088fd09070710850a6d70 [INFO] running `Command { std: "docker" "start" "-a" "4c28bab2f68ef0b324d1768a9204d660087bfc0fa02088fd09070710850a6d70", kill_on_drop: false }` [INFO] [stderr] Compiling trezor-crypto-sys v0.1.2 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [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)]` 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.22s [INFO] running `Command { std: "docker" "inspect" "4c28bab2f68ef0b324d1768a9204d660087bfc0fa02088fd09070710850a6d70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c28bab2f68ef0b324d1768a9204d660087bfc0fa02088fd09070710850a6d70", kill_on_drop: false }` [INFO] [stdout] 4c28bab2f68ef0b324d1768a9204d660087bfc0fa02088fd09070710850a6d70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 699d6cd6e4b1017f694c8ca55ad3c05aba5b44ee1095225581d86549b55a8155 [INFO] running `Command { std: "docker" "start" "-a" "699d6cd6e4b1017f694c8ca55ad3c05aba5b44ee1095225581d86549b55a8155", kill_on_drop: false }` [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)]` 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] [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)]` 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 0.79s [INFO] running `Command { std: "docker" "inspect" "699d6cd6e4b1017f694c8ca55ad3c05aba5b44ee1095225581d86549b55a8155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699d6cd6e4b1017f694c8ca55ad3c05aba5b44ee1095225581d86549b55a8155", kill_on_drop: false }` [INFO] [stdout] 699d6cd6e4b1017f694c8ca55ad3c05aba5b44ee1095225581d86549b55a8155 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca08f8af033950ae15b667447be3bc220ab62c77048dcec41e3ed1838990f84b [INFO] running `Command { std: "docker" "start" "-a" "ca08f8af033950ae15b667447be3bc220ab62c77048dcec41e3ed1838990f84b", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stdout] [INFO] [stderr] --> src/ecdsa/curve.rs:256:17 [INFO] [stdout] running 24 tests [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)]` 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-b251a732bc699c14) [INFO] [stdout] test ecdsa::curve::tests::secp256k1_public_key_from_slice ... ok [INFO] [stdout] test ecdsa::curve::tests::curve_name ... ok [INFO] [stdout] test ed25519::tests::curve_name ... ok [INFO] [stdout] test ed25519::tests::ed25519_sign ... ok [INFO] [stdout] test bip39::tests::bip39_multi_thread ... ok [INFO] [stdout] test hasher::tests::sha3_256_test_vectors ... ok [INFO] [stdout] test hd_node::tests::derive_next ... ok [INFO] [stdout] test ed25519::tests::ed25519_public_key ... ok [INFO] [stdout] test ed25519::tests::ed25519_multi_thread ... ok [INFO] [stdout] test ecdsa::curve::tests::nist256p1_signature_test_is_canonical ... ok [INFO] [stdout] test hd_node::tests::from_xpub ... ok [INFO] [stdout] test hd_node::tests::sign ... ok [INFO] [stdout] test hasher::tests::sha3_256_multi_threaded ... ok [INFO] [stdout] test hd_node::tests::from_xprv ... ok [INFO] [stdout] test ed25519::tests::sign_ext_test_vectors ... ok [INFO] [stdout] test hd_node::tests::dignity_cardano ... ok [INFO] [stdout] test ecdsa::curve::tests::nist256p1_signature_test_vectors ... ok [INFO] [stdout] test ecdsa::curve::tests::secp256k1_public_key_trait ... ok [INFO] [stdout] test hd_node::tests::dignity_secp256k1 ... ok [INFO] [stdout] test ecdsa::curve::tests::nist256p1_public_key_test_vectors ... ok [INFO] [stdout] test bip39::tests::test_vectors ... ok [INFO] [stdout] test ecdsa::curve::tests::secp256k1_public_key_test_vectors ... ok [INFO] [stdout] test hd_node::tests::derive ... ok [INFO] [stdout] test ecdsa::curve::tests::ecdsa_multi_thread ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [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" "ca08f8af033950ae15b667447be3bc220ab62c77048dcec41e3ed1838990f84b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca08f8af033950ae15b667447be3bc220ab62c77048dcec41e3ed1838990f84b", kill_on_drop: false }` [INFO] [stdout] ca08f8af033950ae15b667447be3bc220ab62c77048dcec41e3ed1838990f84b