[INFO] cloning repository https://github.com/dgcampbe/tp2p [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dgcampbe/tp2p" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgcampbe%2Ftp2p", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgcampbe%2Ftp2p'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 172ef244e991a91946157199e723afa372287334 [INFO] checking dgcampbe/tp2p/172ef244e991a91946157199e723afa372287334 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgcampbe%2Ftp2p" "/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/dgcampbe/tp2p on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dgcampbe/tp2p [INFO] finished tweaking git repo https://github.com/dgcampbe/tp2p [INFO] tweaked toml for git repo https://github.com/dgcampbe/tp2p written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dgcampbe/tp2p 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory-impl v0.1.10 [INFO] [stderr] Downloaded inventory v0.1.10 [INFO] [stderr] Downloaded merkle-cbt v0.2.2 [INFO] [stderr] Downloaded chrono v0.4.20 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2adb84b2f32e1928b7923c35c191f94df2c02a7af3ae654aec9d0e1daa0856aa [INFO] running `Command { std: "docker" "start" "-a" "2adb84b2f32e1928b7923c35c191f94df2c02a7af3ae654aec9d0e1daa0856aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2adb84b2f32e1928b7923c35c191f94df2c02a7af3ae654aec9d0e1daa0856aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2adb84b2f32e1928b7923c35c191f94df2c02a7af3ae654aec9d0e1daa0856aa", kill_on_drop: false }` [INFO] [stdout] 2adb84b2f32e1928b7923c35c191f94df2c02a7af3ae654aec9d0e1daa0856aa [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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 541d1d4524993b414f464127ac271d5c19e0de59ad576a61344d9f9f408bc067 [INFO] running `Command { std: "docker" "start" "-a" "541d1d4524993b414f464127ac271d5c19e0de59ad576a61344d9f9f408bc067", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling pyo3 v0.11.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Checking merkle-cbt v0.2.2 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.20 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling pyo3-derive-backend v0.11.1 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.16 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling pyo3cls v0.11.1 [INFO] [stderr] Checking tp2p v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand::os` [INFO] [stdout] --> src/main.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::os::{OsRng}; [INFO] [stdout] | ^^ could not find `os` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::os` [INFO] [stdout] --> src/main.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::os::{OsRng}; [INFO] [stdout] | ^^ could not find `os` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash` and `Hasher` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash` and `Hasher` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_blockchain` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let test_blockchain = Blockchain { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_blockchain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_blockchain` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let test_blockchain = Blockchain { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_blockchain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tp2p` (bin "tp2p") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tp2p` (bin "tp2p" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "541d1d4524993b414f464127ac271d5c19e0de59ad576a61344d9f9f408bc067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "541d1d4524993b414f464127ac271d5c19e0de59ad576a61344d9f9f408bc067", kill_on_drop: false }` [INFO] [stdout] 541d1d4524993b414f464127ac271d5c19e0de59ad576a61344d9f9f408bc067