[INFO] fetching crate tink-core 0.1.0... [INFO] checking tink-core-0.1.0 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate tink-core 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate tink-core 0.1.0 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tink-core 0.1.0 [INFO] finished tweaking crates.io crate tink-core 0.1.0 [INFO] tweaked toml for crates.io crate tink-core 0.1.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66b1673e8e4641ea4ba728301e8a80b141eb650a0c8c05a9c2372c97822bcd61 [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" "66b1673e8e4641ea4ba728301e8a80b141eb650a0c8c05a9c2372c97822bcd61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66b1673e8e4641ea4ba728301e8a80b141eb650a0c8c05a9c2372c97822bcd61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b1673e8e4641ea4ba728301e8a80b141eb650a0c8c05a9c2372c97822bcd61", kill_on_drop: false }` [INFO] [stdout] 66b1673e8e4641ea4ba728301e8a80b141eb650a0c8c05a9c2372c97822bcd61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "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] 8ef3ea40ae1d98f17e56bd0d173820c2bbdf54e40360ac7417a7d2bea1b9876b [INFO] running `Command { std: "docker" "start" "-a" "8ef3ea40ae1d98f17e56bd0d173820c2bbdf54e40360ac7417a7d2bea1b9876b", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Checking prost v0.6.1 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Compiling tink-proto v0.1.1 [INFO] [stderr] Checking tink-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `Keyset: Message` is not satisfied [INFO] [stdout] --> src/keyset/binary_io.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | read::(&mut self.r) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Message` is not implemented for `Keyset` [INFO] [stdout] ... [INFO] [stdout] 48 | fn read(r: &mut dyn Read) -> Result [INFO] [stdout] | ---- required by a bound in this [INFO] [stdout] 49 | where [INFO] [stdout] 50 | T: prost::Message + std::default::Default, [INFO] [stdout] | -------------- required by this bound in `binary_io::read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncryptedKeyset: Message` is not satisfied [INFO] [stdout] --> src/keyset/binary_io.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | read::(&mut self.r) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Message` is not implemented for `EncryptedKeyset` [INFO] [stdout] ... [INFO] [stdout] 48 | fn read(r: &mut dyn Read) -> Result [INFO] [stdout] | ---- required by a bound in this [INFO] [stdout] 49 | where [INFO] [stdout] 50 | T: prost::Message + std::default::Default, [INFO] [stdout] | -------------- required by this bound in `binary_io::read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Keyset: Message` is not satisfied [INFO] [stdout] --> src/keyset/binary_io.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | write(&mut self.w, keyset) [INFO] [stdout] | ^^^^^^ the trait `Message` is not implemented for `Keyset` [INFO] [stdout] ... [INFO] [stdout] 85 | fn write(w: &mut dyn Write, msg: &T) -> Result<(), TinkError> [INFO] [stdout] | ----- required by a bound in this [INFO] [stdout] 86 | where [INFO] [stdout] 87 | T: prost::Message, [INFO] [stdout] | -------------- required by this bound in `binary_io::write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncryptedKeyset: Message` is not satisfied [INFO] [stdout] --> src/keyset/binary_io.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | write(&mut self.w, keyset) [INFO] [stdout] | ^^^^^^ the trait `Message` is not implemented for `EncryptedKeyset` [INFO] [stdout] ... [INFO] [stdout] 85 | fn write(w: &mut dyn Write, msg: &T) -> Result<(), TinkError> [INFO] [stdout] | ----- required by a bound in this [INFO] [stdout] 86 | where [INFO] [stdout] 87 | T: prost::Message, [INFO] [stdout] | -------------- required by this bound in `binary_io::write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `Keyset` in the current scope [INFO] [stdout] --> src/keyset/handle.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | Keyset::decode(&decrypted[..]).map_err(|_| TinkError::new("keyset::Handle:: invalid keyset")) [INFO] [stdout] | ^^^^^^ function or associated item not found in `Keyset` [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 prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&Keyset` in the current scope [INFO] [stdout] --> src/keyset/handle.rs:287:10 [INFO] [stdout] | [INFO] [stdout] 287 | .encode(&mut serialized_keyset) [INFO] [stdout] | ^^^^^^ method not found in `&Keyset` [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 prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/keyset/handle.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning 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 `tink-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] [stdout] error[E0277]: the trait bound `Keyset: Message` is not satisfied [INFO] [stdout] --> src/keyset/binary_io.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | read::(&mut self.r) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Message` is not implemented for `Keyset` [INFO] [stdout] ... [INFO] [stdout] 48 | fn read(r: &mut dyn Read) -> Result [INFO] [stdout] | ---- required by a bound in this [INFO] [stdout] 49 | where [INFO] [stdout] 50 | T: prost::Message + std::default::Default, [INFO] [stdout] | -------------- required by this bound in `binary_io::read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncryptedKeyset: Message` is not satisfied [INFO] [stdout] --> src/keyset/binary_io.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | read::(&mut self.r) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Message` is not implemented for `EncryptedKeyset` [INFO] [stdout] ... [INFO] [stdout] 48 | fn read(r: &mut dyn Read) -> Result [INFO] [stdout] | ---- required by a bound in this [INFO] [stdout] 49 | where [INFO] [stdout] 50 | T: prost::Message + std::default::Default, [INFO] [stdout] | -------------- required by this bound in `binary_io::read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Keyset: Message` is not satisfied [INFO] [stdout] --> src/keyset/binary_io.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | write(&mut self.w, keyset) [INFO] [stdout] | ^^^^^^ the trait `Message` is not implemented for `Keyset` [INFO] [stdout] ... [INFO] [stdout] 85 | fn write(w: &mut dyn Write, msg: &T) -> Result<(), TinkError> [INFO] [stdout] | ----- required by a bound in this [INFO] [stdout] 86 | where [INFO] [stdout] 87 | T: prost::Message, [INFO] [stdout] | -------------- required by this bound in `binary_io::write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncryptedKeyset: Message` is not satisfied [INFO] [stdout] --> src/keyset/binary_io.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | write(&mut self.w, keyset) [INFO] [stdout] | ^^^^^^ the trait `Message` is not implemented for `EncryptedKeyset` [INFO] [stdout] ... [INFO] [stdout] 85 | fn write(w: &mut dyn Write, msg: &T) -> Result<(), TinkError> [INFO] [stdout] | ----- required by a bound in this [INFO] [stdout] 86 | where [INFO] [stdout] 87 | T: prost::Message, [INFO] [stdout] | -------------- required by this bound in `binary_io::write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `Keyset` in the current scope [INFO] [stdout] --> src/keyset/handle.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | Keyset::decode(&decrypted[..]).map_err(|_| TinkError::new("keyset::Handle:: invalid keyset")) [INFO] [stdout] | ^^^^^^ function or associated item not found in `Keyset` [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 prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&Keyset` in the current scope [INFO] [stdout] --> src/keyset/handle.rs:287:10 [INFO] [stdout] | [INFO] [stdout] 287 | .encode(&mut serialized_keyset) [INFO] [stdout] | ^^^^^^ method not found in `&Keyset` [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 prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/keyset/handle.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning 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" "8ef3ea40ae1d98f17e56bd0d173820c2bbdf54e40360ac7417a7d2bea1b9876b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef3ea40ae1d98f17e56bd0d173820c2bbdf54e40360ac7417a7d2bea1b9876b", kill_on_drop: false }` [INFO] [stdout] 8ef3ea40ae1d98f17e56bd0d173820c2bbdf54e40360ac7417a7d2bea1b9876b