[INFO] fetching crate hb_macros 0.1.3...
[INFO] testing hb_macros-0.1.3 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate hb_macros 0.1.3 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate hb_macros 0.1.3
[INFO] finished tweaking crates.io crate hb_macros 0.1.3
[INFO] tweaked toml for crates.io crate hb_macros 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate hb_macros 0.1.3 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 4 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.114)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bc0a0f48191c3701075508e5074a784fa0eef5c82320ee29a88cef6e7810066d
[INFO] running `Command { std: "docker" "start" "-a" "bc0a0f48191c3701075508e5074a784fa0eef5c82320ee29a88cef6e7810066d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc0a0f48191c3701075508e5074a784fa0eef5c82320ee29a88cef6e7810066d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc0a0f48191c3701075508e5074a784fa0eef5c82320ee29a88cef6e7810066d", kill_on_drop: false }`
[INFO] [stdout] bc0a0f48191c3701075508e5074a784fa0eef5c82320ee29a88cef6e7810066d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0a33f344212aceec68761a91818f074d10809405021a80e4dbf773035c7d51f
[INFO] running `Command { std: "docker" "start" "-a" "d0a33f344212aceec68761a91818f074d10809405021a80e4dbf773035c7d51f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hb_macros v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.42s
[INFO] running `Command { std: "docker" "inspect" "d0a33f344212aceec68761a91818f074d10809405021a80e4dbf773035c7d51f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0a33f344212aceec68761a91818f074d10809405021a80e4dbf773035c7d51f", kill_on_drop: false }`
[INFO] [stdout] d0a33f344212aceec68761a91818f074d10809405021a80e4dbf773035c7d51f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4507459202f7c3c048b7da7ca62c0e36bb6e0c5d26ac2896b3c42eebc3931624
[INFO] running `Command { std: "docker" "start" "-a" "4507459202f7c3c048b7da7ca62c0e36bb6e0c5d26ac2896b3c42eebc3931624", kill_on_drop: false }`
[INFO] [stderr]    Compiling hb_macros v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.88s
[INFO] running `Command { std: "docker" "inspect" "4507459202f7c3c048b7da7ca62c0e36bb6e0c5d26ac2896b3c42eebc3931624", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4507459202f7c3c048b7da7ca62c0e36bb6e0c5d26ac2896b3c42eebc3931624", kill_on_drop: false }`
[INFO] [stdout] 4507459202f7c3c048b7da7ca62c0e36bb6e0c5d26ac2896b3c42eebc3931624
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9a495bcadbc07128f2c3d831274b76e939c3ee929888c39d730cb7a9d9bf6690
[INFO] running `Command { std: "docker" "start" "-a" "9a495bcadbc07128f2c3d831274b76e939c3ee929888c39d730cb7a9d9bf6690", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hb_macros-1c9de732781d28be)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests hb_macros
[INFO] [stdout] 
[INFO] [stdout] running 17 tests
[INFO] [stdout] test src/lib.rs - hberror (line 386) ... FAILED
[INFO] [stdout] test src/lib.rs - context (line 130) ... FAILED
[INFO] [stdout] test src/lib.rs - context (line 167) ... FAILED
[INFO] [stdout] test src/lib.rs - convert_error (line 348) ... FAILED
[INFO] [stdout] test src/lib.rs - convert_error (line 337) ... FAILED
[INFO] [stdout] test src/lib.rs - hberror (line 448) ... FAILED
[INFO] [stdout] test src/lib.rs - context (line 171) ... FAILED
[INFO] [stdout] test src/lib.rs - context (line 141) ... FAILED
[INFO] [stdout] test src/lib.rs - context (line 137) ... FAILED
[INFO] [stdout] test src/lib.rs - hberror (line 394) ... FAILED
[INFO] [stdout] test src/lib.rs - context (line 183) ... FAILED
[INFO] [stdout] test src/lib.rs - context (line 147) ... FAILED
[INFO] [stdout] test src/lib.rs - hberror (line 508) ... FAILED
[INFO] [stdout] test src/lib.rs - context (line 179) ... FAILED
[INFO] [stdout] test src/lib.rs - context (line 153) ... FAILED
[INFO] [stdout] test src/lib.rs - hberror (line 500) ... FAILED
[INFO] [stdout] test src/lib.rs - hberror (line 440) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - hberror (line 386) stdout ----
[INFO] [stdout] error: cannot find attribute `hberror` in this scope
[INFO] [stdout]    --> src/lib.rs:387:3
[INFO] [stdout]     |
[INFO] [stdout] 387 | #[hberror]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 386 + use hb_macros::hberror;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - context (line 130) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/lib.rs:132:54
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn find_msg(msg: String) -> Result<bool, FindError> {...}
[INFO] [stdout]     |                                                      ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 132 - fn find_msg(msg: String) -> Result<bool, FindError> {...}
[INFO] [stdout] 132 + fn find_msg(msg: String) -> Result<bool, FindError> {..}
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 132 - fn find_msg(msg: String) -> Result<bool, FindError> {...}
[INFO] [stdout] 132 + fn find_msg(msg: String) -> Result<bool, FindError> {..=}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/lib.rs:132:54
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn find_msg(msg: String) -> Result<bool, FindError> {...}
[INFO] [stdout]     |                                                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 132 - fn find_msg(msg: String) -> Result<bool, FindError> {...}
[INFO] [stdout] 132 + fn find_msg(msg: String) -> Result<bool, FindError> {..}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `context` in this scope
[INFO] [stdout]    --> src/lib.rs:131:3
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[context("could not find message {msg}")]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 130 + use hb_macros::context;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `FindError` in this scope
[INFO] [stdout]    --> src/lib.rs:132:42
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn find_msg(msg: String) -> Result<bool, FindError> {...}
[INFO] [stdout]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn find_msg<FindError>(msg: String) -> Result<bool, FindError> {...}
[INFO] [stdout]     |            +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - context (line 167) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `example_error` in this scope
[INFO] [stdout]    --> src/lib.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 | let a = example_error()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - convert_error (line 348) stdout ----
[INFO] [stdout] error: expected `{`, found `,`
[INFO] [stdout]    --> src/lib.rs:353:44
[INFO] [stdout]     |
[INFO] [stdout] 353 |         if hb_error::ConvertInto::Result<(), ExampleError>::convert(io_error())? {
[INFO] [stdout]     |                                            ^ expected `{`
[INFO] [stdout]     |
[INFO] [stdout] note: the `if` expression is missing a block after this condition
[INFO] [stdout]    --> src/lib.rs:353:12
[INFO] [stdout]     |
[INFO] [stdout] 353 |         if hb_error::ConvertInto::Result<(), ExampleError>::convert(io_error())? {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ExampleError` in this scope
[INFO] [stdout]    --> src/lib.rs:349:39
[INFO] [stdout]     |
[INFO] [stdout] 349 | fn basic_exampleerror() -> Result<(), ExampleError> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 349 | fn basic_exampleerror<ExampleError>() -> Result<(), ExampleError> {
[INFO] [stdout]     |                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ExampleError` in this scope
[INFO] [stdout]    --> src/lib.rs:351:25
[INFO] [stdout]     |
[INFO] [stdout] 351 |     let ret: Result<(), ExampleError> = {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 349 | fn basic_exampleerror<ExampleError>() -> Result<(), ExampleError> {
[INFO] [stdout]     |                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - convert_error (line 337) stdout ----
[INFO] [stdout] error: cannot find attribute `convert_error` in this scope
[INFO] [stdout]    --> src/lib.rs:338:3
[INFO] [stdout]     |
[INFO] [stdout] 338 | #[convert_error]
[INFO] [stdout]     |   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 337 + use hb_macros::convert_error;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ExampleError` in this scope
[INFO] [stdout]    --> src/lib.rs:339:39
[INFO] [stdout]     |
[INFO] [stdout] 339 | fn basic_exampleerror() -> Result<(), ExampleError> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 339 | fn basic_exampleerror<ExampleError>() -> Result<(), ExampleError> {
[INFO] [stdout]     |                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `io_error` in this scope
[INFO] [stdout]    --> src/lib.rs:340:8
[INFO] [stdout]     |
[INFO] [stdout] 340 |     if io_error()? {
[INFO] [stdout]     |        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `example_error` in this scope
[INFO] [stdout]    --> src/lib.rs:341:16
[INFO] [stdout]     |
[INFO] [stdout] 341 |         return example_error().map_err(|e| e.msg("msgs are great"));
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:341:41
[INFO] [stdout]     |
[INFO] [stdout] 341 |         return example_error().map_err(|e| e.msg("msgs are great"));
[INFO] [stdout]     |                                         ^  - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 341 |         return example_error().map_err(|e: /* Type */| e.msg("msgs are great"));
[INFO] [stdout]     |                                          ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `example_error` in this scope
[INFO] [stdout]    --> src/lib.rs:343:5
[INFO] [stdout]     |
[INFO] [stdout] 343 |     example_error()
[INFO] [stdout]     |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - hberror (line 448) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `default`
[INFO] [stdout]    --> src/lib.rs:458:18
[INFO] [stdout]     |
[INFO] [stdout] 458 |             msg: default::Default(),
[INFO] [stdout]     |                  ^^^^^^^ use of unresolved module or unlinked crate `default`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `default`, use `cargo add default` to add it to your `Cargo.toml`
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 458 -             msg: default::Default(),
[INFO] [stdout] 458 +             msg: Default::Default(),
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 448 + use std::default;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `default`
[INFO] [stdout]    --> src/lib.rs:459:25
[INFO] [stdout]     |
[INFO] [stdout] 459 |             inner_msgs: default::Default(),
[INFO] [stdout]     |                         ^^^^^^^ use of unresolved module or unlinked crate `default`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `default`, use `cargo add default` to add it to your `Cargo.toml`
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 459 -             inner_msgs: default::Default(),
[INFO] [stdout] 459 +             inner_msgs: Default::Default(),
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 448 + use std::default;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ErrorContext` in this scope
[INFO] [stdout]    --> src/lib.rs:465:6
[INFO] [stdout]     |
[INFO] [stdout] 465 | impl ErrorContext for ExampleError {
[INFO] [stdout]     |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - context (line 171) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `example_error` in this scope
[INFO] [stdout]    --> src/lib.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 | let a = example_error().make_inner().msg("some context message")?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - context (line 141) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hb_error`
[INFO] [stdout]    --> src/lib.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout] 142 | return hb_error::ConvertInto::<Result<(), ExampleError>>::convert(example_error()).map_err(|e| e.msg("some context message"));
[INFO] [stdout]     |        ^^^^^^^^ use of unresolved module or unlinked crate `hb_error`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `hb_error`, use `cargo add hb_error` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ExampleError` in this scope
[INFO] [stdout]    --> src/lib.rs:142:43
[INFO] [stdout]     |
[INFO] [stdout] 142 | return hb_error::ConvertInto::<Result<(), ExampleError>>::convert(example_error()).map_err(|e| e.msg("some context message"));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_141_0<ExampleError>() {
[INFO] [stdout]     |                                                                       ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `example_error` in this scope
[INFO] [stdout]    --> src/lib.rs:142:67
[INFO] [stdout]     |
[INFO] [stdout] 142 | return hb_error::ConvertInto::<Result<(), ExampleError>>::convert(example_error()).map_err(|e| e.msg("some context message"));
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:142:93
[INFO] [stdout]     |
[INFO] [stdout] 142 | return hb_error::ConvertInto::<Result<(), ExampleError>>::convert(example_error()).map_err(|e| e.msg("some context message"));
[INFO] [stdout]     |                                                                                             ^  - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 142 | return hb_error::ConvertInto::<Result<(), ExampleError>>::convert(example_error()).map_err(|e: /* Type */| e.msg("some context message"));
[INFO] [stdout]     |                                                                                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - context (line 137) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `example_error` in this scope
[INFO] [stdout]    --> src/lib.rs:138:8
[INFO] [stdout]     |
[INFO] [stdout] 138 | return example_error();
[INFO] [stdout]     |        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - hberror (line 394) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `default`
[INFO] [stdout]    --> src/lib.rs:403:18
[INFO] [stdout]     |
[INFO] [stdout] 403 |             msg: default::Default(),
[INFO] [stdout]     |                  ^^^^^^^ use of unresolved module or unlinked crate `default`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `default`, use `cargo add default` to add it to your `Cargo.toml`
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 403 -             msg: default::Default(),
[INFO] [stdout] 403 +             msg: Default::Default(),
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 394 + use std::default;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `default`
[INFO] [stdout]    --> src/lib.rs:404:25
[INFO] [stdout]     |
[INFO] [stdout] 404 |             inner_msgs: default::Default(),
[INFO] [stdout]     |                         ^^^^^^^ use of unresolved module or unlinked crate `default`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `default`, use `cargo add default` to add it to your `Cargo.toml`
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 404 -             inner_msgs: default::Default(),
[INFO] [stdout] 404 +             inner_msgs: Default::Default(),
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 394 + use std::default;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ErrorContext` in this scope
[INFO] [stdout]    --> src/lib.rs:409:6
[INFO] [stdout]     |
[INFO] [stdout] 409 | impl ErrorContext for ExampleError {
[INFO] [stdout]     |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - context (line 183) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `ExampleError` in this scope
[INFO] [stdout]    --> src/lib.rs:184:38
[INFO] [stdout]     |
[INFO] [stdout] 184 | type HbErrorContextType = Result<(), ExampleError>;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 184 | type HbErrorContextType<ExampleError> = Result<(), ExampleError>;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - context (line 147) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `ExampleError` in this scope
[INFO] [stdout]    --> src/lib.rs:148:30
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn something() -> Result<(), ExampleError> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn something<ExampleError>() -> Result<(), ExampleError> {
[INFO] [stdout]     |             ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `example_error` in this scope
[INFO] [stdout]    --> src/lib.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |     example_error
[INFO] [stdout]     |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - hberror (line 508) stdout ----
[INFO] [stdout] error: format argument must be a string literal
[INFO] [stdout]    --> src/lib.rs:569:80
[INFO] [stdout]     |
[INFO] [stdout] 569 |             ExampleErrorSource::IOError(e) => write!("\n...Source Error...{}", e)
[INFO] [stdout]     |                                                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a string literal to format with
[INFO] [stdout]     |
[INFO] [stdout] 569 |             ExampleErrorSource::IOError(e) => write!("\n...Source Error...{}", "{}", e)
[INFO] [stdout]     |                                                                                +++++
[INFO] [stdout] 
[INFO] [stdout] error: format argument must be a string literal
[INFO] [stdout]    --> src/lib.rs:578:80
[INFO] [stdout]     |
[INFO] [stdout] 578 |             ExampleErrorSource::IOError(e) => write!("\n...Source Error...{}", e)
[INFO] [stdout]     |                                                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a string literal to format with
[INFO] [stdout]     |
[INFO] [stdout] 578 |             ExampleErrorSource::IOError(e) => write!("\n...Source Error...{}", "{}", e)
[INFO] [stdout]     |                                                                                +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `default::Default`
[INFO] [stdout]    --> src/lib.rs:519:18
[INFO] [stdout]     |
[INFO] [stdout] 519 |             msg: default::Default(),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ not a function, tuple struct or tuple variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 508 + use syn::ReturnType::Default;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Default`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 519 -             msg: default::Default(),
[INFO] [stdout] 519 +             msg: Default(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `default::Default`
[INFO] [stdout]    --> src/lib.rs:520:25
[INFO] [stdout]     |
[INFO] [stdout] 520 |             inner_msgs: default::Default(),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ not a function, tuple struct or tuple variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 508 + use syn::ReturnType::Default;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Default`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 520 -             inner_msgs: default::Default(),
[INFO] [stdout] 520 +             inner_msgs: Default(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `default::Default`
[INFO] [stdout]    --> src/lib.rs:521:21
[INFO] [stdout]     |
[INFO] [stdout] 521 |             source: default::Default(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ not a function, tuple struct or tuple variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 508 + use syn::ReturnType::Default;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Default`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 521 -             source: default::Default(),
[INFO] [stdout] 521 +             source: Default(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ErrorContext` in this scope
[INFO] [stdout]    --> src/lib.rs:531:6
[INFO] [stdout]     |
[INFO] [stdout] 531 | impl ErrorContext for ExampleError {
[INFO] [stdout]     |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - context (line 179) stdout ----
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | Ok(())
[INFO] [stdout]     | ^^ cannot infer type of the type parameter `E` declared on the enum `Result`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic arguments
[INFO] [stdout]     |
[INFO] [stdout] 180 | Ok::<(), E>(())
[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 E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - context (line 153) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `ExampleError` in this scope
[INFO] [stdout]    --> src/lib.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn something() -> Result<(), ExampleError> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn something<ExampleError>() -> Result<(), ExampleError> {
[INFO] [stdout]     |             ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ExampleError` in this scope
[INFO] [stdout]    --> src/lib.rs:156:25
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let ret: Result<(), ExampleError> = {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn something<ExampleError>() -> Result<(), ExampleError> {
[INFO] [stdout]     |             ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `example_error` in this scope
[INFO] [stdout]    --> src/lib.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |         example_error
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:161:18
[INFO] [stdout]     |
[INFO] [stdout] 161 |     ret.map_err(|er| er.make_inner().msg("Some context message."))
[INFO] [stdout]     |                  ^^  -- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 161 |     ret.map_err(|er: /* Type */| er.make_inner().msg("Some context message."))
[INFO] [stdout]     |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - hberror (line 500) stdout ----
[INFO] [stdout] error: cannot find attribute `hberror` in this scope
[INFO] [stdout]    --> src/lib.rs:501:3
[INFO] [stdout]     |
[INFO] [stdout] 501 | #[hberror]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 500 + use hb_macros::hberror;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `Source` in this scope
[INFO] [stdout]    --> src/lib.rs:503:7
[INFO] [stdout]     |
[INFO] [stdout] 503 |     #[Source]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - hberror (line 440) stdout ----
[INFO] [stdout] error: expected attribute, found derive macro `Default`
[INFO] [stdout]    --> src/lib.rs:443:7
[INFO] [stdout]     |
[INFO] [stdout] 443 |     #[Default(10)]
[INFO] [stdout]     |       ^^^^^^^ not an attribute
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `hberror` in this scope
[INFO] [stdout]    --> src/lib.rs:441:3
[INFO] [stdout]     |
[INFO] [stdout] 441 | #[hberror("{self.custom_field}:{self.msg}{self.inner_msgs.join(\"\n...due to...\")}")]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 440 + use hb_macros::hberror;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - context (line 130)
[INFO] [stdout]     src/lib.rs - context (line 137)
[INFO] [stdout]     src/lib.rs - context (line 141)
[INFO] [stdout]     src/lib.rs - context (line 147)
[INFO] [stdout]     src/lib.rs - context (line 153)
[INFO] [stdout]     src/lib.rs - context (line 167)
[INFO] [stdout]     src/lib.rs - context (line 171)
[INFO] [stdout]     src/lib.rs - context (line 179)
[INFO] [stdout]     src/lib.rs - context (line 183)
[INFO] [stdout]     src/lib.rs - convert_error (line 337)
[INFO] [stdout]     src/lib.rs - convert_error (line 348)
[INFO] [stdout]     src/lib.rs - hberror (line 386)
[INFO] [stdout]     src/lib.rs - hberror (line 394)
[INFO] [stdout]     src/lib.rs - hberror (line 440)
[INFO] [stdout]     src/lib.rs - hberror (line 448)
[INFO] [stdout]     src/lib.rs - hberror (line 500)
[INFO] [stdout]     src/lib.rs - hberror (line 508)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9a495bcadbc07128f2c3d831274b76e939c3ee929888c39d730cb7a9d9bf6690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a495bcadbc07128f2c3d831274b76e939c3ee929888c39d730cb7a9d9bf6690", kill_on_drop: false }`
[INFO] [stdout] 9a495bcadbc07128f2c3d831274b76e939c3ee929888c39d730cb7a9d9bf6690
