[INFO] cloning repository https://github.com/AnyTimeTraveler/errors_with_context
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnyTimeTraveler/errors_with_context" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnyTimeTraveler%2Ferrors_with_context", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnyTimeTraveler%2Ferrors_with_context'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 073bd1cb61cf2d1eb959b329303b4fad9be061cb
[INFO] testing AnyTimeTraveler/errors_with_context against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnyTimeTraveler%2Ferrors_with_context" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/AnyTimeTraveler/errors_with_context
[INFO] finished tweaking git repo https://github.com/AnyTimeTraveler/errors_with_context
[INFO] tweaked toml for git repo https://github.com/AnyTimeTraveler/errors_with_context written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AnyTimeTraveler/errors_with_context on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AnyTimeTraveler/errors_with_context 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638
[INFO] running `Command { std: "docker" "start" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling errors_with_context v1.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] running `Command { std: "docker" "inspect" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling errors_with_context v1.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.35s
[INFO] running `Command { std: "docker" "inspect" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/errors_with_context-05e0697d5e29af41)
[INFO] [stdout] running 4 tests
[INFO] [stderr]    Doc-tests errors_with_context
[INFO] [stdout] test tests::test_functions ... ok
[INFO] [stdout] test tests::test_result_multiple_reasons ... ok
[INFO] [stdout] test tests::test_option_single_reason ... ok
[INFO] [stdout] test tests::test_no_reason ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 23 tests
[INFO] [stdout] test src/lib.rs - (line 312) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 366) ... FAILED
[INFO] [stdout] test src/error_message.rs - error_message::ErrorMessage (line 14) ... ok
[INFO] [stdout] test src/lib.rs - (line 153) ... ok
[INFO] [stdout] test src/lib.rs - (line 340) ... ok
[INFO] [stdout] test src/lib.rs - (line 171) ... ok
[INFO] [stdout] test src/error_message.rs - error_message::ErrorMessage (line 6) ... ok
[INFO] [stdout] test src/error_message.rs - error_message::ErrorMessage::with_context (line 64) ... ok
[INFO] [stdout] test src/lib.rs - (line 297) ... FAILED
[INFO] [stdout] test src/error_message.rs - error_message::ErrorMessage::err (line 51) ... ok
[INFO] [stdout] test src/error_message.rs - error_message::ErrorMessage (line 23) ... ok
[INFO] [stdout] test src/lib.rs - (line 112) ... ok
[INFO] [stdout] test src/lib.rs - (line 77) ... ok
[INFO] [stdout] test src/error_message.rs - error_message::ErrorMessage::new (line 40) ... ok
[INFO] [stdout] test src/lib.rs - (line 93) ... ok
[INFO] [stdout] test src/lib.rs - (line 23) ... ok
[INFO] [stdout] test src/lib.rs - (line 181) ... ok
[INFO] [stdout] test src/lib.rs - WithContext::with_err_context (line 449) ... ok
[INFO] [stdout] test src/lib.rs - WithContext::with_dyn_err_context (line 489) ... ok
[INFO] [stdout] test src/lib.rs - (line 130) ... ok
[INFO] [stdout] test src/lib.rs - WithContext::with_dyn_err_context (line 468) ... ok
[INFO] [stdout] test src/lib.rs - WithContext::with_err_context (line 435) ... ok
[INFO] [stdout] test src/lib.rs - (line 161) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 312) stdout ----
[INFO] [stdout] error[E0599]: no method named `error_dyn_if_false` found for type `bool` in the current scope
[INFO] [stdout]    --> src/lib.rs:319:6
[INFO] [stdout]     |
[INFO] [stdout] 318 | / path.exists()
[INFO] [stdout] 319 | |     .error_dyn_if_false(|| format!("Expected file '{}' to exist!", path.display()))?;
[INFO] [stdout]     | |     -^^^^^^^^^^^^^^^^^^ method not found in `bool`
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 366) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `ErrorMessage: serde::ser::Serialize` is not satisfied
[INFO] [stdout]     --> src/lib.rs:377:41
[INFO] [stdout]      |
[INFO] [stdout]  377 | let json = serde_json::to_string_pretty(&message).unwrap();
[INFO] [stdout]      |            ---------------------------- ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `ErrorMessage`
[INFO] [stdout]      |            |
[INFO] [stdout]      |            required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ErrorMessage` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::ser::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 131 others
[INFO] [stdout] note: required by a bound in `to_string_pretty`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/ser.rs:2258:17
[INFO] [stdout]      |
[INFO] [stdout] 2256 | pub fn to_string_pretty<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        ---------------- required by a bound in this function
[INFO] [stdout] 2257 | where
[INFO] [stdout] 2258 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string_pretty`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 297) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `errors_with_context::BooleanErrors`
[INFO] [stdout]    --> src/lib.rs:300:27
[INFO] [stdout]     |
[INFO] [stdout] 300 | use errors_with_context::{BooleanErrors, ErrorMessage};
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ no `BooleanErrors` in the root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:510:18
[INFO] [stdout]     |
[INFO] [stdout] 509 | #[cfg(feature = "boolean_errors")]
[INFO] [stdout]     |       -------------------------- the item is gated behind the `boolean_errors` feature
[INFO] [stdout] 510 | pub use boolean::BooleanErrors;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `error_if_false` found for type `bool` in the current scope
[INFO] [stdout]    --> src/lib.rs:304:6
[INFO] [stdout]     |
[INFO] [stdout] 303 | / path.exists()
[INFO] [stdout] 304 | |     .error_if_false("Expected file to exist!")?;
[INFO] [stdout]     | |     -^^^^^^^^^^^^^^ method not found in `bool`
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 297)
[INFO] [stdout]     src/lib.rs - (line 312)
[INFO] [stdout]     src/lib.rs - (line 366)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 20 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.27s; merged doctests compilation took 0.19s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638", kill_on_drop: false }`
[INFO] [stdout] f9409fa43a72d28e44249ff6b6d94903b3400dcceaf2c03d468c494ebc06f638
