[INFO] fetching crate redactrs 0.1.4... [INFO] building redactrs-0.1.4 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate redactrs 0.1.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate redactrs 0.1.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate redactrs 0.1.4 [INFO] tweaked toml for crates.io crate redactrs 0.1.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate redactrs 0.1.4 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb1d2570792fc48c70cd83ea30f3f39a5719aea5efb64fe7ba795a3d5a9e9b95 [INFO] running `Command { std: "docker" "start" "-a" "eb1d2570792fc48c70cd83ea30f3f39a5719aea5efb64fe7ba795a3d5a9e9b95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb1d2570792fc48c70cd83ea30f3f39a5719aea5efb64fe7ba795a3d5a9e9b95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1d2570792fc48c70cd83ea30f3f39a5719aea5efb64fe7ba795a3d5a9e9b95", kill_on_drop: false }` [INFO] [stdout] eb1d2570792fc48c70cd83ea30f3f39a5719aea5efb64fe7ba795a3d5a9e9b95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a64a44c76e762a42693592766e5eb20bb9802e05f1b99f4c64297cf46cb5e17f [INFO] running `Command { std: "docker" "start" "-a" "a64a44c76e762a42693592766e5eb20bb9802e05f1b99f4c64297cf46cb5e17f", kill_on_drop: false }` [INFO] [stderr] Compiling redactrs v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "a64a44c76e762a42693592766e5eb20bb9802e05f1b99f4c64297cf46cb5e17f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64a44c76e762a42693592766e5eb20bb9802e05f1b99f4c64297cf46cb5e17f", kill_on_drop: false }` [INFO] [stdout] a64a44c76e762a42693592766e5eb20bb9802e05f1b99f4c64297cf46cb5e17f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eecce398b957f59aad30edd490ec2b0feeab4a2d243defdfca5321f2a7b00c9e [INFO] running `Command { std: "docker" "start" "-a" "eecce398b957f59aad30edd490ec2b0feeab4a2d243defdfca5321f2a7b00c9e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling redactrs v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `zeroize` [INFO] [stdout] --> tests/test_redacted.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use zeroize::Zeroize; [INFO] [stdout] | ^^^^^^^ function `zeroize` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `redactrs::serde` [INFO] [stdout] --> tests/test_redacted.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | use redactrs::serde::no_redact; [INFO] [stdout] | ^^^^^ could not find `serde` in `redactrs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(any(feature = "serde", doc))] [INFO] [stdout] | ------------------------ the item is gated here [INFO] [stdout] 63 | pub mod serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Redacted: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test_redacted.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | a: Redacted, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Redacted` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Redacted` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12 [INFO] [stdout] | [INFO] [stdout] 1769 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1770 | where [INFO] [stdout] 1771 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Redacted: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test_redacted.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `Redacted` [INFO] [stdout] 100 | struct MyData { [INFO] [stdout] 101 | a: Redacted, [INFO] [stdout] | ---------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Redacted` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 132 others [INFO] [stdout] note: required by a bound in `deserialize::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1917:21 [INFO] [stdout] | [INFO] [stdout] 1915 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1916 | where [INFO] [stdout] 1917 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Redacted: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test_redacted.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | a: Redacted, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Redacted` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Redacted` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12 [INFO] [stdout] | [INFO] [stdout] 1914 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1915 | where [INFO] [stdout] 1916 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Redacted: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test_redacted.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Redacted` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Redacted` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] note: required by a bound in `deserialize::_::_serde::__private228::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 25 | where [INFO] [stdout] 26 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `zeroize` found for struct `Redacted` in the current scope [INFO] [stdout] --> tests/test_redacted.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | x.zeroize(); [INFO] [stdout] | ^^^^^^^ method not found in `Redacted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redactrs` (test "test_redacted") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "eecce398b957f59aad30edd490ec2b0feeab4a2d243defdfca5321f2a7b00c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eecce398b957f59aad30edd490ec2b0feeab4a2d243defdfca5321f2a7b00c9e", kill_on_drop: false }` [INFO] [stdout] eecce398b957f59aad30edd490ec2b0feeab4a2d243defdfca5321f2a7b00c9e