[INFO] cloning repository https://github.com/kamaleshpati/rust-POW [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamaleshpati/rust-POW" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaleshpati%2Frust-POW", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaleshpati%2Frust-POW'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff47482fbc70f6d13f81249711f6df361f3f326e [INFO] testing kamaleshpati/rust-POW against 1.75.0 for beta-1.76-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaleshpati%2Frust-POW" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamaleshpati/rust-POW on toolchain 1.75.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamaleshpati/rust-POW [INFO] finished tweaking git repo https://github.com/kamaleshpati/rust-POW [INFO] tweaked toml for git repo https://github.com/kamaleshpati/rust-POW written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kamaleshpati/rust-POW already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_cmd v2.0.4 [INFO] [stderr] Downloaded ctrlc v3.2.2 [INFO] [stderr] Downloaded ethbloom v0.12.1 [INFO] [stderr] Downloaded sluice v0.5.5 [INFO] [stderr] Downloaded cargo-husky v1.5.0 [INFO] [stderr] Downloaded actix-web-codegen v4.0.1 [INFO] [stderr] Downloaded parity-scale-codec v3.1.5 [INFO] [stderr] Downloaded isahc v1.7.2 [INFO] [stderr] Downloaded nix v0.24.1 [INFO] [stderr] Downloaded curl-sys v0.4.55+curl-7.83.1 [INFO] [stderr] Downloaded castaway v0.1.1 [INFO] [stderr] Downloaded serial_test_derive v0.7.0 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Downloaded serial_test v0.7.0 [INFO] [stderr] Downloaded actix-http v3.1.0 [INFO] [stderr] Downloaded curl v0.4.39 [INFO] [stderr] Downloaded actix-web v4.1.0 [INFO] [stderr] Downloaded openssl-sys v0.9.68 [INFO] [stderr] Downloaded sha1 v0.10.1 [INFO] [stderr] Downloaded predicates v2.0.3 [INFO] [stderr] Downloaded ethereum-types v0.13.1 [INFO] [stderr] Downloaded firestorm v0.5.1 [INFO] [stderr] Downloaded termtree v0.2.3 [INFO] [stderr] Downloaded predicates-tree v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7017b39c0437d35c7d26fbf04b7e01b7bf09bea9c1d21a0b1c1eb0dea5a4612b [INFO] running `Command { std: "docker" "start" "-a" "7017b39c0437d35c7d26fbf04b7e01b7bf09bea9c1d21a0b1c1eb0dea5a4612b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7017b39c0437d35c7d26fbf04b7e01b7bf09bea9c1d21a0b1c1eb0dea5a4612b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7017b39c0437d35c7d26fbf04b7e01b7bf09bea9c1d21a0b1c1eb0dea5a4612b", kill_on_drop: false }` [INFO] [stdout] 7017b39c0437d35c7d26fbf04b7e01b7bf09bea9c1d21a0b1c1eb0dea5a4612b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dfd8a9a4eb2467cc8e303edeb381c9a3042a852fc3f42706749a56e759b87e4 [INFO] running `Command { std: "docker" "start" "-a" "8dfd8a9a4eb2467cc8e303edeb381c9a3042a852fc3f42706749a56e759b87e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling openssl-sys v0.9.68 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling curl-sys v0.4.55+curl-7.83.1 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitvec v1.0.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling curl v0.4.39 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling isahc v1.7.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling nix v0.24.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling castaway v0.1.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling ctrlc v3.2.2 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.1.3 [INFO] [stderr] Compiling actix-web-codegen v4.0.1 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling dotenv_codegen v0.15.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling parity-scale-codec v3.1.5 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling ethbloom v0.12.1 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling ethereum-types v0.13.1 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.1.0 [INFO] [stderr] Compiling actix-web v4.1.0 [INFO] [stderr] Compiling rust_blockchain v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BlockchainError` [INFO] [stdout] --> src/model.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | pub use blockchain::{Blockchain, BlockchainError, BLOCK_SUBSIDY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "8dfd8a9a4eb2467cc8e303edeb381c9a3042a852fc3f42706749a56e759b87e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dfd8a9a4eb2467cc8e303edeb381c9a3042a852fc3f42706749a56e759b87e4", kill_on_drop: false }` [INFO] [stdout] 8dfd8a9a4eb2467cc8e303edeb381c9a3042a852fc3f42706749a56e759b87e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b7c98d6fdbb2746068a09998829908ec5e3be5efa6b1c1df1b1c4245ffcb423 [INFO] running `Command { std: "docker" "start" "-a" "8b7c98d6fdbb2746068a09998829908ec5e3be5efa6b1c1df1b1c4245ffcb423", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.2.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling predicates-tree v1.0.4 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling nix v0.24.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling predicates v2.0.3 [INFO] [stderr] Compiling serial_test_derive v0.7.0 [INFO] [stderr] Compiling assert_cmd v2.0.4 [INFO] [stderr] Compiling serial_test v0.7.0 [INFO] [stderr] Compiling ctrlc v3.2.2 [INFO] [stderr] Compiling rust_blockchain v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BlockchainError` [INFO] [stdout] --> src/model.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | pub use blockchain::{Blockchain, BlockchainError, BLOCK_SUBSIDY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockchainError` [INFO] [stdout] --> src/model.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | pub use blockchain::{Blockchain, BlockchainError, BLOCK_SUBSIDY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "8b7c98d6fdbb2746068a09998829908ec5e3be5efa6b1c1df1b1c4245ffcb423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7c98d6fdbb2746068a09998829908ec5e3be5efa6b1c1df1b1c4245ffcb423", kill_on_drop: false }` [INFO] [stdout] 8b7c98d6fdbb2746068a09998829908ec5e3be5efa6b1c1df1b1c4245ffcb423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b6e043c0fa3758dc401645db7c29c687332db1b2f249c1ab7d86339fadbc4773 [INFO] running `Command { std: "docker" "start" "-a" "b6e043c0fa3758dc401645db7c29c687332db1b2f249c1ab7d86339fadbc4773", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `BlockchainError` [INFO] [stderr] --> src/model.rs:12:34 [INFO] [stderr] | [INFO] [stderr] 12 | pub use blockchain::{Blockchain, BlockchainError, BLOCK_SUBSIDY}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_blockchain` (bin "rust_blockchain") generated 1 warning (run `cargo fix --bin "rust_blockchain"` to apply 1 suggestion) [INFO] [stderr] warning: `rust_blockchain` (bin "rust_blockchain" test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_blockchain-ddb598de3391ab63) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test model::address::tests::parse_valid_address ... ok [INFO] [stdout] test model::address::tests::reject_invalid_characters ... ok [INFO] [stdout] test miner::tests::test_mine_block_not_found ... ok [INFO] [stdout] test miner::tests::test_create_target_valid_difficulty ... ok [INFO] [stdout] test miner::tests::test_create_target_overflowing_difficulty ... ok [INFO] [stdout] test miner::tests::test_run_block_found ... ok [INFO] [stdout] test miner::tests::test_create_next_block ... ok [INFO] [stdout] test model::blockchain::tests::should_have_valid_genesis_block ... ok [INFO] [stdout] test model::blockchain::tests::should_not_let_adding_block_with_invalid_previous_hash ... ok [INFO] [stdout] test model::blockchain::tests::should_not_let_adding_block_with_invalid_index ... ok [INFO] [stdout] test model::address::tests::parse_case_insensitive ... ok [INFO] [stdout] test model::blockchain::tests::should_not_let_adding_block_with_invalid_coinbase ... ok [INFO] [stdout] test model::blockchain::tests::should_not_let_adding_block_with_invalid_hash ... ok [INFO] [stdout] test model::address::tests::reject_too_short ... ok [INFO] [stdout] test model::blockchain::tests::should_not_let_adding_block_with_invalid_difficulty ... ok [INFO] [stdout] test miner::tests::test_mine_block_found ... ok [INFO] [stdout] test model::address::tests::reject_too_long ... ok [INFO] [stdout] test model::transaction_pool::tests::should_be_empty_after_creation ... ok [INFO] [stdout] test model::blockchain::tests::should_not_let_add_transaction_with_non_existent_sender ... ok [INFO] [stdout] test model::transaction_pool::tests::should_pop_multiple_values ... ok [INFO] [stdout] test model::blockchain::tests::should_not_let_adding_block_with_no_coinbase ... ok [INFO] [stdout] test model::transaction_pool::tests::should_pop_single_value ... ok [INFO] [stdout] test model::address::tests::parse_json ... ok [INFO] [stdout] test util::config::tests::read_present_envvar ... ok [INFO] [stdout] test model::blockchain::tests::should_not_let_add_transaction_with_insufficient_funds ... ok [INFO] [stdout] test model::blockchain::tests::should_let_adding_valid_blocks ... ok [INFO] [stdout] test util::config::tests::read_non_present_envvar ... ok [INFO] [stdout] test util::config::tests::read_invalid_envvar ... ok [INFO] [stdout] test util::config::tests::read_present_vec_envvar ... ok [INFO] [stdout] test miner::tests::test_run_block_not_found - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running tests/api_test.rs (/opt/rustwide/target/debug/deps/api_test-7e619b775dc1d941) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_should_get_a_valid_genesis_block ... ok [INFO] [stdout] test test_should_not_let_add_invalid_block ... ok [INFO] [stdout] test test_should_let_add_valid_block ... ok [INFO] [stderr] Running tests/peer_test.rs (/opt/rustwide/target/debug/deps/peer_test-34f2a16def26903a) [INFO] [stdout] test test_should_let_add_transactions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.09s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_should_ignore_unavailable_peers ... FAILED [INFO] [stdout] test test_should_receive_new_valid_blocks ... ok [INFO] [stdout] test test_should_not_receive_new_invalid_blocks ... ok [INFO] [stdout] test test_should_send_new_blocks ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_should_ignore_unavailable_peers stdout ---- [INFO] [stdout] thread 'test_should_ignore_unavailable_peers' panicked at tests/peer_test.rs:81:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 1 [INFO] [stdout] right: 2 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x562d1886c1ac - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x562d1886c1ac - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x562d1886c1ac - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x562d1886c1ac - ::fmt::hed7f999df88cc644 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x562d18898a00 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x562d18898a00 - core::fmt::write::h3a39390d8560d9c9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x562d1886950f - std::io::Write::write_fmt::h040b369f3a0f9cbc [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15 [INFO] [stdout] 7: 0x562d1886bf94 - std::sys_common::backtrace::_print::h894006fb5c6f3d45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x562d1886bf94 - std::sys_common::backtrace::print::h23a2d212c6fff936 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x562d1886dc57 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a [INFO] [stdout] 10: 0x562d1886d943 - std::panicking::default_hook::h6038f2eba384e475 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x562d1853d2a7 - as core::ops::function::Fn>::call::h0ad024c9bdc6d768 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 12: 0x562d1853d2a7 - test::test_main::{{closure}}::h7500b54257359db6 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x562d1886e268 - as core::ops::function::Fn>::call::h1f8f335eaa9cfaee [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 14: 0x562d1886e268 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x562d1886dfbe - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13 [INFO] [stdout] 16: 0x562d1886c676 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18 [INFO] [stdout] 17: 0x562d1886dd22 - rust_begin_unwind [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x562d184c8e95 - core::panicking::panic_fmt::hbf0e066aabfa482c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x562d184c92eb - core::panicking::assert_failed_inner::h0bba8b7c26ee4492 [INFO] [stdout] 20: 0x562d186afb3e - core::panicking::assert_failed::h308f9150ac88e9ed [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5 [INFO] [stdout] 21: 0x562d184d2aa1 - peer_test::test_should_ignore_unavailable_peers::{{closure}}::heb3819c0cc32aff4 [INFO] [stdout] at /opt/rustwide/workdir/tests/peer_test.rs:81:5 [INFO] [stdout] 22: 0x562d184f17fe - core::ops::function::FnOnce::call_once::h756a3124588f42a6 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x562d1854be39 - serial_test::serial_code_lock::local_serial_core::h520eb730c15b670e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serial_test-0.7.0/src/serial_code_lock.rs:26:5 [INFO] [stdout] 24: 0x562d184d2869 - peer_test::test_should_ignore_unavailable_peers::he52cb7100ff64a7f [INFO] [stdout] at /opt/rustwide/workdir/tests/peer_test.rs:60:1 [INFO] [stdout] 25: 0x562d184d2837 - peer_test::test_should_ignore_unavailable_peers::{{closure}}::h7e86e2aba1b6682c [INFO] [stdout] at /opt/rustwide/workdir/tests/peer_test.rs:62:42 [INFO] [stdout] 26: 0x562d184f1746 - core::ops::function::FnOnce::call_once::h44f5a309cb80e27f [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x562d185428ff - core::ops::function::FnOnce::call_once::h2b5d431d5046312d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x562d185428ff - test::__rust_begin_short_backtrace::h7714669af176e207 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18 [INFO] [stdout] 29: 0x562d18541915 - test::run_test_in_process::{{closure}}::h85218797dcbcec12 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60 [INFO] [stdout] 30: 0x562d18541915 - as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: 0x562d18541915 - std::panicking::try::do_call::h3bd5d0f6620ee946 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 32: 0x562d18541915 - std::panicking::try::h232e535e4744fe31 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 33: 0x562d18541915 - std::panic::catch_unwind::h3ce3bd6ca8dbac68 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 34: 0x562d18541915 - test::run_test_in_process::hc97b257c9621286a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27 [INFO] [stdout] 35: 0x562d18541915 - test::run_test::{{closure}}::h2aa798823a438d38 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43 [INFO] [stdout] 36: 0x562d18509bd6 - test::run_test::{{closure}}::h87d231c78fb59832 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41 [INFO] [stdout] 37: 0x562d18509bd6 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18 [INFO] [stdout] 38: 0x562d1850ec87 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 39: 0x562d1850ec87 - as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: 0x562d1850ec87 - std::panicking::try::do_call::h9057517f80303cd4 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 41: 0x562d1850ec87 - std::panicking::try::he3a30b11ee45340c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 42: 0x562d1850ec87 - std::panic::catch_unwind::h410458cfd3528b8b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 43: 0x562d1850ec87 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 44: 0x562d1850ec87 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x562d18872d35 - as core::ops::function::FnOnce>::call_once::hc7eafaff61e32df9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 46: 0x562d18872d35 - as core::ops::function::FnOnce>::call_once::h6ba4a5de48dd2304 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 47: 0x562d18872d35 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 48: 0x7fe1a9364ac3 - [INFO] [stdout] 49: 0x7fe1a93f5bf4 - __clone [INFO] [stdout] 50: 0x0 - [INFO] [stdout] Shutting down server on port 8001 [INFO] [stdout] Shutting down server on port 8000 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_should_ignore_unavailable_peers [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 13.71s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test peer_test` [INFO] running `Command { std: "docker" "inspect" "b6e043c0fa3758dc401645db7c29c687332db1b2f249c1ab7d86339fadbc4773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e043c0fa3758dc401645db7c29c687332db1b2f249c1ab7d86339fadbc4773", kill_on_drop: false }` [INFO] [stdout] b6e043c0fa3758dc401645db7c29c687332db1b2f249c1ab7d86339fadbc4773