[INFO] updating cached repository https://github.com/daogangtang/learn-libp2p [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] 5af80970091694cf447984cdcdcedf270a9d0702 [INFO] checking daogangtang/learn-libp2p against master#212aa3ea28d91a97d1e1261709c0b6e6790788e6 for pr-69340 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaogangtang%2Flearn-libp2p" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daogangtang/learn-libp2p on toolchain 212aa3ea28d91a97d1e1261709c0b6e6790788e6 [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/daogangtang/learn-libp2p [INFO] removed path dependency libp2p from git repo https://github.com/daogangtang/learn-libp2p [INFO] finished tweaking git repo https://github.com/daogangtang/learn-libp2p [INFO] tweaked toml for git repo https://github.com/daogangtang/learn-libp2p written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/daogangtang/learn-libp2p already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (libp2p) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (libp2p) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "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] 8de546c95f7ec0b4f2b1dcee3f4346898d631c4f13197e72bd2ff6868bebd6ae [INFO] running `"docker" "start" "-a" "8de546c95f7ec0b4f2b1dcee3f4346898d631c4f13197e72bd2ff6868bebd6ae"` [INFO] [stderr] warning: dependency (libp2p) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking data-encoding v2.2.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking parity-send-wrapper v0.1.0 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking quicksink v0.1.1 [INFO] [stderr] Compiling snow v0.6.2 [INFO] [stderr] Checking uint v0.8.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking cuckoofilter v0.3.2 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.58 [INFO] [stderr] Compiling libp2p-core-derive v0.16.0 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking twofish v0.2.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking salsa20-core v0.2.3 [INFO] [stderr] Checking ctr v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking tokio-stdin-stdout v0.1.5 [INFO] [stderr] Checking salsa20 v0.3.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Checking aes-ctr v0.3.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking thiserror v1.0.11 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking hashbrown v0.6.3 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking lru v0.4.3 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking x25519-dalek v0.5.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.58 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking futures_codec v0.3.4 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.4 [INFO] [stderr] Checking soketto v0.3.2 [INFO] [stderr] Checking yamux v0.4.3 [INFO] [stderr] Checking libp2p-pnet v0.16.0 [INFO] [stderr] Checking wasm-bindgen v0.2.58 [INFO] [stderr] Checking async-tls v0.6.0 [INFO] [stderr] Checking unsigned-varint v0.3.1 [INFO] [stderr] Checking js-sys v0.3.35 [INFO] [stderr] Compiling libp2p-core v0.16.0 [INFO] [stderr] Compiling libp2p-floodsub v0.16.0 [INFO] [stderr] Compiling libp2p-secio v0.16.1 [INFO] [stderr] Compiling libp2p-identify v0.16.0 [INFO] [stderr] Compiling libp2p-kad v0.16.1 [INFO] [stderr] Compiling libp2p-gossipsub v0.16.0 [INFO] [stderr] Compiling libp2p-plaintext v0.16.0 [INFO] [stderr] Compiling libp2p-noise v0.16.0 [INFO] [stderr] error[E0603]: struct `Memory` is private [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:4873:60 [INFO] [stderr] | [INFO] [stderr] 4873 | let mem = buf.unchecked_ref::(); [INFO] [stderr] | ^^^^^^ this struct is private [INFO] [stderr] | [INFO] [stderr] note: the struct `Memory` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:3516:5 [INFO] [stderr] | [INFO] [stderr] 3516 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `Memory` is private [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:4898:60 [INFO] [stderr] | [INFO] [stderr] 4898 | let mem = buf.unchecked_ref::(); [INFO] [stderr] | ^^^^^^ this struct is private [INFO] [stderr] | [INFO] [stderr] note: the struct `Memory` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:3516:5 [INFO] [stderr] | [INFO] [stderr] 3516 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `Memory` is private [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:4908:60 [INFO] [stderr] | [INFO] [stderr] 4908 | let mem = buf.unchecked_ref::(); [INFO] [stderr] | ^^^^^^ this struct is private [INFO] [stderr] | [INFO] [stderr] note: the struct `Memory` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:3516:5 [INFO] [stderr] | [INFO] [stderr] 3516 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] Checking parity-multihash v0.2.3 [INFO] [stderr] Checking multistream-select v0.7.0 [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0603`. [INFO] [stderr] error: could not compile `js-sys`. [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" "8de546c95f7ec0b4f2b1dcee3f4346898d631c4f13197e72bd2ff6868bebd6ae"` [INFO] running `"docker" "rm" "-f" "8de546c95f7ec0b4f2b1dcee3f4346898d631c4f13197e72bd2ff6868bebd6ae"` [INFO] [stdout] 8de546c95f7ec0b4f2b1dcee3f4346898d631c4f13197e72bd2ff6868bebd6ae