[INFO] updating cached repository https://github.com/DieMyst/js-rust-libp2p [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39084993c24ed7530ee49085cb10f6ee2f1b6fc9 [INFO] testing DieMyst/js-rust-libp2p against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDieMyst%2Fjs-rust-libp2p" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DieMyst/js-rust-libp2p on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DieMyst/js-rust-libp2p [INFO] finished tweaking git repo https://github.com/DieMyst/js-rust-libp2p [INFO] tweaked toml for git repo https://github.com/DieMyst/js-rust-libp2p written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/DieMyst/js-rust-libp2p already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe35e7915eff685f134b6716f6ca55e5fd7afbf8344057ff85a13d3a7f4c5d85 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fe35e7915eff685f134b6716f6ca55e5fd7afbf8344057ff85a13d3a7f4c5d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe35e7915eff685f134b6716f6ca55e5fd7afbf8344057ff85a13d3a7f4c5d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe35e7915eff685f134b6716f6ca55e5fd7afbf8344057ff85a13d3a7f4c5d85", kill_on_drop: false }` [INFO] [stdout] fe35e7915eff685f134b6716f6ca55e5fd7afbf8344057ff85a13d3a7f4c5d85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e6ee6e091053a5fbb1fa5b8fd8c1f3d4f36a922b731ec6a2b6461fd919afade [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1e6ee6e091053a5fbb1fa5b8fd8c1f3d4f36a922b731ec6a2b6461fd919afade", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.65 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling wasm-bindgen v0.2.65 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling nohash-hasher v0.1.3 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling snow v0.6.2 [INFO] [stderr] Compiling uint v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling stream-cipher v0.3.2 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cuckoofilter v0.3.2 [INFO] [stderr] Compiling names v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling blake2 v0.8.1 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling twofish v0.2.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling ctr v0.3.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling curve25519-dalek v1.2.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling aes-ctr v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling rw-stream-sink v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling tokio-stdin-stdout v0.1.5 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling unsigned-varint v0.2.3 [INFO] [stderr] Compiling wasm-timer v0.1.3 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling multistream-select v0.6.1 [INFO] [stderr] Compiling parity-multihash v0.2.3 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling yamux v0.2.2 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling x25519-dalek v0.5.2 [INFO] [stderr] Compiling soketto v0.2.3 [INFO] [stderr] Compiling parity-multiaddr v0.6.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio-dns-unofficial v0.4.0 [INFO] [stderr] Compiling libp2p-core-derive v0.13.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.65 [INFO] [stderr] Compiling tokio-rustls v0.10.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.65 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling js-sys v0.3.42 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling libp2p-core v0.13.2 [INFO] [stdout] error[E0599]: no method named `sign` found for struct `ed25519_dalek::Keypair` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.13.2/src/identity/ed25519.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | self.0.sign(msg).to_bytes().to_vec() [INFO] [stdout] | ^^^^ method not found in `ed25519_dalek::Keypair` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Signer;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `ed25519_dalek::Signature` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.13.2/src/identity/ed25519.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | ed25519::Signature::from_bytes(sig).and_then(|s| self.0.verify(msg, &s)).is_ok() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `ed25519_dalek::Signature` [INFO] [stdout] | help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::ed25519::signature::Signature;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify` found for struct `ed25519_dalek::PublicKey` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.13.2/src/identity/ed25519.rs:111:65 [INFO] [stdout] | [INFO] [stdout] 111 | ed25519::Signature::from_bytes(sig).and_then(|s| self.0.verify(msg, &s)).is_ok() [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::PublicKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Verifier;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-core`. [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 `Command { std: "docker" "inspect" "1e6ee6e091053a5fbb1fa5b8fd8c1f3d4f36a922b731ec6a2b6461fd919afade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e6ee6e091053a5fbb1fa5b8fd8c1f3d4f36a922b731ec6a2b6461fd919afade", kill_on_drop: false }` [INFO] [stdout] 1e6ee6e091053a5fbb1fa5b8fd8c1f3d4f36a922b731ec6a2b6461fd919afade