[INFO] crate emerald-core 0.10.1 is already in cache [INFO] extracting crate emerald-core 0.10.1 into work/ex/beta-1.38-1/sources/1.37.0/reg/emerald-core/0.10.1 [INFO] extracting crate emerald-core 0.10.1 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/emerald-core/0.10.1 [INFO] validating manifest of emerald-core-0.10.1 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of emerald-core-0.10.1 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing emerald-core-0.10.1 [INFO] finished frobbing emerald-core-0.10.1 [INFO] frobbed toml for emerald-core-0.10.1 written to work/ex/beta-1.38-1/sources/1.37.0/reg/emerald-core/0.10.1/Cargo.toml [INFO] started frobbing emerald-core-0.10.1 [INFO] finished frobbing emerald-core-0.10.1 [INFO] frobbed toml for emerald-core-0.10.1 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/emerald-core/0.10.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing emerald-core-0.10.1 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/emerald-core/0.10.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 4b73a7cd4f6733c0af6741d721710b99bd14c2cd1d57db96f7cef62a97064544 [INFO] running `"docker" "start" "-a" "4b73a7cd4f6733c0af6741d721710b99bd14c2cd1d57db96f7cef62a97064544"` [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling hidapi v0.4.1 [INFO] [stderr] Compiling secp256k1 v0.6.3 [INFO] [stderr] Compiling rust-scrypt v0.1.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling globset v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling jsonrpc-core v7.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling native-tls v0.1.5 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling hyper-native-tls v0.2.4 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling reqwest v0.6.2 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling serde v0.6.15 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling jsonrpc-server-utils v7.1.1 [INFO] [stderr] Compiling serde_json v0.6.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling jsonrpc-http-server v7.1.1 [INFO] [stderr] Compiling emerald-core v0.10.1 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/error.rs:53:32 [INFO] [stderr] | [INFO] [stderr] 53 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/keystore/error.rs:60:32 [INFO] [stderr] | [INFO] [stderr] 60 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/keystore/serialize/error.rs:81:32 [INFO] [stderr] | [INFO] [stderr] 81 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rpc/error.rs:98:32 [INFO] [stderr] | [INFO] [stderr] 98 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hdwallet/error.rs:49:32 [INFO] [stderr] | [INFO] [stderr] 49 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hdwallet/mod.rs:225:14 [INFO] [stderr] | [INFO] [stderr] 225 | 0...CHUNK_SIZE => (tr, _mock.as_slice()), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/util/rlp.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | s @ 0...55 => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/core/signature.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / lazy_static! { [INFO] [stderr] 19 | | static ref ECDSA: Secp256k1 = Secp256k1::with_caps(ContextFlag::SignOnly); [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/keystore/serialize/address.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | / lazy_static! { [INFO] [stderr] 25 | | static ref ADDR_RE: Regex = Regex::new(r#"address.+?([a-fA-F0-9]{40})"#).unwrap(); [INFO] [stderr] 26 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/storage.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | let mut config_dir = env::home_dir().expect("Expect path to home dir"); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/hdwallet/mod.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / lazy_static! { [INFO] [stderr] 90 | | static ref INVALID_PATH_RE: Regex = Regex::new(r#"[^0-9'/]"#).unwrap(); [INFO] [stderr] 91 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/hdwallet/apdu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/hdwallet/apdu.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/hdwallet/apdu.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | self.data.len() + APDU_HEADER_SIZE [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/hdwallet/apdu.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | self.apdu.data.extend_from_slice(data); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/hdwallet/comm.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | let mut data_itr = apdu.data.iter(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/hdwallet/mod.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | hd_str.split("/").map(parse).collect::>(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `"docker" "inspect" "4b73a7cd4f6733c0af6741d721710b99bd14c2cd1d57db96f7cef62a97064544"` [INFO] running `"docker" "rm" "-f" "4b73a7cd4f6733c0af6741d721710b99bd14c2cd1d57db96f7cef62a97064544"` [INFO] [stdout] 4b73a7cd4f6733c0af6741d721710b99bd14c2cd1d57db96f7cef62a97064544 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/emerald-core/0.10.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 17a17dc6c118c1760157b253fd2ee1efd38ca5bc584b0cacabbc8136621c09a1 [INFO] running `"docker" "start" "-a" "17a17dc6c118c1760157b253fd2ee1efd38ca5bc584b0cacabbc8136621c09a1"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling quickcheck v0.4.1 [INFO] [stderr] Compiling emerald-core v0.10.1 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/error.rs:53:32 [INFO] [stderr] | [INFO] [stderr] 53 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/keystore/error.rs:60:32 [INFO] [stderr] | [INFO] [stderr] 60 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/keystore/serialize/error.rs:81:32 [INFO] [stderr] | [INFO] [stderr] 81 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rpc/error.rs:98:32 [INFO] [stderr] | [INFO] [stderr] 98 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hdwallet/error.rs:49:32 [INFO] [stderr] | [INFO] [stderr] 49 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hdwallet/mod.rs:225:14 [INFO] [stderr] | [INFO] [stderr] 225 | 0...CHUNK_SIZE => (tr, _mock.as_slice()), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/util/rlp.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | s @ 0...55 => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/core/signature.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / lazy_static! { [INFO] [stderr] 19 | | static ref ECDSA: Secp256k1 = Secp256k1::with_caps(ContextFlag::SignOnly); [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/keystore/serialize/address.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | / lazy_static! { [INFO] [stderr] 25 | | static ref ADDR_RE: Regex = Regex::new(r#"address.+?([a-fA-F0-9]{40})"#).unwrap(); [INFO] [stderr] 26 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/storage.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | let mut config_dir = env::home_dir().expect("Expect path to home dir"); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/hdwallet/mod.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / lazy_static! { [INFO] [stderr] 90 | | static ref INVALID_PATH_RE: Regex = Regex::new(r#"[^0-9'/]"#).unwrap(); [INFO] [stderr] 91 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/hdwallet/apdu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/hdwallet/apdu.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/hdwallet/apdu.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | self.data.len() + APDU_HEADER_SIZE [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/hdwallet/apdu.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | self.apdu.data.extend_from_slice(data); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/hdwallet/comm.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | let mut data_itr = apdu.data.iter(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/hdwallet/mod.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | hd_str.split("/").map(parse).collect::>(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.92s [INFO] running `"docker" "inspect" "17a17dc6c118c1760157b253fd2ee1efd38ca5bc584b0cacabbc8136621c09a1"` [INFO] running `"docker" "rm" "-f" "17a17dc6c118c1760157b253fd2ee1efd38ca5bc584b0cacabbc8136621c09a1"` [INFO] [stdout] 17a17dc6c118c1760157b253fd2ee1efd38ca5bc584b0cacabbc8136621c09a1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/emerald-core/0.10.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] 42ae491ef30e634e7eb1a1620aab77c8a0b6d9db8041a569a0fe621554f675ae [INFO] running `"docker" "start" "-a" "42ae491ef30e634e7eb1a1620aab77c8a0b6d9db8041a569a0fe621554f675ae"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running /opt/crater/target/debug/deps/emerald_core-70a6be455e77ad7c [INFO] [stdout] [INFO] [stdout] running 109 tests [INFO] [stdout] test core::address::tests::should_catch_missing_address_prefix ... ok [INFO] [stdout] test core::address::tests::should_catch_empty_address_string ... ok [INFO] [stdout] test core::address::tests::should_catch_wrong_address_prefix ... ok [INFO] [stdout] test core::address::tests::should_catch_wrong_address_insufficient_length ... ok [INFO] [stdout] test core::address::tests::should_catch_wrong_address_excess_length ... ok [INFO] [stdout] test core::address::tests::should_catch_wrong_address_encoding ... ok [INFO] [stdout] test core::address::tests::should_display_real_address ... ok [INFO] [stdout] test core::address::tests::should_display_zero_address ... ok [INFO] [stdout] test core::signature::tests::should_calculate_message_hash ... ok [INFO] [stdout] test hdwallet::tests::should_get_address_with_ledger ... ignored [INFO] [stdout] test hdwallet::tests::should_fail_parse_hd_path ... ok [INFO] [stdout] test core::address::tests::should_parse_real_address_without_prefix ... ok [INFO] [stdout] test hdwallet::tests::should_pick_hd_path ... ignored [INFO] [stdout] test hdwallet::tests::should_sign_with_ledger ... ignored [INFO] [stdout] test hdwallet::tests::should_sign_with_ledger_big_data ... ignored [INFO] [stdout] test core::address::tests::should_parse_real_address ... ok [INFO] [stdout] test hdwallet::tests::should_parse_hd_path_into_prefixed ... ok [INFO] [stdout] test hdwallet::tests::should_parse_hd_path ... ok [INFO] [stdout] test keystore::cipher::tests::should_encrypt_with_aes_ctr ... ok [INFO] [stdout] test keystore::kdf::tests::should_derive_key_via_pbkdf2 ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_decode_zero_address ... ok [INFO] [stdout] test core::signature::tests::should_convert_into_address ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_encode_default_address ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_encode_real_address ... ok [INFO] [stdout] test core::signature::tests::should_sign_hash ... ok [INFO] [stdout] test core::transaction::tests::should_sign_transaction_for_testnet ... ok [INFO] [stdout] test core::transaction::tests::should_sign_transaction_for_mainnet ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_not_decode_absent_address ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_not_decode_empty_address ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_decode_real_address ... ok [INFO] [stdout] test keystore::kdf::tests::should_derive_key_via_scrypt ... ok [INFO] [stdout] test keystore::serialize::byte_array::tests::should_decode_byte_array ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_not_decode_not_string_address ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_not_decode_wrong_address ... ok [INFO] [stdout] test keystore::serialize::byte_array::tests::should_decode_zero_byte_array ... ok [INFO] [stdout] test keystore::serialize::byte_array::tests::should_encode_byte_array ... ok [INFO] [stdout] test keystore::serialize::byte_array::tests::should_encode_default_byte_array ... ok [INFO] [stdout] test keystore::serialize::byte_array::tests::should_not_decode_insufficient_byte_array ... ok [INFO] [stdout] test keystore::serialize::byte_array::tests::should_not_decode_empty_text ... ok [INFO] [stdout] test keystore::serialize::byte_array::tests::should_not_decode_absent_text ... ok [INFO] [stdout] test keystore::serialize::byte_array::tests::should_not_decode_invalid_byte_array ... ok [INFO] [stdout] test keystore::serialize::crypto::tests::should_not_decode_not_wrong_crypto ... ok [INFO] [stdout] test keystore::serialize::crypto::tests::should_not_decode_unknown_cipher ... ok [INFO] [stdout] test keystore::serialize::crypto::tests::should_not_decode_unknown_kdf_prf ... ok [INFO] [stdout] test keystore::serialize::tests::should_catch_absent_keyfile_uuid ... ok [INFO] [stdout] test keystore::serialize::tests::should_catch_keyfile_uuid_malformed ... ok [INFO] [stdout] test keystore::serialize::crypto::tests::should_serialize_pbkdf2_crypto ... ok [INFO] [stdout] test keystore::serialize::crypto::tests::should_serialize_scrypt_crypto ... ok [INFO] [stdout] test keystore::serialize::tests::should_catch_unsupported_keyfile_version ... ok [INFO] [stdout] test keystore::serialize::tests::should_catch_keyfile_version_malformed ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_ignore_empty_text ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_ignore_text_without_address ... ok [INFO] [stdout] test util::crypto::tests::should_calculate_big_keccak256 ... ok [INFO] [stdout] test storage::test::should_use_user_path ... ok [INFO] [stdout] test storage::test::should_use_default_path ... ok [INFO] [stdout] test util::rlp::tests::encode_bytearray ... ok [INFO] [stdout] test util::crypto::tests::should_calculate_small_keccak256 ... ok [INFO] [stdout] test util::crypto::tests::should_calculate_empty_keccak256 ... ok [INFO] [stdout] test util::rlp::tests::encode_bytestring00 ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_extract_address_double_quoted ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_extract_address_with_optional_fields ... ok [INFO] [stdout] test keystore::serialize::address::tests::should_extract_address_single_quoted ... ok [INFO] [stdout] test util::rlp::tests::encode_empty_str ... ok [INFO] [stdout] test util::rlp::tests::encode_bytestring01 ... ok [INFO] [stdout] test util::rlp::tests::encode_bytestring7f ... ok [INFO] [stdout] test util::rlp::tests::encode_empty_list ... ok [INFO] [stdout] test util::rlp::tests::encode_empty_option ... ok [INFO] [stdout] test util::rlp::tests::encode_long_str ... ok [INFO] [stdout] test util::rlp::tests::encode_extra_long_str ... ok [INFO] [stdout] test util::rlp::tests::encode_mediumint2 ... ok [INFO] [stdout] test util::rlp::tests::encode_mediumint4 ... ok [INFO] [stdout] test keystore::tests::should_create_keyfile ... ok [INFO] [stdout] test util::rlp::tests::encode_mediumint5 ... ok [INFO] [stdout] test util::rlp::tests::encode_mediumint3 ... ok [INFO] [stdout] test util::rlp::tests::encode_smallint ... ok [INFO] [stdout] test util::rlp::tests::encode_single_bytearray ... ok [INFO] [stdout] test util::rlp::tests::encode_simple_list ... ok [INFO] [stdout] test util::rlp::tests::encode_nested_lists ... ok [INFO] [stdout] test util::rlp::tests::encode_normal_str ... ok [INFO] [stdout] test util::rlp::tests::encode_smallint2 ... ok [INFO] [stdout] test util::rlp::tests::encode_short_str ... ok [INFO] [stdout] test util::rlp::tests::encode_smallint3 ... ok [INFO] [stdout] test keystore::serialize::tests::should_generate_filename ... ok [INFO] [stdout] test util::rlp::tests::encode_mediumint1 ... ok [INFO] [stdout] test util::tests::should_align_some_zero_bytes ... ok [INFO] [stdout] test util::tests::should_align_to_even_str ... ok [INFO] [stdout] test util::rlp::tests::encode_smallint4 ... ok [INFO] [stdout] test util::rlp::tests::encode_zero ... ok [INFO] [stdout] test util::tests::should_align_empty_bytes ... ok [INFO] [stdout] test util::tests::should_align_full_bytes ... ok [INFO] [stdout] test util::tests::should_align_all_zero_bytes ... ok [INFO] [stdout] test util::tests::should_align_some_bytes ... ok [INFO] [stdout] test util::tests::should_convert_u8_to_bytes ... ok [INFO] [stdout] test util::tests::should_convert_u64_to_bytes ... ok [INFO] [stdout] test util::tests::should_convert_to_chain_id ... ok [INFO] [stdout] test util::tests::should_count_bytes_for_rlp ... ok [INFO] [stdout] test util::tests::should_convert_zero_string_into_16bytes ... ok [INFO] [stdout] test util::tests::should_convert_u16_to_bytes ... ok [INFO] [stdout] test util::tests::should_convert_key_into_32bytes ... ok [INFO] [stdout] test util::tests::should_convert_address_into_20bytes ... ok [INFO] [stdout] test util::tests::should_convert_u32_to_bytes ... ok [INFO] [stdout] test util::tests::should_skip_trim_hex_prefix ... ok [INFO] [stdout] test util::tests::should_trim_empty_bytes ... ok [INFO] [stdout] test util::tests::should_trim_hex_prefix ... ok [INFO] [stdout] test util::tests::should_skip_smaller_length ... ok [INFO] [stdout] test util::tests::should_trim_some_bytes ... ok [INFO] [stdout] test util::tests::should_trim_zero_bytes ... ok [INFO] [stdout] test util::tests::should_skip_already_even_str ... ok [INFO] [stdout] test util::tests::should_generate_timestamp ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 105 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/crater/target/debug/deps/addressbook_test-da1403beb58bed03 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test invalidate_entry_wo_addr ... ok [INFO] [stdout] test should_add_entry ... ok [INFO] [stdout] test should_see_all_entries ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/crater/target/debug/deps/contract_test-6e1db560636a360e [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test should_see_all_contracts ... ok [INFO] [stdout] test invalidate_contract_wo_addr ... ok [INFO] [stdout] test should_add_contract ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stderr] Running /opt/crater/target/debug/deps/keystore_test-8c9127cfab07b933 [INFO] [stdout] test should_decode_keyfile_without_address ... ok [INFO] [stdout] test should_decode_keyfile_with_address ... ok [INFO] [stdout] test should_decode_hd_wallet_keyfile ... ok [INFO] [stdout] test should_search_by_address ... ok [INFO] [stdout] test should_flush_to_file ... ok [INFO] [stdout] test should_decrypt_private_key_protected_by_scrypt ... ok [INFO] [stdout] test should_use_security_level ... ok [INFO] [stdout] test should_decrypt_private_key_protected_by_pbkdf2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests emerald_core [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/core/signature.rs - core::signature::PrivateKey::try_from (line 76) ... ok [INFO] [stdout] test src/core/address.rs - core::address::Address::try_from (line 25) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "42ae491ef30e634e7eb1a1620aab77c8a0b6d9db8041a569a0fe621554f675ae"` [INFO] running `"docker" "rm" "-f" "42ae491ef30e634e7eb1a1620aab77c8a0b6d9db8041a569a0fe621554f675ae"` [INFO] [stdout] 42ae491ef30e634e7eb1a1620aab77c8a0b6d9db8041a569a0fe621554f675ae