[INFO] cloning repository https://github.com/ternyavsky/chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ternyavsky/chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fternyavsky%2Fchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fternyavsky%2Fchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8f6b66e0266357d7445721dc2dc347c15ea1eca [INFO] testing ternyavsky/chain against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fternyavsky%2Fchain" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ternyavsky/chain [INFO] finished tweaking git repo https://github.com/ternyavsky/chain [INFO] tweaked toml for git repo https://github.com/ternyavsky/chain written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ternyavsky/chain on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ternyavsky/chain 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mongodb-internal-macros v3.0.1 [INFO] [stderr] Downloaded bson v2.11.0 [INFO] [stderr] Downloaded mongodb v3.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0433f842136793a10ef5749abc93476b49bace15c8165bebd09c0b69bd5b3728 [INFO] running `Command { std: "docker" "start" "-a" "0433f842136793a10ef5749abc93476b49bace15c8165bebd09c0b69bd5b3728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0433f842136793a10ef5749abc93476b49bace15c8165bebd09c0b69bd5b3728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0433f842136793a10ef5749abc93476b49bace15c8165bebd09c0b69bd5b3728", kill_on_drop: false }` [INFO] [stdout] 0433f842136793a10ef5749abc93476b49bace15c8165bebd09c0b69bd5b3728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7fcf05694021d7aaa1d3fcfb1330c6d9b65a5a9fff1043b576155ee9ca89a1c [INFO] running `Command { std: "docker" "start" "-a" "e7fcf05694021d7aaa1d3fcfb1330c6d9b65a5a9fff1043b576155ee9ca89a1c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling mongodb-internal-macros v3.0.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bson v2.11.0 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling mongodb v3.0.1 [INFO] [stderr] Compiling chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `send_ver` in this scope [INFO] [stdout] --> src/server.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | send_ver [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GLOBAL_CONFIG` in this scope [INFO] [stdout] --> src/server.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NODE_VERSION` in this scope [INFO] [stdout] --> src/server.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | version: NODE_VERSION, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base58_encode` [INFO] [stdout] --> src/transactions/txoutput.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{base58_decode, base58_encode}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ECDSA_P256_SHA256_FIXED_SIGNING`, `EcdsaKeyPair`, `SecureRandom`, and `SystemRandom` [INFO] [stdout] --> src/utils.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | rand::{SecureRandom, SystemRandom}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 4 | signature::{EcdsaKeyPair, ECDSA_P256_SHA256_FIXED, ECDSA_P256_SHA256_FIXED_SIGNING}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/server.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::blockchain::{self, Blockchain}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_data` in this scope [INFO] [stdout] --> src/server.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | send_data( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nonce` [INFO] [stdout] --> src/pow.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn prepare_data(&self, nonce: i64) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Package` [INFO] [stdout] --> src/server.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Package::Version { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chain` (bin "chain") due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e7fcf05694021d7aaa1d3fcfb1330c6d9b65a5a9fff1043b576155ee9ca89a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7fcf05694021d7aaa1d3fcfb1330c6d9b65a5a9fff1043b576155ee9ca89a1c", kill_on_drop: false }` [INFO] [stdout] e7fcf05694021d7aaa1d3fcfb1330c6d9b65a5a9fff1043b576155ee9ca89a1c