[INFO] fetching crate cryptonote-raw-crypto 0.5.7... [INFO] testing cryptonote-raw-crypto-0.5.7 against try#d724b5ab2f4ac098ff483349a80b6a3799a5177b for pr-113843 [INFO] extracting crate cryptonote-raw-crypto 0.5.7 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cryptonote-raw-crypto 0.5.7 on toolchain d724b5ab2f4ac098ff483349a80b6a3799a5177b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cryptonote-raw-crypto 0.5.7 [INFO] finished tweaking crates.io crate cryptonote-raw-crypto 0.5.7 [INFO] tweaked toml for crates.io crate cryptonote-raw-crypto 0.5.7 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b3c2582f28cc63722383c59e974ca447cdae68c9127523d3ddb8e7592146ec8 [INFO] running `Command { std: "docker" "start" "-a" "0b3c2582f28cc63722383c59e974ca447cdae68c9127523d3ddb8e7592146ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b3c2582f28cc63722383c59e974ca447cdae68c9127523d3ddb8e7592146ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b3c2582f28cc63722383c59e974ca447cdae68c9127523d3ddb8e7592146ec8", kill_on_drop: false }` [INFO] [stdout] 0b3c2582f28cc63722383c59e974ca447cdae68c9127523d3ddb8e7592146ec8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49a44a4096464bfd72192bb96006fb00dc79655efef37d4632e2ce8a6578f53c [INFO] running `Command { std: "docker" "start" "-a" "49a44a4096464bfd72192bb96006fb00dc79655efef37d4632e2ce8a6578f53c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling bindgen v0.45.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling addr2line v0.20.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling cryptonote-raw-crypto v0.5.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: ext/crypto/oaes_lib.c: In function 'oaes_get_seed': [INFO] [stderr] warning: ext/crypto/oaes_lib.c:515:9: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] [INFO] [stderr] warning: 515 | ftime (&timer); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: In file included from ext/crypto/oaes_lib.c:45: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here [INFO] [stderr] warning: 29 | extern int ftime (struct timeb *__timebuf) [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "49a44a4096464bfd72192bb96006fb00dc79655efef37d4632e2ce8a6578f53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49a44a4096464bfd72192bb96006fb00dc79655efef37d4632e2ce8a6578f53c", kill_on_drop: false }` [INFO] [stdout] 49a44a4096464bfd72192bb96006fb00dc79655efef37d4632e2ce8a6578f53c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5c79a38504441962cef59b37ba1224b0289181b469afb3725a07374207c6f54 [INFO] running `Command { std: "docker" "start" "-a" "f5c79a38504441962cef59b37ba1224b0289181b469afb3725a07374207c6f54", kill_on_drop: false }` [INFO] [stderr] warning: ext/crypto/oaes_lib.c: In function 'oaes_get_seed': [INFO] [stderr] warning: ext/crypto/oaes_lib.c:515:9: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] [INFO] [stderr] warning: 515 | ftime (&timer); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: In file included from ext/crypto/oaes_lib.c:45: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here [INFO] [stderr] warning: 29 | extern int ftime (struct timeb *__timebuf) [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] Compiling cryptonote-raw-crypto v0.5.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/scalar.rs:265:48 [INFO] [stdout] | [INFO] [stdout] 265 | let public_key = hex::decode(split[(4 + i)]).expect("Error parse public key"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 265 - let public_key = hex::decode(split[(4 + i)]).expect("Error parse public key"); [INFO] [stdout] 265 + let public_key = hex::decode(split[4 + i]).expect("Error parse public key"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/scalar.rs:269:46 [INFO] [stdout] | [INFO] [stdout] 269 | let secret_key = hex::decode(split[(4 + pubs_count)]).expect("Error parse secret key"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - let secret_key = hex::decode(split[(4 + pubs_count)]).expect("Error parse secret key"); [INFO] [stdout] 269 + let secret_key = hex::decode(split[4 + pubs_count]).expect("Error parse secret key"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/scalar.rs:270:36 [INFO] [stdout] | [INFO] [stdout] 270 | let secret_index = split[(5 + pubs_count)].parse::().unwrap(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 270 - let secret_index = split[(5 + pubs_count)].parse::().unwrap(); [INFO] [stdout] 270 + let secret_index = split[5 + pubs_count].parse::().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/scalar.rs:271:44 [INFO] [stdout] | [INFO] [stdout] 271 | let expected = hex::decode(split[(6 + pubs_count)]).expect("Error parse signatures"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 271 - let expected = hex::decode(split[(6 + pubs_count)]).expect("Error parse signatures"); [INFO] [stdout] 271 + let expected = hex::decode(split[6 + pubs_count]).expect("Error parse signatures"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/scalar.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | let public_key = hex::decode(split[(4 + i)]).expect("Error parse public key"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 289 - let public_key = hex::decode(split[(4 + i)]).expect("Error parse public key"); [INFO] [stdout] 289 + let public_key = hex::decode(split[4 + i]).expect("Error parse public key"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/scalar.rs:293:46 [INFO] [stdout] | [INFO] [stdout] 293 | let signatures = hex::decode(split[(4 + pubs_count)]).expect("Error parse secret key"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 293 - let signatures = hex::decode(split[(4 + pubs_count)]).expect("Error parse secret key"); [INFO] [stdout] 293 + let signatures = hex::decode(split[4 + pubs_count]).expect("Error parse secret key"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/scalar.rs:294:32 [INFO] [stdout] | [INFO] [stdout] 294 | let expected = split[(5 + pubs_count)] == "true"; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 294 - let expected = split[(5 + pubs_count)] == "true"; [INFO] [stdout] 294 + let expected = split[5 + pubs_count] == "true"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f5c79a38504441962cef59b37ba1224b0289181b469afb3725a07374207c6f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5c79a38504441962cef59b37ba1224b0289181b469afb3725a07374207c6f54", kill_on_drop: false }` [INFO] [stdout] f5c79a38504441962cef59b37ba1224b0289181b469afb3725a07374207c6f54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2fd2576a50603a5ef1a90c688c67382667b6918ca9947a6feec8bf89a46c14b6 [INFO] running `Command { std: "docker" "start" "-a" "2fd2576a50603a5ef1a90c688c67382667b6918ca9947a6feec8bf89a46c14b6", kill_on_drop: false }` [INFO] [stderr] warning: ext/crypto/oaes_lib.c: In function 'oaes_get_seed': [INFO] [stderr] warning: ext/crypto/oaes_lib.c:515:9: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] [INFO] [stderr] warning: 515 | ftime (&timer); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: In file included from ext/crypto/oaes_lib.c:45: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here [INFO] [stderr] warning: 29 | extern int ftime (struct timeb *__timebuf) [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/scalar.rs:265:48 [INFO] [stderr] | [INFO] [stderr] 265 | let public_key = hex::decode(split[(4 + i)]).expect("Error parse public key"); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 265 - let public_key = hex::decode(split[(4 + i)]).expect("Error parse public key"); [INFO] [stderr] 265 + let public_key = hex::decode(split[4 + i]).expect("Error parse public key"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/scalar.rs:269:46 [INFO] [stderr] | [INFO] [stderr] 269 | let secret_key = hex::decode(split[(4 + pubs_count)]).expect("Error parse secret key"); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 269 - let secret_key = hex::decode(split[(4 + pubs_count)]).expect("Error parse secret key"); [INFO] [stderr] 269 + let secret_key = hex::decode(split[4 + pubs_count]).expect("Error parse secret key"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/scalar.rs:270:36 [INFO] [stderr] | [INFO] [stderr] 270 | let secret_index = split[(5 + pubs_count)].parse::().unwrap(); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 270 - let secret_index = split[(5 + pubs_count)].parse::().unwrap(); [INFO] [stderr] 270 + let secret_index = split[5 + pubs_count].parse::().unwrap(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/scalar.rs:271:44 [INFO] [stderr] | [INFO] [stderr] 271 | let expected = hex::decode(split[(6 + pubs_count)]).expect("Error parse signatures"); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 271 - let expected = hex::decode(split[(6 + pubs_count)]).expect("Error parse signatures"); [INFO] [stderr] 271 + let expected = hex::decode(split[6 + pubs_count]).expect("Error parse signatures"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/scalar.rs:289:48 [INFO] [stderr] | [INFO] [stderr] 289 | let public_key = hex::decode(split[(4 + i)]).expect("Error parse public key"); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 289 - let public_key = hex::decode(split[(4 + i)]).expect("Error parse public key"); [INFO] [stderr] 289 + let public_key = hex::decode(split[4 + i]).expect("Error parse public key"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/scalar.rs:293:46 [INFO] [stderr] | [INFO] [stderr] 293 | let signatures = hex::decode(split[(4 + pubs_count)]).expect("Error parse secret key"); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 293 - let signatures = hex::decode(split[(4 + pubs_count)]).expect("Error parse secret key"); [INFO] [stderr] 293 + let signatures = hex::decode(split[4 + pubs_count]).expect("Error parse secret key"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/scalar.rs:294:32 [INFO] [stderr] | [INFO] [stderr] 294 | let expected = split[(5 + pubs_count)] == "true"; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 294 - let expected = split[(5 + pubs_count)] == "true"; [INFO] [stderr] 294 + let expected = split[5 + pubs_count] == "true"; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `cryptonote-raw-crypto` (lib test) generated 7 warnings (run `cargo fix --lib -p cryptonote-raw-crypto --tests` to apply 7 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryptonote_raw_crypto-eae57577212ff5cd) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test amount::tests::should_test_amount ... ok [INFO] [stdout] test hash::tests::should_check_hash_with_difficulty ... ok [INFO] [stdout] test hash::tests::should_get_fast_hash ... ok [INFO] [stdout] test scalar::tests::should_to_hash ... ok [INFO] [stdout] test key::tests::should_get_public_key_from_secret_key ... ok [INFO] [stdout] test key::tests::should_get_public_key_from_generated_secret_key ... ok [INFO] [stdout] test difficulty::tests::should_test_difficulty ... ok [INFO] [stdout] test hash::tests::should_test_fast ... ok [INFO] [stdout] test chacha::tests::should_generate_key_and_cipher_contents ... ok [INFO] [stdout] test hash::tests::should_test_slow_hash ... ok [INFO] [stdout] test hash::tests::should_test_slow ... ok [INFO] [stdout] test scalar::tests::should_test_scalar ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.76s [INFO] [stdout] [INFO] [stderr] Doc-tests cryptonote-raw-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" "2fd2576a50603a5ef1a90c688c67382667b6918ca9947a6feec8bf89a46c14b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd2576a50603a5ef1a90c688c67382667b6918ca9947a6feec8bf89a46c14b6", kill_on_drop: false }` [INFO] [stdout] 2fd2576a50603a5ef1a90c688c67382667b6918ca9947a6feec8bf89a46c14b6