[INFO] fetching crate cryptonote-raw-crypto 0.5.7... [INFO] testing cryptonote-raw-crypto-0.5.7 against try#ecd7b559f89c73ac8f1d318f7501006f37b944b2 for pr-112849 [INFO] extracting crate cryptonote-raw-crypto 0.5.7 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate cryptonote-raw-crypto 0.5.7 on toolchain ecd7b559f89c73ac8f1d318f7501006f37b944b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "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" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e67388d5579f28f4d7946a1b70b859fe7ee4312ff04cf18ca78609b74cd703ec [INFO] running `Command { std: "docker" "start" "-a" "e67388d5579f28f4d7946a1b70b859fe7ee4312ff04cf18ca78609b74cd703ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e67388d5579f28f4d7946a1b70b859fe7ee4312ff04cf18ca78609b74cd703ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e67388d5579f28f4d7946a1b70b859fe7ee4312ff04cf18ca78609b74cd703ec", kill_on_drop: false }` [INFO] [stdout] e67388d5579f28f4d7946a1b70b859fe7ee4312ff04cf18ca78609b74cd703ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38a488b021947953b6a1f86a30f8b0a0d034e0bab0ea219ea9bb19adb5bbf30f [INFO] running `Command { std: "docker" "start" "-a" "38a488b021947953b6a1f86a30f8b0a0d034e0bab0ea219ea9bb19adb5bbf30f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.45.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling peeking_take_while 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_os v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [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 30.20s [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" "38a488b021947953b6a1f86a30f8b0a0d034e0bab0ea219ea9bb19adb5bbf30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a488b021947953b6a1f86a30f8b0a0d034e0bab0ea219ea9bb19adb5bbf30f", kill_on_drop: false }` [INFO] [stdout] 38a488b021947953b6a1f86a30f8b0a0d034e0bab0ea219ea9bb19adb5bbf30f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cac3f6e9193672c3031b5a68fb43b6740c5a058bc921eb1954edd064eba0c5a7 [INFO] running `Command { std: "docker" "start" "-a" "cac3f6e9193672c3031b5a68fb43b6740c5a058bc921eb1954edd064eba0c5a7", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.94s [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [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" "cac3f6e9193672c3031b5a68fb43b6740c5a058bc921eb1954edd064eba0c5a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac3f6e9193672c3031b5a68fb43b6740c5a058bc921eb1954edd064eba0c5a7", kill_on_drop: false }` [INFO] [stdout] cac3f6e9193672c3031b5a68fb43b6740c5a058bc921eb1954edd064eba0c5a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31f2838939a33ea9cc2659c6ae7d9b8ae681b20fac8de271155f128e7786320b [INFO] running `Command { std: "docker" "start" "-a" "31f2838939a33ea9cc2659c6ae7d9b8ae681b20fac8de271155f128e7786320b", 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.06s [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-14ccdb7abe088921) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test hash::tests::should_check_hash_with_difficulty ... ok [INFO] [stdout] test amount::tests::should_test_amount ... ok [INFO] [stdout] test key::tests::should_get_public_key_from_secret_key ... ok [INFO] [stdout] test hash::tests::should_get_fast_hash ... ok [INFO] [stdout] test key::tests::should_get_public_key_from_generated_secret_key ... ok [INFO] [stdout] test scalar::tests::should_to_hash ... ok [INFO] [stdout] test scalar::tests::should_test_scalar ... FAILED [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 ... ok [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test hash::tests::should_test_slow_hash ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- scalar::tests::should_test_scalar stdout ---- [INFO] [stdout] thread 'scalar::tests::should_test_scalar' panicked at src/scalar.rs:122:13: [INFO] [stdout] assertion failed: expected[i] == ec_scalar[i] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x563fc67aeb31 - std::backtrace_rs::backtrace::libunwind::trace::he8a34e6ab80996f5 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x563fc67aeb31 - std::backtrace_rs::backtrace::trace_unsynchronized::h864fca907db5bdc0 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x563fc67aeb31 - std::sys_common::backtrace::_print_fmt::h47ceae78d0af5160 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x563fc67aeb31 - ::fmt::ha55bd40a5f3054c8 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x563fc67d49ef - core::fmt::rt::Argument::fmt::h68717a843c94b5b7 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/core/src/fmt/rt.rs:138:9 [INFO] [stdout] 5: 0x563fc67d49ef - core::fmt::write::h44d9b1700d264e6b [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/core/src/fmt/mod.rs:1094:21 [INFO] [stdout] 6: 0x563fc67abec7 - std::io::Write::write_fmt::h2bc437010a25187b [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/io/mod.rs:1714:15 [INFO] [stdout] 7: 0x563fc67ae945 - std::sys_common::backtrace::_print::h80fb8a1d71a9c116 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x563fc67ae945 - std::sys_common::backtrace::print::hb5e6b1168a97b5e0 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x563fc67b05a3 - std::panicking::default_hook::{{closure}}::hfa26065dde38d5ba [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panicking.rs:269:22 [INFO] [stdout] 10: 0x563fc67b02c0 - std::panicking::default_hook::hc3edde983cbecd4a [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panicking.rs:285:9 [INFO] [stdout] 11: 0x563fc6758922 - as core::ops::function::Fn>::call::hb2676498aafe47fd [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 12: 0x563fc6758922 - test::test_main::{{closure}}::h3b4c1c68a391ceb5 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/test/src/lib.rs:134:21 [INFO] [stdout] 13: 0x563fc67b0c9e - as core::ops::function::Fn>::call::h59fc42576a57a440 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 14: 0x563fc67b0c9e - std::panicking::rust_panic_with_hook::h7c2fe713408ebcf7 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panicking.rs:709:13 [INFO] [stdout] 15: 0x563fc67b09e1 - std::panicking::begin_panic_handler::{{closure}}::h48279992bc735ca2 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panicking.rs:595:13 [INFO] [stdout] 16: 0x563fc67aef66 - std::sys_common::backtrace::__rust_end_short_backtrace::he5478f246a8d15b1 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/sys_common/backtrace.rs:151:18 [INFO] [stdout] 17: 0x563fc67b0772 - rust_begin_unwind [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panicking.rs:593:5 [INFO] [stdout] 18: 0x563fc66e25f3 - core::panicking::panic_fmt::hbf1ad618a5d5d708 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/core/src/panicking.rs:67:14 [INFO] [stdout] 19: 0x563fc66e2683 - core::panicking::panic::h5ae5bbe2143240ab [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/core/src/panicking.rs:117:5 [INFO] [stdout] 20: 0x563fc66f3838 - cryptonote_raw_crypto::scalar::tests::should_test_scalar::hd2ffe9a5e2a32c25 [INFO] [stdout] at /opt/rustwide/workdir/src/scalar.rs:122:13 [INFO] [stdout] 21: 0x563fc66ef267 - cryptonote_raw_crypto::scalar::tests::should_test_scalar::{{closure}}::h8a26d389fff325e1 [INFO] [stdout] at /opt/rustwide/workdir/src/scalar.rs:86:27 [INFO] [stdout] 22: 0x563fc66e6005 - core::ops::function::FnOnce::call_once::hd04d9e1aa5d377ac [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x563fc675dd3f - core::ops::function::FnOnce::call_once::h2e81c07a49b3b328 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x563fc675dd3f - test::__rust_begin_short_backtrace::h8b9d25b555f3d8a5 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/test/src/lib.rs:655:18 [INFO] [stdout] 25: 0x563fc6729a3c - test::run_test::{{closure}}::ha116a177a18a7684 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/test/src/lib.rs:646:30 [INFO] [stdout] 26: 0x563fc6729a3c - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4d49cffa35c98788 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x563fc675cd09 - as core::ops::function::FnOnce>::call_once::h50a863ea26164a61 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 28: 0x563fc675cd09 - as core::ops::function::FnOnce<()>>::call_once::h04f5ba1d9599b1e6 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 29: 0x563fc675cd09 - std::panicking::try::do_call::he78089d143b4ae0d [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panicking.rs:500:40 [INFO] [stdout] 30: 0x563fc675cd09 - std::panicking::try::hc41cda2a57fa64b6 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panicking.rs:464:19 [INFO] [stdout] 31: 0x563fc675cd09 - std::panic::catch_unwind::he34d2e069a507d06 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panic.rs:142:14 [INFO] [stdout] 32: 0x563fc675cd09 - test::run_test_in_process::h1a9933ec65bf150e [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/test/src/lib.rs:678:27 [INFO] [stdout] 33: 0x563fc675cd09 - test::run_test::run_test_inner::{{closure}}::h6a77ac48c621de22 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/test/src/lib.rs:572:39 [INFO] [stdout] 34: 0x563fc6723a38 - test::run_test::run_test_inner::{{closure}}::h2278556ce7b127e9 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/test/src/lib.rs:599:37 [INFO] [stdout] 35: 0x563fc6723a38 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6f81324b35a0a8bd [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/sys_common/backtrace.rs:135:18 [INFO] [stdout] 36: 0x563fc67298ff - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6666d0b48280a852 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 37: 0x563fc67298ff - as core::ops::function::FnOnce<()>>::call_once::h903f46438f50fa4d [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 38: 0x563fc67298ff - std::panicking::try::do_call::hd168f55adbd68cdd [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panicking.rs:500:40 [INFO] [stdout] 39: 0x563fc67298ff - std::panicking::try::hdc44cc99c1165c34 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panicking.rs:464:19 [INFO] [stdout] 40: 0x563fc67298ff - std::panic::catch_unwind::haffe820e5b950777 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/panic.rs:142:14 [INFO] [stdout] 41: 0x563fc67298ff - std::thread::Builder::spawn_unchecked_::{{closure}}::h2713c936ff1f9048 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 42: 0x563fc67298ff - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4caeb7de1ff31552 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x563fc67b5195 - as core::ops::function::FnOnce>::call_once::hdc3286f51b5f0d41 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 44: 0x563fc67b5195 - as core::ops::function::FnOnce>::call_once::h2ed120d54908b9bc [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 45: 0x563fc67b5195 - std::sys::unix::thread::Thread::new::thread_start::h8f96ea8d36a51f46 [INFO] [stdout] at /rustc/ecd7b559f89c73ac8f1d318f7501006f37b944b2/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 46: 0x7fae55617b43 - [INFO] [stdout] 47: 0x7fae556a8bb4 - __clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] scalar::tests::should_test_scalar [INFO] [stdout] [INFO] [stdout] test result: FAILED. 11 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "31f2838939a33ea9cc2659c6ae7d9b8ae681b20fac8de271155f128e7786320b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f2838939a33ea9cc2659c6ae7d9b8ae681b20fac8de271155f128e7786320b", kill_on_drop: false }` [INFO] [stdout] 31f2838939a33ea9cc2659c6ae7d9b8ae681b20fac8de271155f128e7786320b