[INFO] cloning repository https://github.com/bui-duc-huy/basic_blockchain_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bui-duc-huy/basic_blockchain_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbui-duc-huy%2Fbasic_blockchain_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbui-duc-huy%2Fbasic_blockchain_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f71bfdc2fc473435b6f2f04f237b7cd59d29b49 [INFO] testing bui-duc-huy/basic_blockchain_in_rust against beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbui-duc-huy%2Fbasic_blockchain_in_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bui-duc-huy/basic_blockchain_in_rust on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bui-duc-huy/basic_blockchain_in_rust [INFO] finished tweaking git repo https://github.com/bui-duc-huy/basic_blockchain_in_rust [INFO] tweaked toml for git repo https://github.com/bui-duc-huy/basic_blockchain_in_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bui-duc-huy/basic_blockchain_in_rust 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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-3-tc2/source/crates/core/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c0dbfd8c570ca9fbe7137b380b48fbd35ba8950cd29f28a7b082f51fa2718bf [INFO] running `Command { std: "docker" "start" "-a" "0c0dbfd8c570ca9fbe7137b380b48fbd35ba8950cd29f28a7b082f51fa2718bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c0dbfd8c570ca9fbe7137b380b48fbd35ba8950cd29f28a7b082f51fa2718bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0dbfd8c570ca9fbe7137b380b48fbd35ba8950cd29f28a7b082f51fa2718bf", kill_on_drop: false }` [INFO] [stdout] 0c0dbfd8c570ca9fbe7137b380b48fbd35ba8950cd29f28a7b082f51fa2718bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8aef2b926e3a1c6f28149a5ce2ff179f29ed0ba8f38d61274b213c6a03650aa [INFO] running `Command { std: "docker" "start" "-a" "a8aef2b926e3a1c6f28149a5ce2ff179f29ed0ba8f38d61274b213c6a03650aa", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/core/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling byte-slice-cast v1.2.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling ethbloom v0.11.1 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling keccak-hash v0.7.0 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling core v0.0.1 (/opt/rustwide/workdir/crates/core) [INFO] [stderr] Compiling basic_blockchain_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> src/blockchain/main.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | block::{ BlockHeader, Block } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.30s [INFO] running `Command { std: "docker" "inspect" "a8aef2b926e3a1c6f28149a5ce2ff179f29ed0ba8f38d61274b213c6a03650aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8aef2b926e3a1c6f28149a5ce2ff179f29ed0ba8f38d61274b213c6a03650aa", kill_on_drop: false }` [INFO] [stdout] a8aef2b926e3a1c6f28149a5ce2ff179f29ed0ba8f38d61274b213c6a03650aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5229186b13832ac6ee08a18186310e4f27a911d457cdcea1328bac8db3cf326c [INFO] running `Command { std: "docker" "start" "-a" "5229186b13832ac6ee08a18186310e4f27a911d457cdcea1328bac8db3cf326c", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/core/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling basic_blockchain_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> src/blockchain/main.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | block::{ BlockHeader, Block } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "5229186b13832ac6ee08a18186310e4f27a911d457cdcea1328bac8db3cf326c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5229186b13832ac6ee08a18186310e4f27a911d457cdcea1328bac8db3cf326c", kill_on_drop: false }` [INFO] [stdout] 5229186b13832ac6ee08a18186310e4f27a911d457cdcea1328bac8db3cf326c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 250ee8c967d5cfbcc4eaf360d7f43bd9acb33c960d16d38dd4a6726d492c5a5d [INFO] running `Command { std: "docker" "start" "-a" "250ee8c967d5cfbcc4eaf360d7f43bd9acb33c960d16d38dd4a6726d492c5a5d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/core/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused import: `Block` [INFO] [stderr] --> src/blockchain/main.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | block::{ BlockHeader, Block } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `basic_blockchain_in_rust` (bin "blockchain" test) generated 1 warning (run `cargo fix --bin "blockchain" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/blockchain/lib.rs (/opt/rustwide/target/debug/deps/basic_blockchain_in_rust-d9be54928f1cd20e) [INFO] [stdout] [INFO] [stderr] Running unittests src/blockchain/main.rs (/opt/rustwide/target/debug/deps/blockchain-3c9c786aca82d0db) [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] [stdout] [INFO] [stderr] Doc-tests basic_blockchain_in_rust [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] [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" "250ee8c967d5cfbcc4eaf360d7f43bd9acb33c960d16d38dd4a6726d492c5a5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "250ee8c967d5cfbcc4eaf360d7f43bd9acb33c960d16d38dd4a6726d492c5a5d", kill_on_drop: false }` [INFO] [stdout] 250ee8c967d5cfbcc4eaf360d7f43bd9acb33c960d16d38dd4a6726d492c5a5d