[INFO] updating cached repository https://github.com/Frando/hypercore-protocol-rust-experiments [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] de4d1ad4492bf59a01593a235f8b86880857fbe6 [INFO] checking Frando/hypercore-protocol-rust-experiments against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrando%2Fhypercore-protocol-rust-experiments" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Frando/hypercore-protocol-rust-experiments on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Frando/hypercore-protocol-rust-experiments [INFO] finished tweaking git repo https://github.com/Frando/hypercore-protocol-rust-experiments [INFO] tweaked toml for git repo https://github.com/Frando/hypercore-protocol-rust-experiments written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/Frando/snow.git` [INFO] [stderr] Updating git repository `https://github.com/bltavares/hypercore` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f2c9c4d9b5df7d4d64dee2b6637e8036fff8615aeace577346e09edf4b164c20 [INFO] running `"docker" "start" "-a" "f2c9c4d9b5df7d4d64dee2b6637e8036fff8615aeace577346e09edf4b164c20"` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking subtle v2.2.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking varinteger v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking flat-tree v5.0.0 [INFO] [stderr] Checking memory-pager v0.9.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking mkdirp v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking instant v0.1.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking sparse-bitfield v0.11.0 [INFO] [stderr] Checking merkle-tree-stream v0.12.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking tree-index v0.6.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking salsa20 v0.4.1 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking poly1305 v0.5.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Compiling snow v0.7.0-alpha4 (https://github.com/Frando/snow.git?branch=datrs#303382f5) [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking chacha20 v0.3.4 [INFO] [stderr] Checking aes-gcm v0.3.2 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking chacha20poly1305 v0.3.3 [INFO] [stderr] Checking pretty-hash v0.4.1 [INFO] [stderr] Checking bitfield-rle v0.1.1 [INFO] [stderr] Checking sleep-parser v0.8.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking random-access-storage v4.0.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking random-access-memory v2.0.0 [INFO] [stderr] Compiling hypercore-protocol v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking random-access-disk v2.0.0 [INFO] [stderr] Checking simple-message-channels v0.2.0 [INFO] [stderr] Checking hypercore v0.11.1-beta.2 (https://github.com/bltavares/hypercore?branch=async-trait#f41ebe3d) [INFO] [stderr] error[E0601]: `main` function not found in crate `util` [INFO] [stderr] --> examples/util.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use async_std::net::{TcpListener, TcpStream}; [INFO] [stderr] 2 | | use async_std::prelude::*; [INFO] [stderr] 3 | | use async_std::task; [INFO] [stderr] 4 | | use env_logger::Env; [INFO] [stderr] ... | [INFO] [stderr] 57 | | onconnection(stream, true, context).await [INFO] [stderr] 58 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `examples/util.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `hypercore-protocol`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0603]: module `handshake` is private [INFO] [stderr] --> examples/noise.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | use hypercore_protocol::handshake; [INFO] [stderr] | ^^^^^^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `handshake` is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | mod handshake; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0603`. [INFO] [stderr] error: could not compile `hypercore-protocol`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "f2c9c4d9b5df7d4d64dee2b6637e8036fff8615aeace577346e09edf4b164c20"` [INFO] running `"docker" "rm" "-f" "f2c9c4d9b5df7d4d64dee2b6637e8036fff8615aeace577346e09edf4b164c20"` [INFO] [stdout] f2c9c4d9b5df7d4d64dee2b6637e8036fff8615aeace577346e09edf4b164c20