[INFO] fetching crate redactrs 0.1.4... [INFO] checking redactrs-0.1.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate redactrs 0.1.4 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate redactrs 0.1.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c1abadf596cf576ea34da91b8b964e439cfee1db4c13d487129dc92f0d010b7 [INFO] running `Command { std: "docker" "start" "-a" "8c1abadf596cf576ea34da91b8b964e439cfee1db4c13d487129dc92f0d010b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c1abadf596cf576ea34da91b8b964e439cfee1db4c13d487129dc92f0d010b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1abadf596cf576ea34da91b8b964e439cfee1db4c13d487129dc92f0d010b7", kill_on_drop: false }` [INFO] [stdout] 8c1abadf596cf576ea34da91b8b964e439cfee1db4c13d487129dc92f0d010b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7eef88aafde822bd8b306887077aaa21bc7f2ac0c9d91942028e23f95be53ad [INFO] running `Command { std: "docker" "start" "-a" "a7eef88aafde822bd8b306887077aaa21bc7f2ac0c9d91942028e23f95be53ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking redactrs v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [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: 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 134 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-1.0.219/src/ser/mod.rs:1866:21 [INFO] [stdout] | [INFO] [stdout] 1864 | 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] 1865 | where [INFO] [stdout] 1866 | 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: Deserialize<'_>` 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 144 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | 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: Deserialize<'_>` 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 144 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | 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: Deserialize<'_>` 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 144 others [INFO] [stdout] note: required by a bound in `deserialize::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | 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" "a7eef88aafde822bd8b306887077aaa21bc7f2ac0c9d91942028e23f95be53ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7eef88aafde822bd8b306887077aaa21bc7f2ac0c9d91942028e23f95be53ad", kill_on_drop: false }` [INFO] [stdout] a7eef88aafde822bd8b306887077aaa21bc7f2ac0c9d91942028e23f95be53ad