[INFO] cloning repository https://github.com/korayakpinar/basic-rust-blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/korayakpinar/basic-rust-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorayakpinar%2Fbasic-rust-blockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorayakpinar%2Fbasic-rust-blockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20bc1ec945f77ffcdfe5785c072ae3cccc0acb11 [INFO] testing korayakpinar/basic-rust-blockchain against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorayakpinar%2Fbasic-rust-blockchain" "/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/korayakpinar/basic-rust-blockchain on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/korayakpinar/basic-rust-blockchain [INFO] finished tweaking git repo https://github.com/korayakpinar/basic-rust-blockchain [INFO] tweaked toml for git repo https://github.com/korayakpinar/basic-rust-blockchain written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/korayakpinar/basic-rust-blockchain 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-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byte-unit v4.0.18 [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ece74ac1946720e512488babcfbfe8c0e2068bb4d871cab7f53587a9f961d4a [INFO] running `Command { std: "docker" "start" "-a" "9ece74ac1946720e512488babcfbfe8c0e2068bb4d871cab7f53587a9f961d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ece74ac1946720e512488babcfbfe8c0e2068bb4d871cab7f53587a9f961d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ece74ac1946720e512488babcfbfe8c0e2068bb4d871cab7f53587a9f961d4a", kill_on_drop: false }` [INFO] [stdout] 9ece74ac1946720e512488babcfbfe8c0e2068bb4d871cab7f53587a9f961d4a [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] facecd629975b697bd679b75c7b487c445ba50876dbac8e67616d3092ca085f1 [INFO] running `Command { std: "docker" "start" "-a" "facecd629975b697bd679b75c7b487c445ba50876dbac8e67616d3092ca085f1", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling utf8-width v0.1.6 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling byte-unit v4.0.18 [INFO] [stderr] Compiling zeroize_derive v1.3.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling p2p-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Account` is more private than the item `state::State::get_account` [INFO] [stdout] --> src/state.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_account(&self, address: String) -> &Account { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `state::State::get_account` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Account` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/state.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | struct Account { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_random_wallet` is never used [INFO] [stdout] --> src/helpers.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new_random_wallet() -> Wallet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_account`, `get_nonce`, and `get_address` are never used [INFO] [stdout] --> src/state.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_account(&self, address: String) -> &Account { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_nonce(&self, address: String) -> &u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_address(&self, address: String) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nonce` and `address` are never read [INFO] [stdout] --> src/state.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Account { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 40 | balance: u64, [INFO] [stdout] 41 | nonce: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Keypair` should have a snake case name [INFO] [stdout] --> src/helpers.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let Keypair = create_random_keypair(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `keypair` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.85s [INFO] running `Command { std: "docker" "inspect" "facecd629975b697bd679b75c7b487c445ba50876dbac8e67616d3092ca085f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "facecd629975b697bd679b75c7b487c445ba50876dbac8e67616d3092ca085f1", kill_on_drop: false }` [INFO] [stdout] facecd629975b697bd679b75c7b487c445ba50876dbac8e67616d3092ca085f1 [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77ac5212d3ac9cd6047f07e28212396f8092c97731611e2ecf7892d712864c46 [INFO] running `Command { std: "docker" "start" "-a" "77ac5212d3ac9cd6047f07e28212396f8092c97731611e2ecf7892d712864c46", kill_on_drop: false }` [INFO] [stderr] Compiling p2p-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `get_address_from_keypair` and `helpers::create_random_keypair` [INFO] [stdout] --> src/wallet.rs:46:72 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::{transaction::Transaction, helpers::{new_random_wallet, get_address_from_keypair}, helpers::create_random_keypair}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Keypair` [INFO] [stdout] --> src/wallet.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | use ed25519_dalek::{Keypair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::OsRng` [INFO] [stdout] --> src/wallet.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use rand::rngs::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Wallet` [INFO] [stdout] --> src/wallet.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use super::Wallet; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Account` is more private than the item `state::State::get_account` [INFO] [stdout] --> src/state.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_account(&self, address: String) -> &Account { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `state::State::get_account` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Account` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/state.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | struct Account { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_account` and `get_nonce` are never used [INFO] [stdout] --> src/state.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_account(&self, address: String) -> &Account { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_nonce(&self, address: String) -> &u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nonce` is never read [INFO] [stdout] --> src/state.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Account { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 40 | balance: u64, [INFO] [stdout] 41 | nonce: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Keypair` should have a snake case name [INFO] [stdout] --> src/helpers.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let Keypair = create_random_keypair(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `keypair` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcyyLMOH/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-881a28050740af2c.rlib,libgetopts-1ec82257904e6c1a.rlib,libunicode_width-4f5c184aada24a03.rlib,librustc_std_workspace_std-75e27242e8cac7c5.rlib}" "/opt/rustwide/target/debug/deps/{libserde_json-ffb66ad4b09dee6f.rlib,libryu-d41f87005784b1b4.rlib,libitoa-b1c8d26b4c65e25a.rlib,libserde-37777d9d05bff52c.rlib,libhex-13e08b3b00984ab7.rlib,libed25519_dalek-05b78e31b71f81d8.rlib,libsha2-b3cdb0e111fa39fa.rlib,libopaque_debug-1826dab867fa4b9d.rlib,libblock_buffer-4736353abe3fcae2.rlib,librand-d152f4935bc21b48.rlib,librand_chacha-099e564b4e0e93fb.rlib,libppv_lite86-74d192d5fb0d20a2.rlib,libcurve25519_dalek-91773dc3900f692c.rlib,libsubtle-28bf489532132cab.rlib,libzeroize-f3ade43af970e360.rlib,librand_core-226bd54528aa9aae.rlib,libgetrandom-41e3ce2f393822d8.rlib,liblibc-66fba246db4e5b55.rlib,libdigest-f60b80c6174f0926.rlib,libbyteorder-0bcad8f4fca3f252.rlib,libed25519-0b070739a9fdb3c3.rlib,libsignature-9d1573870c801d02.rlib,libsha2-68160ad0cfd9294d.rlib,libcpufeatures-334c279ac859326b.rlib,libcfg_if-3e7fc4e38d4a72b5.rlib,libdigest-dd56d17720e005b5.rlib,libblock_buffer-084bead0fda6bced.rlib,libcrypto_common-9e6961168efad84f.rlib,libgeneric_array-fe2b084fa5085045.rlib,libtypenum-c7f92077f483875e.rlib}" "/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-2e6eca6bf1681754.rlib,libpanic_unwind-6419b8734ab2f0cb.rlib,libobject-784ada497c5d935e.rlib,libmemchr-9267ffe866ca370f.rlib,libaddr2line-36f3ec5f8f15f213.rlib,libgimli-a0a71c3c5fe00164.rlib,librustc_demangle-95f237535246c825.rlib,libstd_detect-e0bd23c2b0917c59.rlib,libhashbrown-22a7802a8abbef9e.rlib,librustc_std_workspace_alloc-eb0228d54dd99343.rlib,libminiz_oxide-e6c6f516ce70276d.rlib,libadler-af73ed2b2e212982.rlib,libunwind-0000b4ce778574a2.rlib,libcfg_if-1a94dbdc43bc518f.rlib,liblibc-b957950176a614bc.rlib,liballoc-2b137d666ae9b5cb.rlib,librustc_std_workspace_core-4cf833632aafa84c.rlib,libcore-65c2c6d2d6ae570b.rlib,libcompiler_builtins-678c764df5f831e4.rlib}" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/p2p_client-a23e5fc4bc74beae" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `p2p-client` (bin "p2p-client" test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "77ac5212d3ac9cd6047f07e28212396f8092c97731611e2ecf7892d712864c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ac5212d3ac9cd6047f07e28212396f8092c97731611e2ecf7892d712864c46", kill_on_drop: false }` [INFO] [stdout] 77ac5212d3ac9cd6047f07e28212396f8092c97731611e2ecf7892d712864c46