[INFO] fetching crate expunge 0.3.5... [INFO] testing expunge-0.3.5 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate expunge 0.3.5 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate expunge 0.3.5 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 083e6e1a611fa362f37b39a9423f041ac7b01c66a8f292667b2501ec80a4db67 [INFO] running `Command { std: "docker" "start" "-a" "083e6e1a611fa362f37b39a9423f041ac7b01c66a8f292667b2501ec80a4db67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "083e6e1a611fa362f37b39a9423f041ac7b01c66a8f292667b2501ec80a4db67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "083e6e1a611fa362f37b39a9423f041ac7b01c66a8f292667b2501ec80a4db67", kill_on_drop: false }` [INFO] [stdout] 083e6e1a611fa362f37b39a9423f041ac7b01c66a8f292667b2501ec80a4db67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 852f3b479937846accf1962500385c76b8d1a407fd5a1bad1695cbd11d92683c [INFO] running `Command { std: "docker" "start" "-a" "852f3b479937846accf1962500385c76b8d1a407fd5a1bad1695cbd11d92683c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling expunge_derive v0.3.5 [INFO] [stderr] Compiling expunge v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.50s [INFO] running `Command { std: "docker" "inspect" "852f3b479937846accf1962500385c76b8d1a407fd5a1bad1695cbd11d92683c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "852f3b479937846accf1962500385c76b8d1a407fd5a1bad1695cbd11d92683c", kill_on_drop: false }` [INFO] [stdout] 852f3b479937846accf1962500385c76b8d1a407fd5a1bad1695cbd11d92683c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5152d314353691ff7715cd180dc09578257e7bc209d1945ef33370891dfb87f [INFO] running `Command { std: "docker" "start" "-a" "e5152d314353691ff7715cd180dc09578257e7bc209d1945ef33370891dfb87f", kill_on_drop: false }` [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling time v0.3.41 [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] Compiling expunge v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sha256 v1.6.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling slog-term v2.9.1 [INFO] [stderr] Compiling 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: 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: 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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `slog::Value` is not implemented for `it_derives_logging_with_slog::Location` [INFO] [stdout] --> tests/expunge.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct 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: there are multiple different versions of crate `expunge` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `slog::Value` is not implemented for `it_derives_logging_with_slog::Location` [INFO] [stdout] --> tests/expunge.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct 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: there are multiple different versions of crate `expunge` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `slog::Value` is not implemented for `it_derives_logging_with_slog::Location` [INFO] [stdout] --> tests/expunge.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct 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: there are multiple different versions of crate `expunge` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `SingleKV` to implement `KV` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `(SingleKV, ())` to implement `KV` [INFO] [stdout] = note: required for the cast from `&(SingleKV, ())` to `&dyn KV` [INFO] [stdout] = note: this error originates in the macro `b` 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]: `it_derives_logging_with_slog::Location` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / assert_eq!( [INFO] [stdout] 70 | | loc.clone().expunge(), [INFO] [stdout] 71 | | got.location, [INFO] [stdout] 72 | | "the slogged value should be expunged" [INFO] [stdout] 73 | | ); [INFO] [stdout] | |_____^ the trait `std::fmt::Debug` is not implemented for `it_derives_logging_with_slog::Location` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_derives_logging_with_slog::Location` or manually `impl std::fmt::Debug for it_derives_logging_with_slog::Location` [INFO] [stdout] help: consider annotating `it_derives_logging_with_slog::Location` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 45 + #[derive(Debug)] [INFO] [stdout] 46 | struct Location { [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `slog::Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/expunge.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum 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: there are multiple different versions of crate `expunge` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `slog::Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/expunge.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum 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: there are multiple different versions of crate `expunge` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | info!(logger, "it should log city"; "location" => city.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `slog::Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/expunge.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum 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: there are multiple different versions of crate `expunge` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `SingleKV` to implement `KV` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `(SingleKV, ())` to implement `KV` [INFO] [stdout] = note: required for the cast from `&(SingleKV, ())` to `&dyn KV` [INFO] [stdout] = note: this error originates in the macro `b` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `slog::Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/expunge.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum 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: there are multiple different versions of crate `expunge` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `slog::Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/expunge.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum 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: there are multiple different versions of crate `expunge` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `slog::Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/expunge.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum 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: there are multiple different versions of crate `expunge` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `SingleKV` to implement `KV` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `(SingleKV, ())` to implement `KV` [INFO] [stdout] = note: required for the cast from `&(SingleKV, ())` to `&dyn KV` [INFO] [stdout] = note: this error originates in the macro `b` 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 `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] --> 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[E0277]: `LocationType` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / assert_eq!( [INFO] [stdout] 122 | | city.clone().expunge(), [INFO] [stdout] 123 | | got.location, [INFO] [stdout] 124 | | "the slogged value for city should be expunged" [INFO] [stdout] 125 | | ); [INFO] [stdout] | |_____^ the trait `std::fmt::Debug` is not implemented for `LocationType` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `LocationType` or manually `impl std::fmt::Debug for LocationType` [INFO] [stdout] help: consider annotating `LocationType` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 85 + #[derive(Debug)] [INFO] [stdout] 86 | enum LocationType { [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] --> 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[E0277]: `LocationType` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / assert_eq!( [INFO] [stdout] 129 | | address.clone().expunge(), [INFO] [stdout] 130 | | got.location, [INFO] [stdout] 131 | | "the slogged value for address should be expunged" [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_____^ the trait `std::fmt::Debug` is not implemented for `LocationType` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `LocationType` or manually `impl std::fmt::Debug for LocationType` [INFO] [stdout] help: consider annotating `LocationType` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 85 + #[derive(Debug)] [INFO] [stdout] 86 | enum LocationType { [INFO] [stdout] | [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[E0277]: `it_works_enum::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | assert_eq!(SensitiveItem::Name("".to_string(), 1), expunged); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum::SensitiveItem` [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[E0277]: `it_works_enum::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(SensitiveItem::BankDetails { account_number: 0 }, expunged); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum::SensitiveItem` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/book/slog.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/book/slog.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum 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: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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/book/slog.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum 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 `KV` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `(SingleKV, ())` to implement `KV` [INFO] [stdout] = note: required for the cast from `&(SingleKV, ())` to `&dyn KV` [INFO] [stdout] = note: this error originates in the macro `b` 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]: `it_works_enum::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | assert_eq!(SensitiveItem::Location(Location::default()), expunged); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum::SensitiveItem` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/book/slog.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/book/slog.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Value` is not implemented for `LocationType` [INFO] [stdout] --> tests/book/slog.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum 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 `KV` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `(SingleKV, ())` to implement `KV` [INFO] [stdout] = note: required for the cast from `&(SingleKV, ())` to `&dyn KV` [INFO] [stdout] = note: this error originates in the macro `b` 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: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[E0277]: `it_works_enum::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | / assert_eq!( [INFO] [stdout] 393 | | SensitiveItem::Nested(SensitiveNested::Name("".to_string(), 1), 0), [INFO] [stdout] 394 | | expunged [INFO] [stdout] 395 | | ); [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum::SensitiveItem` [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]: `it_works_enum::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | / assert_eq!( [INFO] [stdout] 403 | | SensitiveItem::LocationHistory(vec![Location::default(), Location::default()],), [INFO] [stdout] 404 | | expunged [INFO] [stdout] 405 | | ); [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum::SensitiveItem` [INFO] [stdout] [INFO] [stdout] [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::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[E0277]: `it_works_enum::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | assert_eq!(SensitiveItem::Zeroizable(2147483647), expunged); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum::SensitiveItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `expunge` (test "lib") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0277]: `it_works_enum::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | assert_eq!(SensitiveItem::ZeroizableString("99".to_string()), expunged); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum::SensitiveItem` [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] [stdout] error[E0277]: `it_works_enum_all::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | assert_eq!(SensitiveItem::Name("".to_string(), 0), expunged); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum_all::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum_all::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum_all::SensitiveItem` [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: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[E0277]: `it_works_enum_all::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | assert_eq!(SensitiveItem::BankDetails { account_number: 0 }, expunged); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum_all::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum_all::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum_all::SensitiveItem` [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[E0277]: `it_works_enum_all::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 476 | assert_eq!(SensitiveItem::Location(Location::default()), expunged); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum_all::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum_all::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum_all::SensitiveItem` [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[E0277]: `it_works_enum_all::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | / assert_eq!( [INFO] [stdout] 481 | | SensitiveItem::Nested(SensitiveNested::Name("".to_string(), 1), 0), [INFO] [stdout] 482 | | expunged [INFO] [stdout] 483 | | ); [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum_all::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum_all::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum_all::SensitiveItem` [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[E0277]: `it_works_enum_all::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | / assert_eq!( [INFO] [stdout] 491 | | SensitiveItem::LocationHistory(vec![Location::default(), Location::default()],), [INFO] [stdout] 492 | | expunged [INFO] [stdout] 493 | | ); [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum_all::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum_all::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum_all::SensitiveItem` [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[E0277]: `it_works_enum_all::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | assert_eq!(SensitiveItem::Zeroizable(2147483647), expunged); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum_all::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum_all::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum_all::SensitiveItem` [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] error[E0277]: `it_works_enum_all::SensitiveItem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/expunge.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | assert_eq!(SensitiveItem::ZeroizableString("99".to_string()), expunged); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `it_works_enum_all::SensitiveItem` [INFO] [stdout] --> tests/expunge.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | enum SensitiveItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `it_works_enum_all::SensitiveItem` or manually `impl std::fmt::Debug for it_works_enum_all::SensitiveItem` [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 47 previous errors [INFO] running `Command { std: "docker" "inspect" "e5152d314353691ff7715cd180dc09578257e7bc209d1945ef33370891dfb87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5152d314353691ff7715cd180dc09578257e7bc209d1945ef33370891dfb87f", kill_on_drop: false }` [INFO] [stdout] e5152d314353691ff7715cd180dc09578257e7bc209d1945ef33370891dfb87f