[INFO] fetching crate utils-results 1.1.0... [INFO] testing utils-results-1.1.0 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate utils-results 1.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate utils-results 1.1.0 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate utils-results 1.1.0 [INFO] finished tweaking crates.io crate utils-results 1.1.0 [INFO] tweaked toml for crates.io crate utils-results 1.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bfd7d8b3bebe9ba74888c130b6215fdcd6fa4395af0742f4cd571de00730df5 [INFO] running `Command { std: "docker" "start" "-a" "0bfd7d8b3bebe9ba74888c130b6215fdcd6fa4395af0742f4cd571de00730df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bfd7d8b3bebe9ba74888c130b6215fdcd6fa4395af0742f4cd571de00730df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bfd7d8b3bebe9ba74888c130b6215fdcd6fa4395af0742f4cd571de00730df5", kill_on_drop: false }` [INFO] [stdout] 0bfd7d8b3bebe9ba74888c130b6215fdcd6fa4395af0742f4cd571de00730df5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e467c94abc22255205277f6b6333cefb76c5a285445519879df7cc953de30e0b [INFO] running `Command { std: "docker" "start" "-a" "e467c94abc22255205277f6b6333cefb76c5a285445519879df7cc953de30e0b", kill_on_drop: false }` [INFO] [stderr] Compiling utils-results v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "e467c94abc22255205277f6b6333cefb76c5a285445519879df7cc953de30e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e467c94abc22255205277f6b6333cefb76c5a285445519879df7cc953de30e0b", kill_on_drop: false }` [INFO] [stdout] e467c94abc22255205277f6b6333cefb76c5a285445519879df7cc953de30e0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6373e1d8eda2ded7ed9593da90d2939dde7044f473ea67455056dade3a8bb60 [INFO] running `Command { std: "docker" "start" "-a" "d6373e1d8eda2ded7ed9593da90d2939dde7044f473ea67455056dade3a8bb60", kill_on_drop: false }` [INFO] [stderr] Compiling utils-results v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "d6373e1d8eda2ded7ed9593da90d2939dde7044f473ea67455056dade3a8bb60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6373e1d8eda2ded7ed9593da90d2939dde7044f473ea67455056dade3a8bb60", kill_on_drop: false }` [INFO] [stdout] d6373e1d8eda2ded7ed9593da90d2939dde7044f473ea67455056dade3a8bb60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc791f9bf55e5818c78f5f31d790a9f02cdba4ff295286e02a96e5e85a2bb177 [INFO] running `Command { std: "docker" "start" "-a" "cc791f9bf55e5818c78f5f31d790a9f02cdba4ff295286e02a96e5e85a2bb177", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/utils_results-7082810e0849c000) [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 utils-results [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/macros/errbang.rs - errbang (line 40) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) - compile ... FAILED [INFO] [stdout] test src/macros/errbang.rs - err (line 121) - compile ... FAILED [INFO] [stdout] test src/macros/errbang.rs - fn_handle_io_error (line 176) - compile ... FAILED [INFO] [stdout] test src/macros/results.rs - resultcast (line 7) - compile ... FAILED [INFO] [stdout] test src/macros/errbang.rs - macros::errbang (line 8) - compile ... FAILED [INFO] [stdout] test src/macros/errbang.rs - errbangsend (line 53) - compile ... FAILED [INFO] [stdout] test src/macros/errbang.rs - errcast (line 67) - compile ... FAILED [INFO] [stdout] test src/macros/errbang.rs - macros::errbang (line 20) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) - compile ... FAILED [INFO] [stdout] test src/macros/errbang.rs - errextract (line 101) - compile ... FAILED [INFO] [stdout] test src/macros/errbang.rs - macros::errbang (line 24) - compile ... FAILED [INFO] [stdout] test src/macros/errbang.rs - errmatch (line 81) - compile ... FAILED [INFO] [stdout] test src/macros/errbang.rs - fn_handle_io_error (line 184) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macros/errbang.rs - errbang (line 40) stdout ---- [INFO] [stdout] error: cannot find macro `errbang` in this scope [INFO] [stdout] --> src/macros/errbang.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 5 | errbang!(err::MyError3, "{} is {}", "bar", 2); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbang [INFO] [stdout] [INFO] [stdout] error: cannot find macro `errbang` in this scope [INFO] [stdout] --> src/macros/errbang.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 4 | errbang!(err::MyError2, "cannot find."); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbang [INFO] [stdout] [INFO] [stdout] error: cannot find macro `errbang` in this scope [INFO] [stdout] --> src/macros/errbang.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 3 | errbang!(err::MyError1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbang [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error: cannot find macro `errbang` in this scope [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 3 | errbang!(err:BrokenHeader); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbang [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error: cannot find macro `err` in this scope [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 3 | err! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::err [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/errbang.rs - err (line 121) stdout ---- [INFO] [stdout] error: cannot find macro `errbang` in this scope [INFO] [stdout] --> src/macros/errbang.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 13 | errbang!(err::BrokenHeader); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbang [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err` in this scope [INFO] [stdout] --> src/macros/errbang.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 3 | err! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::err [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/errbang.rs - fn_handle_io_error (line 176) stdout ---- [INFO] [stdout] error: cannot find macro `fn_handle_io_error` in this scope [INFO] [stdout] --> src/macros/errbang.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn_handle_io_error! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::fn_handle_io_error [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/results.rs - resultcast (line 7) stdout ---- [INFO] [stdout] error: cannot find macro `resultcast` in this scope [INFO] [stdout] --> src/macros/results.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 3 | resultcast!(errbangsend!(err::UnexpectedEof), Result::<()>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::resultcast [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/errbang.rs - macros::errbang (line 8) stdout ---- [INFO] [stdout] error: cannot find macro `err` in this scope [INFO] [stdout] --> src/macros/errbang.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 3 | err! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::err [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/errbang.rs - errbangsend (line 53) stdout ---- [INFO] [stdout] error: cannot find macro `errbangsend` in this scope [INFO] [stdout] --> src/macros/errbang.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 5 | errbangsend!(err::MyError3, "{} is {}", "bar", 2); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbangsend [INFO] [stdout] [INFO] [stdout] error: cannot find macro `errbangsend` in this scope [INFO] [stdout] --> src/macros/errbang.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 4 | errbangsend!(err::MyError2, "cannot find."); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbangsend [INFO] [stdout] [INFO] [stdout] error: cannot find macro `errbangsend` in this scope [INFO] [stdout] --> src/macros/errbang.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 3 | errbangsend!(err::MyError1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbangsend [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/errbang.rs - errcast (line 67) stdout ---- [INFO] [stdout] error: cannot find macro `errcast` in this scope [INFO] [stdout] --> src/macros/errbang.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 3 | let num_read = errcast!(file.read(&mut buf), err::ReadErr, "cannot read."); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errcast [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/errbang.rs - macros::errbang (line 20) stdout ---- [INFO] [stdout] error: cannot find macro `errbang` in this scope [INFO] [stdout] --> src/macros/errbang.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 3 | errbang!(err:BrokenHeader); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbang [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error: cannot find macro `errbang` in this scope [INFO] [stdout] --> src/lib.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 7 | _ => errbang!(err::NotMatched, "{} is {}", "bar", bar), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbang [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn foo() -> Result { // Our Master Result Type [INFO] [stdout] | ^^^^^^ ---- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 2 | fn foo() -> Result { // Our Master Result Type [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<(), E> { [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 E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/errbang.rs - errextract (line 101) stdout ---- [INFO] [stdout] error: cannot find macro `errextract` in this scope [INFO] [stdout] --> src/macros/errbang.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 3 | let num_read = errextract!(read(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errextract [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/macros/errbang.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/errbang.rs - macros::errbang (line 24) stdout ---- [INFO] [stdout] error: cannot find macro `errbang` in this scope [INFO] [stdout] --> src/macros/errbang.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 7 | _ => errbang!(err::NotMatched, "{} is {}", "bar", bar), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errbang [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/macros/errbang.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn foo() -> Result { // Our Master Result Type [INFO] [stdout] | ^^^^^^ ---- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 2 | fn foo() -> Result { // Our Master Result Type [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/macros/errbang.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<(), E> { [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 E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/errbang.rs - errmatch (line 81) stdout ---- [INFO] [stdout] error: cannot find macro `errmatch` in this scope [INFO] [stdout] --> src/macros/errbang.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 4 | if errmatch!(e, err::MyError0) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] utils_results::errmatch [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `some_result` in this scope [INFO] [stdout] --> src/macros/errbang.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 3 | if let Err(e) = some_result() { [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/macros/errbang.rs - fn_handle_io_error (line 184) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `fn_handle_io_error` in this scope [INFO] [stdout] --> src/macros/errbang.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn_handle_io_error(file.seek(SeekFrom::End(0)))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `file` [INFO] [stdout] --> src/macros/errbang.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 3 | fn_handle_io_error(file.seek(SeekFrom::End(0)))? [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 3 | fn_handle_io_error(file!.seek(SeekFrom::End(0)))? [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/macros/errbang.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 3 | fn_handle_io_error(file.seek(SeekFrom::End(0)))? [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::SeekFrom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/macros/errbang.rs:185:48 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_errbang_rs_184_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | fn_handle_io_error(file.seek(SeekFrom::End(0)))? [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } _doctest_main_src_macros_errbang_rs_184_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] src/macros/errbang.rs - err (line 121) [INFO] [stdout] src/macros/errbang.rs - errbang (line 40) [INFO] [stdout] src/macros/errbang.rs - errbangsend (line 53) [INFO] [stdout] src/macros/errbang.rs - errcast (line 67) [INFO] [stdout] src/macros/errbang.rs - errextract (line 101) [INFO] [stdout] src/macros/errbang.rs - errmatch (line 81) [INFO] [stdout] src/macros/errbang.rs - fn_handle_io_error (line 176) [INFO] [stdout] src/macros/errbang.rs - fn_handle_io_error (line 184) [INFO] [stdout] src/macros/errbang.rs - macros::errbang (line 20) [INFO] [stdout] src/macros/errbang.rs - macros::errbang (line 24) [INFO] [stdout] src/macros/errbang.rs - macros::errbang (line 8) [INFO] [stdout] src/macros/results.rs - resultcast (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "cc791f9bf55e5818c78f5f31d790a9f02cdba4ff295286e02a96e5e85a2bb177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc791f9bf55e5818c78f5f31d790a9f02cdba4ff295286e02a96e5e85a2bb177", kill_on_drop: false }` [INFO] [stdout] cc791f9bf55e5818c78f5f31d790a9f02cdba4ff295286e02a96e5e85a2bb177