[INFO] fetching crate expunge 0.3.5... [INFO] checking expunge-0.3.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate expunge 0.3.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate expunge 0.3.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate expunge 0.3.5 [INFO] tweaked toml for crates.io crate expunge 0.3.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate expunge 0.3.5 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] crate crates.io crate expunge 0.3.5 already has a lockfile, it will not be regenerated [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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-json v2.6.1 [INFO] [stderr] Downloaded expunge_derive v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] dc246c36d2d07bdf73441d8bda0d354a4213847765f572ed42d063c19abfa0ff [INFO] running `Command { std: "docker" "start" "-a" "dc246c36d2d07bdf73441d8bda0d354a4213847765f572ed42d063c19abfa0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc246c36d2d07bdf73441d8bda0d354a4213847765f572ed42d063c19abfa0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc246c36d2d07bdf73441d8bda0d354a4213847765f572ed42d063c19abfa0ff", kill_on_drop: false }` [INFO] [stdout] dc246c36d2d07bdf73441d8bda0d354a4213847765f572ed42d063c19abfa0ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e79e231821c756bbea345ce531bcb8f3d276498244b81510f084ee8e728f464c [INFO] running `Command { std: "docker" "start" "-a" "e79e231821c756bbea345ce531bcb8f3d276498244b81510f084ee8e728f464c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling expunge_derive v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking expunge v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking sha256 v1.6.0 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Checking slog-json v2.6.1 [INFO] [stdout] error: the `zeroize` feature must be enabled [INFO] [stdout] --> tests/expunge.rs:353:34 [INFO] [stdout] | [INFO] [stdout] 353 | #[expunge(as = i32::MAX, zeroize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `zeroize` feature must be enabled [INFO] [stdout] --> tests/expunge.rs:446:34 [INFO] [stdout] | [INFO] [stdout] 446 | #[expunge(as = i32::MAX, zeroize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `slog` feature must be enabled [INFO] [stdout] --> tests/expunge.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | #[expunge(slog)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `slog` feature must be enabled [INFO] [stdout] --> tests/expunge.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | #[expunge(slog)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `it_derives_logging_with_slog::Location: slog::Value` is not satisfied [INFO] [stdout] --> tests/expunge.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | info!(logger, "it should log"; "location" => loc.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `slog::Value` is not implemented for `it_derives_logging_with_slog::Location` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `slog::Value`: [INFO] [stdout] &'a V [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] Arguments<'a> [INFO] [stdout] Box [INFO] [stdout] ErrorValue [INFO] [stdout] FnValue [INFO] [stdout] PushFnValue [INFO] [stdout] and 24 others [INFO] [stdout] = note: required for `SingleKV` to implement `From<(&str, it_derives_logging_with_slog::Location)>` [INFO] [stdout] = note: this error originates in the macro `kv` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `it_derives_logging_with_slog::Location: slog::Value` is not satisfied [INFO] [stdout] --> tests/expunge.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | info!(logger, "it should log"; "location" => loc.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `slog::Value` is not implemented for `it_derives_logging_with_slog::Location` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `slog::Value`: [INFO] [stdout] &'a V [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] Arguments<'a> [INFO] [stdout] Box [INFO] [stdout] ErrorValue [INFO] [stdout] FnValue [INFO] [stdout] PushFnValue [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `SingleKV` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slog-2.7.0/src/lib.rs:3286:8 [INFO] [stdout] | [INFO] [stdout] 3284 | pub struct SingleKV(pub Key, pub V) [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 3285 | where [INFO] [stdout] 3286 | V: Value; [INFO] [stdout] | ^^^^^ required by this bound in `SingleKV` [INFO] [stdout] = note: this error originates in the macro `kv` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for struct `it_derives_logging_with_slog::Location` in the current scope [INFO] [stdout] --> tests/expunge.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 45 | struct Location { [INFO] [stdout] | --------------- method `expunge` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 70 | loc.clone().expunge(), [INFO] [stdout] | ^^^^^^^ method not found in `it_derives_logging_with_slog::Location` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 70 | loc.clone().city.expunge(), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LocationType: slog::Value` is not satisfied [INFO] [stdout] --> tests/expunge.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | info!(logger, "it should log city"; "location" => city.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `slog::Value` is not implemented for `LocationType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `slog::Value`: [INFO] [stdout] &'a V [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] Arguments<'a> [INFO] [stdout] Box [INFO] [stdout] ErrorValue [INFO] [stdout] FnValue [INFO] [stdout] PushFnValue [INFO] [stdout] and 24 others [INFO] [stdout] = note: required for `SingleKV` to implement `From<(&str, LocationType)>` [INFO] [stdout] = note: this error originates in the macro `kv` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LocationType: slog::Value` is not satisfied [INFO] [stdout] --> tests/expunge.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | info!(logger, "it should log city"; "location" => city.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `slog::Value` is not implemented for `LocationType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `slog::Value`: [INFO] [stdout] &'a V [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] Arguments<'a> [INFO] [stdout] Box [INFO] [stdout] ErrorValue [INFO] [stdout] FnValue [INFO] [stdout] PushFnValue [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `SingleKV` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slog-2.7.0/src/lib.rs:3286:8 [INFO] [stdout] | [INFO] [stdout] 3284 | pub struct SingleKV(pub Key, pub V) [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 3285 | where [INFO] [stdout] 3286 | V: Value; [INFO] [stdout] | ^^^^^ required by this bound in `SingleKV` [INFO] [stdout] = note: this error originates in the macro `kv` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LocationType: slog::Value` is not satisfied [INFO] [stdout] --> tests/expunge.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | info!(logger, "it should log address"; "location" => address.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `slog::Value` is not implemented for `LocationType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `slog::Value`: [INFO] [stdout] &'a V [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] Arguments<'a> [INFO] [stdout] Box [INFO] [stdout] ErrorValue [INFO] [stdout] FnValue [INFO] [stdout] PushFnValue [INFO] [stdout] and 24 others [INFO] [stdout] = note: required for `SingleKV` to implement `From<(&str, LocationType)>` [INFO] [stdout] = note: this error originates in the macro `kv` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LocationType: slog::Value` is not satisfied [INFO] [stdout] --> tests/expunge.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | info!(logger, "it should log address"; "location" => address.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `slog::Value` is not implemented for `LocationType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `slog::Value`: [INFO] [stdout] &'a V [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] Arguments<'a> [INFO] [stdout] Box [INFO] [stdout] ErrorValue [INFO] [stdout] FnValue [INFO] [stdout] PushFnValue [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `SingleKV` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slog-2.7.0/src/lib.rs:3286:8 [INFO] [stdout] | [INFO] [stdout] 3284 | pub struct SingleKV(pub Key, pub V) [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 3285 | where [INFO] [stdout] 3286 | V: Value; [INFO] [stdout] | ^^^^^ required by this bound in `SingleKV` [INFO] [stdout] = note: this error originates in the macro `kv` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `zeroize` feature must be enabled [INFO] [stdout] --> tests/book/field_zeroize.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | #[expunge(as = "".to_string(), zeroize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `LocationType` in the current scope [INFO] [stdout] --> tests/expunge.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 85 | enum LocationType { [INFO] [stdout] | ----------------- method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 122 | city.clone().expunge(), [INFO] [stdout] | ^^^^^^^ method not found in `LocationType` [INFO] [stdout] | [INFO] [stdout] note: the method `expunge` exists on the type `std::string::String` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn expunge(self) -> Self [INFO] [stdout] 35 | | where [INFO] [stdout] 36 | | Self: Sized; [INFO] [stdout] | |____________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `slog` feature must be enabled [INFO] [stdout] --> tests/book/slog.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[expunge(slog)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `LocationType` in the current scope [INFO] [stdout] --> tests/expunge.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 85 | enum LocationType { [INFO] [stdout] | ----------------- method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 129 | address.clone().expunge(), [INFO] [stdout] | ^^^^^^^ method not found in `LocationType` [INFO] [stdout] | [INFO] [stdout] note: the method `expunge` exists on the type `std::string::String` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn expunge(self) -> Self [INFO] [stdout] 35 | | where [INFO] [stdout] 36 | | Self: Sized; [INFO] [stdout] | |____________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 372 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:379:25 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 379 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:387:25 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 387 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:391:25 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 391 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 401 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LocationType: Value` is not satisfied [INFO] [stdout] --> tests/book/slog.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | info!(logger, "it should log city"; "location" => city); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Value` is not implemented for `LocationType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Value`: [INFO] [stdout] &'a V [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] Arguments<'a> [INFO] [stdout] Box [INFO] [stdout] ErrorValue [INFO] [stdout] FnValue [INFO] [stdout] PushFnValue [INFO] [stdout] and 24 others [INFO] [stdout] = note: required for `SingleKV` to implement `From<(&str, LocationType)>` [INFO] [stdout] = note: this error originates in the macro `kv` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LocationType: Value` is not satisfied [INFO] [stdout] --> tests/book/slog.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | info!(logger, "it should log city"; "location" => city); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Value` is not implemented for `LocationType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Value`: [INFO] [stdout] &'a V [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] Arguments<'a> [INFO] [stdout] Box [INFO] [stdout] ErrorValue [INFO] [stdout] FnValue [INFO] [stdout] PushFnValue [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `SingleKV` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slog-2.7.0/src/lib.rs:3286:8 [INFO] [stdout] | [INFO] [stdout] 3284 | pub struct SingleKV(pub Key, pub V) [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 3285 | where [INFO] [stdout] 3286 | V: Value; [INFO] [stdout] | ^^^^^ required by this bound in `SingleKV` [INFO] [stdout] = note: this error originates in the macro `kv` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LocationType: Value` is not satisfied [INFO] [stdout] --> tests/book/slog.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | info!(logger, "it should log address"; "location" => address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Value` is not implemented for `LocationType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Value`: [INFO] [stdout] &'a V [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] Arguments<'a> [INFO] [stdout] Box [INFO] [stdout] ErrorValue [INFO] [stdout] FnValue [INFO] [stdout] PushFnValue [INFO] [stdout] and 24 others [INFO] [stdout] = note: required for `SingleKV` to implement `From<(&str, LocationType)>` [INFO] [stdout] = note: this error originates in the macro `kv` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LocationType: Value` is not satisfied [INFO] [stdout] --> tests/book/slog.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | info!(logger, "it should log address"; "location" => address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Value` is not implemented for `LocationType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Value`: [INFO] [stdout] &'a V [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] Arguments<'a> [INFO] [stdout] Box [INFO] [stdout] ErrorValue [INFO] [stdout] FnValue [INFO] [stdout] PushFnValue [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `SingleKV` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slog-2.7.0/src/lib.rs:3286:8 [INFO] [stdout] | [INFO] [stdout] 3284 | pub struct SingleKV(pub Key, pub V) [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 3285 | where [INFO] [stdout] 3286 | V: Value; [INFO] [stdout] | ^^^^^ required by this bound in `SingleKV` [INFO] [stdout] = note: this error originates in the macro `kv` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:408:25 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 408 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 412 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum_all::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 460 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum_all::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `expunge` (test "lib") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum_all::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:467:25 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 467 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum_all::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum_all::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:475:25 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 475 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum_all::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum_all::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:479:25 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 479 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum_all::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum_all::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 489 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum_all::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum_all::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:496:25 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 496 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum_all::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expunge` found for enum `it_works_enum_all::SensitiveItem` in the current scope [INFO] [stdout] --> tests/expunge.rs:500:25 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ------------------ method `expunge` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 500 | let expunged = item.expunge(); [INFO] [stdout] | ^^^^^^^ method not found in `it_works_enum_all::SensitiveItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `expunge`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `expunge::Expunge` [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 `expunge` (test "expunge") due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "e79e231821c756bbea345ce531bcb8f3d276498244b81510f084ee8e728f464c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79e231821c756bbea345ce531bcb8f3d276498244b81510f084ee8e728f464c", kill_on_drop: false }` [INFO] [stdout] e79e231821c756bbea345ce531bcb8f3d276498244b81510f084ee8e728f464c