[INFO] fetching crate tink-core 0.1.0... [INFO] checking tink-core-0.1.0 against master#a836d9b6413d9d593be6c09463ff8c4c70e56599 for pr-84037 [INFO] extracting crate tink-core 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate tink-core 0.1.0 on toolchain a836d9b6413d9d593be6c09463ff8c4c70e56599 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b4da8684c8c21371055b0c1cd7a62c68d3a06ac79848688d2bc39dfa315d070 [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" "4b4da8684c8c21371055b0c1cd7a62c68d3a06ac79848688d2bc39dfa315d070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b4da8684c8c21371055b0c1cd7a62c68d3a06ac79848688d2bc39dfa315d070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b4da8684c8c21371055b0c1cd7a62c68d3a06ac79848688d2bc39dfa315d070", kill_on_drop: false }` [INFO] [stdout] 4b4da8684c8c21371055b0c1cd7a62c68d3a06ac79848688d2bc39dfa315d070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "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] 6b45f89f3e7193d6f5acff675cff8a0ea1ca2c45d5e6136669482f9c9d276bc6 [INFO] running `Command { std: "docker" "start" "-a" "6b45f89f3e7193d6f5acff675cff8a0ea1ca2c45d5e6136669482f9c9d276bc6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Checking prost v0.6.1 [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: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 `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[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 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] 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] 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" "6b45f89f3e7193d6f5acff675cff8a0ea1ca2c45d5e6136669482f9c9d276bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b45f89f3e7193d6f5acff675cff8a0ea1ca2c45d5e6136669482f9c9d276bc6", kill_on_drop: false }` [INFO] [stdout] 6b45f89f3e7193d6f5acff675cff8a0ea1ca2c45d5e6136669482f9c9d276bc6