[INFO] fetching crate molasses 0.1.0... [INFO] checking molasses-0.1.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate molasses 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate molasses 0.1.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate molasses 0.1.0 [INFO] finished tweaking crates.io crate molasses 0.1.0 [INFO] tweaked toml for crates.io crate molasses 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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] 7c0275c641599caeb18f581adee1ed098090b989b8d4fecc2d0ec4373c6b7326 [INFO] running `Command { std: "docker" "start" "-a" "7c0275c641599caeb18f581adee1ed098090b989b8d4fecc2d0ec4373c6b7326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c0275c641599caeb18f581adee1ed098090b989b8d4fecc2d0ec4373c6b7326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0275c641599caeb18f581adee1ed098090b989b8d4fecc2d0ec4373c6b7326", kill_on_drop: false }` [INFO] [stdout] 7c0275c641599caeb18f581adee1ed098090b989b8d4fecc2d0ec4373c6b7326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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] d8c9e4f9cc3b1c48d38f8033e684e6341fcf33ce6c22cc66efc09904c2030df6 [INFO] running `Command { std: "docker" "start" "-a" "d8c9e4f9cc3b1c48d38f8033e684e6341fcf33ce6c22cc66efc09904c2030df6", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking doc-comment v0.1.4 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v1.2.6 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking x25519-dalek v0.4.5 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling quickcheck_macros v0.8.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking molasses v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Identity`, `error::Error` [INFO] [stdout] --> src/codec.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | credential::{BasicCredential, Identity}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `de::Deserialize`, `ser::Serialize` [INFO] [stdout] --> src/credential.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de::Deserialize, ser::Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sig::ED25519` [INFO] [stdout] --> src/crypto/ciphersuite.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | sig::ED25519, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Identity`, `error::Error` [INFO] [stdout] --> src/codec.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | credential::{BasicCredential, Identity}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `de::Deserialize`, `ser::Serialize` [INFO] [stdout] --> src/credential.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de::Deserialize, ser::Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sig::ED25519` [INFO] [stdout] --> src/crypto/ciphersuite.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | sig::ED25519, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/crypto/sig.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 81 | Ed25519SecretKey(ed25519_dalek::SecretKey::generate(csprng)) [INFO] [stdout] | ^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `T` [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 `SecretKey::generate` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 79 | T: rand::Rng + rand::CryptoRng + rand_core::CryptoRng, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/crypto/sig.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 81 | Ed25519SecretKey(ed25519_dalek::SecretKey::generate(csprng)) [INFO] [stdout] | ^^^^^^ the trait `rand_core::RngCore` is not implemented for `T` [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 `SecretKey::generate` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 79 | T: rand::Rng + rand::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/crypto/sig.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 81 | Ed25519SecretKey(ed25519_dalek::SecretKey::generate(csprng)) [INFO] [stdout] | ^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `T` [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 `SecretKey::generate` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 79 | T: rand::Rng + rand::CryptoRng + rand_core::CryptoRng, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/crypto/sig.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 81 | Ed25519SecretKey(ed25519_dalek::SecretKey::generate(csprng)) [INFO] [stdout] | ^^^^^^ the trait `rand_core::RngCore` is not implemented for `T` [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 `SecretKey::generate` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 79 | T: rand::Rng + rand::CryptoRng + rand_core::RngCore, [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] --> src/crypto/sig.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | .verify(msg, &sig.0) [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 `SignatureScheme` [INFO] [stdout] --> src/crypto/sig.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / fn verify(public_key: &Self::PublicKey, msg: &[u8], sig: &Self::Signature) [INFO] [stdout] 24 | | -> Result<(), Error>; [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] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 109 | ed25519_dalek::PublicKey::verify(msg, &sig.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for the candidate [INFO] [stdout] | [INFO] [stdout] 109 | SignatureScheme::verify(public_key [INFO] [stdout] 110 | .0, msg, &sig.0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 20 | crate::error::Error::SerdeError(other.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | f.write_str(self.description()) [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] --> src/crypto/sig.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | .verify(msg, &sig.0) [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 `sig::SignatureScheme` [INFO] [stdout] --> src/crypto/sig.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / fn verify(public_key: &Self::PublicKey, msg: &[u8], sig: &Self::Signature) [INFO] [stdout] 24 | | -> Result<(), Error>; [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] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 109 | ed25519_dalek::PublicKey::verify(msg, &sig.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for the candidate [INFO] [stdout] | [INFO] [stdout] 109 | sig::SignatureScheme::verify(public_key [INFO] [stdout] 110 | .0, msg, &sig.0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 20 | crate::error::Error::SerdeError(other.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [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 `molasses` [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] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "d8c9e4f9cc3b1c48d38f8033e684e6341fcf33ce6c22cc66efc09904c2030df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8c9e4f9cc3b1c48d38f8033e684e6341fcf33ce6c22cc66efc09904c2030df6", kill_on_drop: false }` [INFO] [stdout] d8c9e4f9cc3b1c48d38f8033e684e6341fcf33ce6c22cc66efc09904c2030df6