[INFO] fetching crate cryptonote-raw-crypto 0.5.7... [INFO] testing cryptonote-raw-crypto-0.5.7 against master#595316b4006932405a63862d8fe65f71a6356293 for pr-128254 [INFO] extracting crate cryptonote-raw-crypto 0.5.7 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate cryptonote-raw-crypto 0.5.7 on toolchain 595316b4006932405a63862d8fe65f71a6356293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.3.0) [INFO] [stderr] Adding bindgen v0.45.0 (latest: v0.69.4) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cexpr v0.3.6 (latest: v0.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clang-sys v0.26.4 (latest: v1.8.1) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.13) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.5) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding glob v0.2.11 (latest: v0.3.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding hex v0.3.2 (latest: v0.4.3) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding libloading v0.5.2 (latest: v0.8.5) [INFO] [stderr] Adding nom v4.2.3 (latest: v7.1.3) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.36) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding version_check v0.1.5 (latest: v0.9.5) [INFO] [stderr] Adding which v2.0.1 (latest: v6.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cexpr v0.3.6 [INFO] [stderr] Downloaded bindgen v0.45.0 [INFO] [stderr] Downloaded clang-sys v0.26.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fa10a3109ff89e4c74e6af97ae73fbf3dcb4ca39667579344b18e8dbc79d202 [INFO] running `Command { std: "docker" "start" "-a" "0fa10a3109ff89e4c74e6af97ae73fbf3dcb4ca39667579344b18e8dbc79d202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fa10a3109ff89e4c74e6af97ae73fbf3dcb4ca39667579344b18e8dbc79d202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fa10a3109ff89e4c74e6af97ae73fbf3dcb4ca39667579344b18e8dbc79d202", kill_on_drop: false }` [INFO] [stdout] 0fa10a3109ff89e4c74e6af97ae73fbf3dcb4ca39667579344b18e8dbc79d202 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc413db2148222ef9583c1490a6d4149a2ed0250228f0e3e1ba78b73561e9ee0 [INFO] running `Command { std: "docker" "start" "-a" "dc413db2148222ef9583c1490a6d4149a2ed0250228f0e3e1ba78b73561e9ee0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bindgen v0.45.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling object v0.36.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.6 [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: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c: In function 'oaes_get_seed': [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c:515:9: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 515 | ftime (&timer); [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: In file included from ext/crypto/oaes_lib.c:45: [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 29 | extern int ftime (struct timeb *__timebuf) [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.78s [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" "dc413db2148222ef9583c1490a6d4149a2ed0250228f0e3e1ba78b73561e9ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc413db2148222ef9583c1490a6d4149a2ed0250228f0e3e1ba78b73561e9ee0", kill_on_drop: false }` [INFO] [stdout] dc413db2148222ef9583c1490a6d4149a2ed0250228f0e3e1ba78b73561e9ee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0b2ca8656434f1baa4308b5036df143555d2533f43af60a86f4086652b0fb72 [INFO] running `Command { std: "docker" "start" "-a" "d0b2ca8656434f1baa4308b5036df143555d2533f43af60a86f4086652b0fb72", kill_on_drop: false }` [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c: In function 'oaes_get_seed': [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c:515:9: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 515 | ftime (&timer); [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: In file included from ext/crypto/oaes_lib.c:45: [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 29 | extern int ftime (struct timeb *__timebuf) [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [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` profile [unoptimized + debuginfo] target(s) in 0.45s [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" "d0b2ca8656434f1baa4308b5036df143555d2533f43af60a86f4086652b0fb72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b2ca8656434f1baa4308b5036df143555d2533f43af60a86f4086652b0fb72", kill_on_drop: false }` [INFO] [stdout] d0b2ca8656434f1baa4308b5036df143555d2533f43af60a86f4086652b0fb72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] adcc65a3256c775547b042342f75a6c6b40b7085e722719233900f9f02437b5f [INFO] running `Command { std: "docker" "start" "-a" "adcc65a3256c775547b042342f75a6c6b40b7085e722719233900f9f02437b5f", kill_on_drop: false }` [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c: In function 'oaes_get_seed': [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c:515:9: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 515 | ftime (&timer); [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: In file included from ext/crypto/oaes_lib.c:45: [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 29 | extern int ftime (struct timeb *__timebuf) [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [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` profile [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-c00d43ba6d1838d4) [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 key::tests::should_get_public_key_from_secret_key ... ok [INFO] [stdout] test scalar::tests::should_to_hash ... ok [INFO] [stderr] cryptonote_raw_crypto-c00d43ba6d1838d4: ext/crypto/random.c:123: generate_random_bytes_not_thread_safe: Assertion `curstate == 1' failed. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/cryptonote_raw_crypto-c00d43ba6d1838d4` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "adcc65a3256c775547b042342f75a6c6b40b7085e722719233900f9f02437b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adcc65a3256c775547b042342f75a6c6b40b7085e722719233900f9f02437b5f", kill_on_drop: false }` [INFO] [stdout] adcc65a3256c775547b042342f75a6c6b40b7085e722719233900f9f02437b5f [INFO] testing cryptonote-raw-crypto-0.5.7 against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [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 5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.3.0) [INFO] [stderr] Adding bindgen v0.45.0 (latest: v0.69.4) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cexpr v0.3.6 (latest: v0.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clang-sys v0.26.4 (latest: v1.8.1) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.13) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.5) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding glob v0.2.11 (latest: v0.3.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding hex v0.3.2 (latest: v0.4.3) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding libloading v0.5.2 (latest: v0.8.5) [INFO] [stderr] Adding nom v4.2.3 (latest: v7.1.3) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.36) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding version_check v0.1.5 (latest: v0.9.5) [INFO] [stderr] Adding which v2.0.1 (latest: v6.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fac382e496f7d8e78580ceecfae9cad4291d0a5b48ccaf29d9bd82f7116a94dc [INFO] running `Command { std: "docker" "start" "-a" "fac382e496f7d8e78580ceecfae9cad4291d0a5b48ccaf29d9bd82f7116a94dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fac382e496f7d8e78580ceecfae9cad4291d0a5b48ccaf29d9bd82f7116a94dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac382e496f7d8e78580ceecfae9cad4291d0a5b48ccaf29d9bd82f7116a94dc", kill_on_drop: false }` [INFO] [stdout] fac382e496f7d8e78580ceecfae9cad4291d0a5b48ccaf29d9bd82f7116a94dc [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cd288ec6ec6cd14a5bc98acb83cb3675f0365943169c623fd805337827485a3 [INFO] running `Command { std: "docker" "start" "-a" "5cd288ec6ec6cd14a5bc98acb83cb3675f0365943169c623fd805337827485a3", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [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 gimli v0.29.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bindgen v0.45.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.36.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_logger v0.6.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: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c: In function 'oaes_get_seed': [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c:515:9: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 515 | ftime (&timer); [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: In file included from ext/crypto/oaes_lib.c:45: [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 29 | extern int ftime (struct timeb *__timebuf) [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.45s [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" "5cd288ec6ec6cd14a5bc98acb83cb3675f0365943169c623fd805337827485a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd288ec6ec6cd14a5bc98acb83cb3675f0365943169c623fd805337827485a3", kill_on_drop: false }` [INFO] [stdout] 5cd288ec6ec6cd14a5bc98acb83cb3675f0365943169c623fd805337827485a3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab1e74e11db0954b2e9b21a7194720590c078f75055652d47201ae0b53a2a2d6 [INFO] running `Command { std: "docker" "start" "-a" "ab1e74e11db0954b2e9b21a7194720590c078f75055652d47201ae0b53a2a2d6", kill_on_drop: false }` [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c: In function 'oaes_get_seed': [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c:515:9: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 515 | ftime (&timer); [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: In file included from ext/crypto/oaes_lib.c:45: [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 29 | extern int ftime (struct timeb *__timebuf) [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [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` profile [unoptimized + debuginfo] target(s) in 0.38s [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" "ab1e74e11db0954b2e9b21a7194720590c078f75055652d47201ae0b53a2a2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab1e74e11db0954b2e9b21a7194720590c078f75055652d47201ae0b53a2a2d6", kill_on_drop: false }` [INFO] [stdout] ab1e74e11db0954b2e9b21a7194720590c078f75055652d47201ae0b53a2a2d6 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e56f29b97be2af04bf2b6d3656a10a28588372d1e64b367178bf97e4b9cc9a3b [INFO] running `Command { std: "docker" "start" "-a" "e56f29b97be2af04bf2b6d3656a10a28588372d1e64b367178bf97e4b9cc9a3b", kill_on_drop: false }` [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c: In function 'oaes_get_seed': [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: ext/crypto/oaes_lib.c:515:9: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 515 | ftime (&timer); [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: In file included from ext/crypto/oaes_lib.c:45: [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: 29 | extern int ftime (struct timeb *__timebuf) [INFO] [stderr] warning: cryptonote-raw-crypto@0.5.7: | ^~~~~ [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` profile [unoptimized + debuginfo] target(s) in 0.05s [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-c00d43ba6d1838d4) [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 key::tests::should_get_public_key_from_generated_secret_key ... 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 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] [stdout] test hash::tests::should_test_slow_hash ... 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 19.48s [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" "e56f29b97be2af04bf2b6d3656a10a28588372d1e64b367178bf97e4b9cc9a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56f29b97be2af04bf2b6d3656a10a28588372d1e64b367178bf97e4b9cc9a3b", kill_on_drop: false }` [INFO] [stdout] e56f29b97be2af04bf2b6d3656a10a28588372d1e64b367178bf97e4b9cc9a3b