[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#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFantom-foundation%2Flibconsensus-dag" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fantom-foundation/libconsensus-dag on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", 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] 7f413fe8b7dec48fd76a47529c4c8f1e470b69f5d5c0acb04eb047462a48710b [INFO] running `Command { std: "docker" "start" "-a" "7f413fe8b7dec48fd76a47529c4c8f1e470b69f5d5c0acb04eb047462a48710b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f413fe8b7dec48fd76a47529c4c8f1e470b69f5d5c0acb04eb047462a48710b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f413fe8b7dec48fd76a47529c4c8f1e470b69f5d5c0acb04eb047462a48710b", kill_on_drop: false }` [INFO] [stdout] 7f413fe8b7dec48fd76a47529c4c8f1e470b69f5d5c0acb04eb047462a48710b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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] 87bab055b79cf20be7a775227d201652dc6d42a597840c662983db2deb531d19 [INFO] running `Command { std: "docker" "start" "-a" "87bab055b79cf20be7a775227d201652dc6d42a597840c662983db2deb531d19", kill_on_drop: false }` [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking to_vec v0.1.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking mac v0.0.2 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [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 lock_api v0.3.4 [INFO] [stderr] Checking buffer v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking fxhash v0.2.1 [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] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking nix v0.15.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Checking backtrace v0.3.56 [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 serde_derive v1.0.125 [INFO] [stderr] Compiling futures-join-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [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 serde v1.0.125 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking libcommon-rs v0.0.2 (https://github.com/Fantom-foundation/libcommon-rs#a5b2ac03) [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 sled v0.29.2 [INFO] [stderr] Checking libhash-sha3 v0.1.1 (https://github.com/Fantom-foundation/libhash-sha3#8fe424d5) [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" "87bab055b79cf20be7a775227d201652dc6d42a597840c662983db2deb531d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87bab055b79cf20be7a775227d201652dc6d42a597840c662983db2deb531d19", kill_on_drop: false }` [INFO] [stdout] 87bab055b79cf20be7a775227d201652dc6d42a597840c662983db2deb531d19