[INFO] fetching crate trezor-crypto 0.2.5... [INFO] testing trezor-crypto-0.2.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate trezor-crypto 0.2.5 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trezor-crypto 0.2.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 496d2dafe333966e0cd3dd60c1224a810ca96936d85d5a8637db8bcdb444b321 [INFO] running `Command { std: "docker" "start" "-a" "496d2dafe333966e0cd3dd60c1224a810ca96936d85d5a8637db8bcdb444b321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "496d2dafe333966e0cd3dd60c1224a810ca96936d85d5a8637db8bcdb444b321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "496d2dafe333966e0cd3dd60c1224a810ca96936d85d5a8637db8bcdb444b321", kill_on_drop: false }` [INFO] [stdout] 496d2dafe333966e0cd3dd60c1224a810ca96936d85d5a8637db8bcdb444b321 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85b31cd89f6e2327189d2133e226a564d2e3668c8dd2ae94e35fbe9644a7c02c [INFO] running `Command { std: "docker" "start" "-a" "85b31cd89f6e2327189d2133e226a564d2e3668c8dd2ae94e35fbe9644a7c02c", 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.60s [INFO] running `Command { std: "docker" "inspect" "85b31cd89f6e2327189d2133e226a564d2e3668c8dd2ae94e35fbe9644a7c02c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b31cd89f6e2327189d2133e226a564d2e3668c8dd2ae94e35fbe9644a7c02c", kill_on_drop: false }` [INFO] [stdout] 85b31cd89f6e2327189d2133e226a564d2e3668c8dd2ae94e35fbe9644a7c02c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25fb01d8466366ba92a230f138370c38de89b9a4e298263213d191b540890726 [INFO] running `Command { std: "docker" "start" "-a" "25fb01d8466366ba92a230f138370c38de89b9a4e298263213d191b540890726", 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)]` 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] [stderr] Compiling trezor-crypto v0.2.5 (/opt/rustwide/workdir) [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 1.09s [INFO] running `Command { std: "docker" "inspect" "25fb01d8466366ba92a230f138370c38de89b9a4e298263213d191b540890726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25fb01d8466366ba92a230f138370c38de89b9a4e298263213d191b540890726", kill_on_drop: false }` [INFO] [stdout] 25fb01d8466366ba92a230f138370c38de89b9a4e298263213d191b540890726 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42452442bd830b73f502123318ed1f060f514b76157e8f6190418d1e07d8d889 [INFO] running `Command { std: "docker" "start" "-a" "42452442bd830b73f502123318ed1f060f514b76157e8f6190418d1e07d8d889", 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)]` 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] [INFO] [stdout] running 24 tests [INFO] [stdout] test ecdsa::curve::tests::curve_name ... ok [INFO] [stdout] test ed25519::tests::ed25519_public_key ... ok [INFO] [stdout] test ed25519::tests::curve_name ... ok [INFO] [stdout] test ecdsa::curve::tests::nist256p1_public_key_test_vectors ... ok [INFO] [stdout] test ed25519::tests::sign_ext_test_vectors ... ok [INFO] [stdout] test hasher::tests::sha3_256_test_vectors ... ok [INFO] [stdout] test ed25519::tests::ed25519_sign ... ok [INFO] [stdout] test hasher::tests::sha3_256_multi_threaded ... ok [INFO] [stdout] test ed25519::tests::ed25519_multi_thread ... ok [INFO] [stdout] test bip39::tests::bip39_multi_thread ... ok [INFO] [stdout] test ecdsa::curve::tests::secp256k1_public_key_from_slice ... ok [INFO] [stdout] test ecdsa::curve::tests::secp256k1_public_key_test_vectors ... ok [INFO] [stdout] test hd_node::tests::derive_next ... ok [INFO] [stdout] test ecdsa::curve::tests::nist256p1_signature_test_is_canonical ... ok [INFO] [stdout] test hd_node::tests::from_xprv ... ok [INFO] [stdout] test hd_node::tests::from_xpub ... ok [INFO] [stdout] test hd_node::tests::sign ... ok [INFO] [stdout] test hd_node::tests::dignity_cardano ... ok [INFO] [stdout] test hd_node::tests::dignity_secp256k1 ... 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 hd_node::tests::derive ... ok [INFO] [stdout] test ecdsa::curve::tests::ecdsa_multi_thread ... 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.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" "42452442bd830b73f502123318ed1f060f514b76157e8f6190418d1e07d8d889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42452442bd830b73f502123318ed1f060f514b76157e8f6190418d1e07d8d889", kill_on_drop: false }` [INFO] [stdout] 42452442bd830b73f502123318ed1f060f514b76157e8f6190418d1e07d8d889