[INFO] cloning repository https://github.com/Fantom-foundation/libconsensus-dag [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fantom-foundation/libconsensus-dag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFantom-foundation%2Flibconsensus-dag", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFantom-foundation%2Flibconsensus-dag'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f9ec3570c70d51c060cfc5eba8d76f938890dcb [INFO] checking Fantom-foundation/libconsensus-dag against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFantom-foundation%2Flibconsensus-dag" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fantom-foundation/libconsensus-dag on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Fantom-foundation/libconsensus-dag [INFO] finished tweaking git repo https://github.com/Fantom-foundation/libconsensus-dag [INFO] tweaked toml for git repo https://github.com/Fantom-foundation/libconsensus-dag written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Fantom-foundation/libcommon-rs` [INFO] [stderr] Updating git repository `https://github.com/Fantom-foundation/libconsensus` [INFO] [stderr] Updating git repository `https://github.com/Fantom-foundation/libhash` [INFO] [stderr] Updating git repository `https://github.com/Fantom-foundation/libhash-sha3` [INFO] [stderr] Updating git repository `https://github.com/Fantom-foundation/libsignature` [INFO] [stderr] Updating git repository `https://github.com/Fantom-foundation/libtransport` [INFO] [stderr] Updating git repository `https://github.com/Fantom-foundation/libtransport-tcp` [INFO] [stderr] Updating git repository `https://github.com/Fantom-foundation/libsignature-ed25519-dalek` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88b8531c1a4120e97cb186df807cd9416d86d7a324d46154ddd664969ef93166 [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" "88b8531c1a4120e97cb186df807cd9416d86d7a324d46154ddd664969ef93166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88b8531c1a4120e97cb186df807cd9416d86d7a324d46154ddd664969ef93166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88b8531c1a4120e97cb186df807cd9416d86d7a324d46154ddd664969ef93166", kill_on_drop: false }` [INFO] [stdout] 88b8531c1a4120e97cb186df807cd9416d86d7a324d46154ddd664969ef93166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 88962d7b2d8e0fc6e44f8461a775a7dadd754ee600aa2a3ac09233493e50d6a4 [INFO] running `Command { std: "docker" "start" "-a" "88962d7b2d8e0fc6e44f8461a775a7dadd754ee600aa2a3ac09233493e50d6a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking to_vec v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking mac v0.0.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking signature v1.2.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking buffer v0.1.8 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking async-timer v0.6.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking syslog v4.0.1 [INFO] [stderr] Checking os_pipe v0.8.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-join-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking libcommon-rs v0.0.2 (https://github.com/Fantom-foundation/libcommon-rs#a5b2ac03) [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking libhash v0.1.1 (https://github.com/Fantom-foundation/libhash#f98ab42c) [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking libsignature v0.2.0 (https://github.com/Fantom-foundation/libsignature#02f90b2a) [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking libsignature-ed25519-dalek v0.2.2 (https://github.com/Fantom-foundation/libsignature-ed25519-dalek#210bae7b) [INFO] [stderr] Checking libtransport v0.0.4 (https://github.com/Fantom-foundation/libtransport#421eb242) [INFO] [stderr] Checking libhash-sha3 v0.1.1 (https://github.com/Fantom-foundation/libhash-sha3#8fe424d5) [INFO] [stderr] Checking sled v0.29.2 [INFO] [stdout] error[E0599]: no method named `sign` found for struct `Keypair` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libsignature-ed25519-dalek-28918168ec175864/210bae7/src/lib.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | let signature: Self = keypair.sign(hash.as_ref()).into(); [INFO] [stdout] | ^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `libsignature::Signature` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libsignature-68d3dbe9aab2df70/02f90b2/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / fn sign( [INFO] [stdout] 32 | | hash: Self::Hash, [INFO] [stdout] 33 | | public: Self::PublicKey, [INFO] [stdout] 34 | | key: Self::SecretKey, [INFO] [stdout] 35 | | ) -> Result [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | Self: Sized; [INFO] [stdout] | |____________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 55 | let signature: Self = Keypair::sign(hash.as_ref()).into(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for the candidate [INFO] [stdout] | [INFO] [stdout] 55 | let signature: Self = libsignature::Signature::sign(keypair, hash.as_ref()).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek::Signer; [INFO] [stdout] | [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/git/checkouts/libsignature-ed25519-dalek-28918168ec175864/210bae7/src/lib.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | let res: bool = pubkey.verify(hash.as_ref(), &sig).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] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek::Verifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libsignature-ed25519-dalek-28918168ec175864/210bae7/src/lib.rs:74:87 [INFO] [stdout] | [INFO] [stdout] 74 | let secret_key: ed25519_dalek::SecretKey = ed25519_dalek::SecretKey::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `OsRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ed25519-dalek-1.0.1/src/secret.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | T: CryptoRng + RngCore, [INFO] [stdout] | --------- required by this bound in `ed25519_dalek::SecretKey::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libsignature-ed25519-dalek-28918168ec175864/210bae7/src/lib.rs:74:87 [INFO] [stdout] | [INFO] [stdout] 74 | let secret_key: ed25519_dalek::SecretKey = ed25519_dalek::SecretKey::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `OsRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ed25519-dalek-1.0.1/src/secret.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | T: CryptoRng + RngCore, [INFO] [stdout] | ------- required by this bound in `ed25519_dalek::SecretKey::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libsignature-ed25519-dalek-28918168ec175864/210bae7/src/lib.rs:80:87 [INFO] [stdout] | [INFO] [stdout] 80 | let secret_key: ed25519_dalek::SecretKey = ed25519_dalek::SecretKey::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `OsRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ed25519-dalek-1.0.1/src/secret.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | T: CryptoRng + RngCore, [INFO] [stdout] | --------- required by this bound in `ed25519_dalek::SecretKey::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libsignature-ed25519-dalek-28918168ec175864/210bae7/src/lib.rs:80:87 [INFO] [stdout] | [INFO] [stdout] 80 | let secret_key: ed25519_dalek::SecretKey = ed25519_dalek::SecretKey::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `OsRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ed25519-dalek-1.0.1/src/secret.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | T: CryptoRng + RngCore, [INFO] [stdout] | ------- required by this bound in `ed25519_dalek::SecretKey::generate` [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/git/checkouts/libsignature-ed25519-dalek-28918168ec175864/210bae7/src/lib.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | ed25519_dalek::Signature::from_bytes(&(self.0)) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `ed25519_dalek::Signature` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek::ed25519::signature::Signature; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 129 | ed25519_dalek::Signature::to_bytes(&(self.0)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libsignature-ed25519-dalek` [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" "88962d7b2d8e0fc6e44f8461a775a7dadd754ee600aa2a3ac09233493e50d6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88962d7b2d8e0fc6e44f8461a775a7dadd754ee600aa2a3ac09233493e50d6a4", kill_on_drop: false }` [INFO] [stdout] 88962d7b2d8e0fc6e44f8461a775a7dadd754ee600aa2a3ac09233493e50d6a4