[INFO] fetching crate declare 0.0.1... [INFO] checking declare-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate declare 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate declare 0.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate declare 0.0.1 [INFO] tweaked toml for crates.io crate declare 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate declare 0.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate declare 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error_set_impl v0.8.2 [INFO] [stderr] Downloaded trybuild v1.0.97 [INFO] [stderr] Downloaded toml_edit v0.22.16 [INFO] [stderr] Downloaded winnow v0.6.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dbd82aa2ad78ca20fe16f5e2ea3a94842165243e6890f51c5bd1753e44d9bf5 [INFO] running `Command { std: "docker" "start" "-a" "8dbd82aa2ad78ca20fe16f5e2ea3a94842165243e6890f51c5bd1753e44d9bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dbd82aa2ad78ca20fe16f5e2ea3a94842165243e6890f51c5bd1753e44d9bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dbd82aa2ad78ca20fe16f5e2ea3a94842165243e6890f51c5bd1753e44d9bf5", kill_on_drop: false }` [INFO] [stdout] 8dbd82aa2ad78ca20fe16f5e2ea3a94842165243e6890f51c5bd1753e44d9bf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a28192c076cac65278e3de8fe62aa7b13881bc1573a84f8828beaf1cc723d158 [INFO] running `Command { std: "docker" "start" "-a" "a28192c076cac65278e3de8fe62aa7b13881bc1573a84f8828beaf1cc723d158", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking winnow v0.6.14 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling indices v0.3.6 [INFO] [stderr] Compiling trybuild v1.0.97 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.16 [INFO] [stderr] Checking toml v0.8.15 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Compiling error_set_impl v0.8.2 [INFO] [stderr] Checking tracing-test v0.2.5 [INFO] [stderr] Checking declare v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | use error_set::{error_set, CoerceResult}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | use error_set::{error_set, CoerceResult}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | use error_set::{error_set, CoerceResult}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_set` [INFO] [stdout] --> tests/mod.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | use error_set::error_set; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `error_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_set`, use `cargo add error_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetLevelError` in this scope [INFO] [stdout] --> tests/mod.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | let crate_error: SetLevelError = magazine_error.into(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetLevelError` in this scope [INFO] [stdout] --> tests/mod.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | let crate_error_from_book: SetLevelError = book_error.into(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MagazineParsingError` in this scope [INFO] [stdout] --> tests/mod.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let x: Result<(), MagazineParsingError> = Err(MagazineParsingError::MissingNameArg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | fn into_works_correctly() { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BookParsingError` in this scope [INFO] [stdout] --> tests/mod.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | let _y: Result<(), BookParsingError> = x.map_err(Into::into); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | fn into_works_correctly() { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetLevelError` in this scope [INFO] [stdout] --> tests/mod.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | let _crate_error_from_book: SetLevelError = book_error.into(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | let y: Y = x.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 95 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetLevelError` in this scope [INFO] [stdout] --> tests/mod.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let _set: SetLevelError = y.into(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Z` in this scope [INFO] [stdout] --> tests/mod.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | let z: Z = io_error.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 124 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X` in this scope [INFO] [stdout] --> tests/mod.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | let x: X = z.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 124 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | let y: Y = x.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 124 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X` in this scope [INFO] [stdout] --> tests/mod.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | let x: X = y.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 124 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BookSectionParsingError` in this scope [INFO] [stdout] --> tests/mod.rs:170:41 [INFO] [stdout] | [INFO] [stdout] 170 | let book_section_parsing_error: BookSectionParsingError = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BookParsingError` in this scope [INFO] [stdout] --> tests/mod.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | let book_parsing_error: BookParsingError = book_section_parsing_error.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaError` in this scope [INFO] [stdout] --> tests/mod.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | let media_error: MediaError = book_parsing_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DownloadError` in this scope [INFO] [stdout] --> tests/mod.rs:183:47 [INFO] [stdout] | [INFO] [stdout] 183 | let result_download_error: Result<(), DownloadError> = Err(io_error).coerce(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | fn test() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaError` in this scope [INFO] [stdout] --> tests/mod.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | let result_media_error: Result<(), MediaError> = result_download_error.map_err(Into::into); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | fn test() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BookSectionParsingError` in this scope [INFO] [stdout] --> tests/mod.rs:240:41 [INFO] [stdout] | [INFO] [stdout] 240 | let book_section_parsing_error: BookSectionParsingError = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BookParsingError` in this scope [INFO] [stdout] --> tests/mod.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | let book_parsing_error: BookParsingError = book_section_parsing_error.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaError` in this scope [INFO] [stdout] --> tests/mod.rs:249:26 [INFO] [stdout] | [INFO] [stdout] 249 | let media_error: MediaError = book_parsing_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DownloadError` in this scope [INFO] [stdout] --> tests/mod.rs:253:47 [INFO] [stdout] | [INFO] [stdout] 253 | let result_download_error: Result<(), DownloadError> = Err(io_error).coerce(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 239 | fn test() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaError` in this scope [INFO] [stdout] --> tests/mod.rs:254:44 [INFO] [stdout] | [INFO] [stdout] 254 | let result_media_error: Result<(), MediaError> = result_download_error.map_err(Into::into); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 239 | fn test() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BookParsingError` in this scope [INFO] [stdout] --> tests/mod.rs:300:33 [INFO] [stdout] | [INFO] [stdout] 300 | let book_parsing_error: BookParsingError = book_section_parsing_error.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaError` in this scope [INFO] [stdout] --> tests/mod.rs:305:26 [INFO] [stdout] | [INFO] [stdout] 305 | let media_error: MediaError = book_parsing_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DownloadError` in this scope [INFO] [stdout] --> tests/mod.rs:309:47 [INFO] [stdout] | [INFO] [stdout] 309 | let result_download_error: Result<(), DownloadError> = Err(io_error).coerce(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 298 | fn test() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaError` in this scope [INFO] [stdout] --> tests/mod.rs:310:44 [INFO] [stdout] | [INFO] [stdout] 310 | let result_media_error: Result<(), MediaError> = result_download_error.coerce(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 298 | fn test() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:361:16 [INFO] [stdout] | [INFO] [stdout] 361 | let y: Y = x.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 356 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | let y: Y = z.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 356 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:369:16 [INFO] [stdout] | [INFO] [stdout] 369 | let y: Y = z.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 356 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X` in this scope [INFO] [stdout] --> tests/mod.rs:375:16 [INFO] [stdout] | [INFO] [stdout] 375 | let x: X = xx.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 356 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `W` in this scope [INFO] [stdout] --> tests/mod.rs:377:16 [INFO] [stdout] | [INFO] [stdout] 377 | let w: W = W::B { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 356 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> tests/mod.rs:414:16 [INFO] [stdout] | [INFO] [stdout] 414 | let x: AuthError = AuthError::UserDoesNotExist1 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:422:16 [INFO] [stdout] | [INFO] [stdout] 422 | let y: LoginError = x.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> tests/mod.rs:428:16 [INFO] [stdout] | [INFO] [stdout] 428 | let x: AuthError = AuthError::UserDoesNotExist2 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:436:16 [INFO] [stdout] | [INFO] [stdout] 436 | let y: LoginError = x.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X` in this scope [INFO] [stdout] --> tests/mod.rs:529:21 [INFO] [stdout] | [INFO] [stdout] 529 | let y_to_x: X = y.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 486 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:530:21 [INFO] [stdout] | [INFO] [stdout] 530 | let x_to_y: Y = x.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 486 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y2` in this scope [INFO] [stdout] --> tests/mod.rs:537:22 [INFO] [stdout] | [INFO] [stdout] 537 | let z_to_y2: Y2 = z.into(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Z` in this scope [INFO] [stdout] --> tests/mod.rs:538:22 [INFO] [stdout] | [INFO] [stdout] 538 | let y2_to_z: Z = y2.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 486 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `B` in this scope [INFO] [stdout] --> tests/mod.rs:560:21 [INFO] [stdout] | [INFO] [stdout] 560 | let a_to_b: B = a.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 486 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `A` in this scope [INFO] [stdout] --> tests/mod.rs:561:21 [INFO] [stdout] | [INFO] [stdout] 561 | let b_to_a: A = b.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 486 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> tests/mod.rs:592:16 [INFO] [stdout] | [INFO] [stdout] 592 | let x: AuthError = AuthError::UserDoesNotExist1 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:600:16 [INFO] [stdout] | [INFO] [stdout] 600 | let y: LoginError = x.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> tests/mod.rs:637:25 [INFO] [stdout] | [INFO] [stdout] 637 | let auth_error: AuthError = fmt_error.into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:639:26 [INFO] [stdout] | [INFO] [stdout] 639 | let login_error: LoginError = auth_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:642:26 [INFO] [stdout] | [INFO] [stdout] 642 | let login_error: LoginError = fmt_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:645:26 [INFO] [stdout] | [INFO] [stdout] 645 | let login_error: LoginError = auth_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError1` in this scope [INFO] [stdout] --> tests/mod.rs:701:25 [INFO] [stdout] | [INFO] [stdout] 701 | let auth_error: AuthError1 = fmt_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:703:26 [INFO] [stdout] | [INFO] [stdout] 703 | let login_error: LoginError = auth_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError2` in this scope [INFO] [stdout] --> tests/mod.rs:707:25 [INFO] [stdout] | [INFO] [stdout] 707 | let auth_error: AuthError2 = fmt_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:709:26 [INFO] [stdout] | [INFO] [stdout] 709 | let login_error: LoginError = auth_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:713:26 [INFO] [stdout] | [INFO] [stdout] 713 | let login_error: LoginError = fmt_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:716:26 [INFO] [stdout] | [INFO] [stdout] 716 | let login_error: LoginError = auth_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError2` in this scope [INFO] [stdout] --> tests/mod.rs:718:25 [INFO] [stdout] | [INFO] [stdout] 718 | let auth_error: AuthError2 = AuthError2::InvalidCredentials; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoginError` in this scope [INFO] [stdout] --> tests/mod.rs:719:26 [INFO] [stdout] | [INFO] [stdout] 719 | let login_error: LoginError = auth_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError2` in this scope [INFO] [stdout] --> tests/mod.rs:722:25 [INFO] [stdout] | [INFO] [stdout] 722 | let auth_error: AuthError2 = AuthError2::InvalidCredentials; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError1` in this scope [INFO] [stdout] --> tests/mod.rs:723:25 [INFO] [stdout] | [INFO] [stdout] 723 | let auth_error: AuthError1 = auth_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError2` in this scope [INFO] [stdout] --> tests/mod.rs:725:25 [INFO] [stdout] | [INFO] [stdout] 725 | let auth_error: AuthError2 = auth_error.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X` in this scope [INFO] [stdout] --> tests/mod.rs:728:17 [INFO] [stdout] | [INFO] [stdout] 728 | let _x: X = X::A { a: 1 }; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:732:17 [INFO] [stdout] | [INFO] [stdout] 732 | let _y: Y = Y::B { b: 1 }; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/mod.rs:771:15 [INFO] [stdout] | [INFO] [stdout] 771 | impl From for W { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 771 | impl From for W { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `W` in this scope [INFO] [stdout] --> tests/mod.rs:771:22 [INFO] [stdout] | [INFO] [stdout] 771 | impl From for W { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/mod.rs:772:20 [INFO] [stdout] | [INFO] [stdout] 772 | fn from(u: U) -> Self { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `W` in this scope [INFO] [stdout] --> tests/mod.rs:779:35 [INFO] [stdout] | [INFO] [stdout] 779 | impl From for W { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:785:15 [INFO] [stdout] | [INFO] [stdout] 785 | impl From for X { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 785 | impl From for X { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X` in this scope [INFO] [stdout] --> tests/mod.rs:785:22 [INFO] [stdout] | [INFO] [stdout] 785 | impl From for X { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:786:20 [INFO] [stdout] | [INFO] [stdout] 786 | fn from(x: Y) -> Self { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:793:22 [INFO] [stdout] | [INFO] [stdout] 793 | impl Display for Y { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:799:20 [INFO] [stdout] | [INFO] [stdout] 799 | impl Error for Y {} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Z` in this scope [INFO] [stdout] --> tests/mod.rs:801:20 [INFO] [stdout] | [INFO] [stdout] 801 | impl Debug for Z { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/mod.rs:809:16 [INFO] [stdout] | [INFO] [stdout] 809 | let u: U = std::io::Error::new(std::io::ErrorKind::Other, "oops").into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 808 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `W` in this scope [INFO] [stdout] --> tests/mod.rs:810:16 [INFO] [stdout] | [INFO] [stdout] 810 | let w: W = u.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 808 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `W` in this scope [INFO] [stdout] --> tests/mod.rs:812:16 [INFO] [stdout] | [INFO] [stdout] 812 | let w: W = std::io::Error::new(std::io::ErrorKind::Other, "oops").into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 808 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `W` in this scope [INFO] [stdout] --> tests/mod.rs:815:16 [INFO] [stdout] | [INFO] [stdout] 815 | let w: W = v.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 808 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Y` in this scope [INFO] [stdout] --> tests/mod.rs:819:16 [INFO] [stdout] | [INFO] [stdout] 819 | let y: Y = x.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 808 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X` in this scope [INFO] [stdout] --> tests/mod.rs:823:16 [INFO] [stdout] | [INFO] [stdout] 823 | let x: X = y.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 808 | fn test() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X` in this scope [INFO] [stdout] --> tests/mod.rs:855:16 [INFO] [stdout] | [INFO] [stdout] 855 | let x: X = y.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X` in this scope [INFO] [stdout] --> tests/mod.rs:859:16 [INFO] [stdout] | [INFO] [stdout] 859 | let x: X = z.into(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> tests/mod.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MagazineParsingError` [INFO] [stdout] --> tests/mod.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let magazine_error = MagazineParsingError::MissingNameArg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MagazineParsingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BookParsingError` [INFO] [stdout] --> tests/mod.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let book_error = BookParsingError::MissingDescriptionArg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `BookParsingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MagazineParsingError` [INFO] [stdout] --> tests/mod.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | let x: Result<(), MagazineParsingError> = Err(MagazineParsingError::MissingNameArg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MagazineParsingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SetLevelError` [INFO] [stdout] --> tests/mod.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let _empty1 = SetLevelError::EmptySet1; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SetLevelError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SetLevelError` [INFO] [stdout] --> tests/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let _empty2 = SetLevelError::EmptySet2; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SetLevelError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BookParsingError` [INFO] [stdout] --> tests/mod.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | let book_error = BookParsingError::MissingDescriptionArg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `BookParsingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SetLevelError` [INFO] [stdout] --> tests/mod.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | let _empty1 = SetLevelError::EmptySet1; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SetLevelError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SetLevelError` [INFO] [stdout] --> tests/mod.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let _empty2 = SetLevelError::EmptySet2; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SetLevelError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let x = X::IoError(std::io::Error::new( [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `coerce` found for enum `Result` in the current scope [INFO] [stdout] --> tests/mod.rs:183:78 [INFO] [stdout] | [INFO] [stdout] 183 | let result_download_error: Result<(), DownloadError> = Err(io_error).coerce(); [INFO] [stdout] | ^^^^^^ method not found in `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn coerce>(self) -> Result; [INFO] [stdout] | ------ the method is available for `Result<_, std::io::Error>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CoerceResult` which provides `coerce` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 138 + use declare::CoerceResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `coerce` found for enum `Result` in the current scope [INFO] [stdout] --> tests/mod.rs:253:78 [INFO] [stdout] | [INFO] [stdout] 253 | let result_download_error: Result<(), DownloadError> = Err(io_error).coerce(); [INFO] [stdout] | ^^^^^^ method not found in `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn coerce>(self) -> Result; [INFO] [stdout] | ------ the method is available for `Result<_, std::io::Error>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CoerceResult` which provides `coerce` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 191 + use declare::CoerceResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BookSectionParsingError` [INFO] [stdout] --> tests/mod.rs:299:42 [INFO] [stdout] | [INFO] [stdout] 299 | let book_section_parsing_error = BookSectionParsingError::MissingNameArg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BookSectionParsingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `coerce` found for enum `Result` in the current scope [INFO] [stdout] --> tests/mod.rs:309:78 [INFO] [stdout] | [INFO] [stdout] 309 | let result_download_error: Result<(), DownloadError> = Err(io_error).coerce(); [INFO] [stdout] | ^^^^^^ method not found in `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn coerce>(self) -> Result; [INFO] [stdout] | ------ the method is available for `Result<_, std::io::Error>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CoerceResult` which provides `coerce` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 261 + use declare::CoerceResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Z` [INFO] [stdout] --> tests/mod.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | let z = Z::D; [INFO] [stdout] | ^ use of undeclared type `Z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> tests/mod.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | let x = AuthError::InvalidCredentials; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 487 | let x = X::IoError(std::io::Error::new( [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Y` [INFO] [stdout] --> tests/mod.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let y = Y::IoError(std::io::Error::new( [INFO] [stdout] | ^ use of undeclared type `Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Y2` [INFO] [stdout] --> tests/mod.rs:502:18 [INFO] [stdout] | [INFO] [stdout] 502 | let y2 = Y2::IoError(std::io::Error::new( [INFO] [stdout] | ^^ use of undeclared type `Y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Z` [INFO] [stdout] --> tests/mod.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let z = Z::IoError(std::io::Error::new( [INFO] [stdout] | ^ use of undeclared type `Z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `YY` [INFO] [stdout] --> tests/mod.rs:520:18 [INFO] [stdout] | [INFO] [stdout] 520 | let yy = YY::IoError(std::io::Error::new( [INFO] [stdout] | ^^ use of undeclared type `YY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `A` [INFO] [stdout] --> tests/mod.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 548 | let a = A::IoError(std::io::Error::new( [INFO] [stdout] | ^ use of undeclared type `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `B` [INFO] [stdout] --> tests/mod.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | let b = B::IoError(std::io::Error::new( [INFO] [stdout] | ^ use of undeclared type `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> tests/mod.rs:644:26 [INFO] [stdout] | [INFO] [stdout] 644 | let auth_error = AuthError::InvalidCredentials; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError1` [INFO] [stdout] --> tests/mod.rs:715:26 [INFO] [stdout] | [INFO] [stdout] 715 | let auth_error = AuthError1::InvalidCredentials; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthError1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError2` [INFO] [stdout] --> tests/mod.rs:718:43 [INFO] [stdout] | [INFO] [stdout] 718 | let auth_error: AuthError2 = AuthError2::InvalidCredentials; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthError2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError2` [INFO] [stdout] --> tests/mod.rs:722:46 [INFO] [stdout] | [INFO] [stdout] 722 | let auth_error: AuthError2 = AuthError2::InvalidCredentials; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthError2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `W` [INFO] [stdout] --> tests/mod.rs:774:34 [INFO] [stdout] | [INFO] [stdout] 774 | U::IoError(e) => W::IoError(e), [INFO] [stdout] | ^ use of undeclared type `W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `W` [INFO] [stdout] --> tests/mod.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 781 | W::IoError(e) [INFO] [stdout] | ^ use of undeclared type `W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:788:25 [INFO] [stdout] | [INFO] [stdout] 788 | Y::A => X::A, [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `V` [INFO] [stdout] --> tests/mod.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | let v = V::IoError(std::io::Error::new(std::io::ErrorKind::Other, "oops")); [INFO] [stdout] | ^ use of undeclared type `V` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:818:17 [INFO] [stdout] | [INFO] [stdout] 818 | let x = X::A; [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Y` [INFO] [stdout] --> tests/mod.rs:822:17 [INFO] [stdout] | [INFO] [stdout] 822 | let y = Y::A; [INFO] [stdout] | ^ use of undeclared type `Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Y` [INFO] [stdout] --> tests/mod.rs:826:17 [INFO] [stdout] | [INFO] [stdout] 826 | let y = Y::A; [INFO] [stdout] | ^ use of undeclared type `Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Z` [INFO] [stdout] --> tests/mod.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 832 | let z = Z::A; [INFO] [stdout] | ^ use of undeclared type `Z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Y` [INFO] [stdout] --> tests/mod.rs:854:17 [INFO] [stdout] | [INFO] [stdout] 854 | let y = Y::A; [INFO] [stdout] | ^ use of undeclared type `Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Z` [INFO] [stdout] --> tests/mod.rs:858:17 [INFO] [stdout] | [INFO] [stdout] 858 | let z = Z::B(std::io::Error::new(std::io::ErrorKind::Other, "oops")); [INFO] [stdout] | ^ use of undeclared type `Z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:860:29 [INFO] [stdout] | [INFO] [stdout] 860 | assert!(matches!(x, X::B(_))); [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError1` [INFO] [stdout] --> tests/mod.rs:702:30 [INFO] [stdout] | [INFO] [stdout] 702 | matches!(auth_error, AuthError1::SourceStruct { source: _ }); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthError1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:856:29 [INFO] [stdout] | [INFO] [stdout] 856 | assert!(matches!(x, X::A)); [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoginError` [INFO] [stdout] --> tests/mod.rs:704:31 [INFO] [stdout] | [INFO] [stdout] 704 | matches!(login_error, LoginError::SourceStruct { source: _ }); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LoginError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError2` [INFO] [stdout] --> tests/mod.rs:708:30 [INFO] [stdout] | [INFO] [stdout] 708 | matches!(auth_error, AuthError2::SourceStruct { source: _ }); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthError2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoginError` [INFO] [stdout] --> tests/mod.rs:710:31 [INFO] [stdout] | [INFO] [stdout] 710 | matches!(login_error, LoginError::SourceStruct { source: _ }); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LoginError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:824:29 [INFO] [stdout] | [INFO] [stdout] 824 | assert!(matches!(x, X::A)); [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoginError` [INFO] [stdout] --> tests/mod.rs:714:31 [INFO] [stdout] | [INFO] [stdout] 714 | matches!(login_error, LoginError::SourceStruct { source: _ }); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LoginError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Y` [INFO] [stdout] --> tests/mod.rs:820:29 [INFO] [stdout] | [INFO] [stdout] 820 | assert!(matches!(y, Y::A)); [INFO] [stdout] | ^ use of undeclared type `Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | matches!(x, X::IoError(_)); [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Y` [INFO] [stdout] --> tests/mod.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | matches!(y, Y::IoError2(_)); [INFO] [stdout] | ^ use of undeclared type `Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | matches!(x, X::IoError(_)); [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BookSectionParsingError` [INFO] [stdout] --> tests/mod.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | BookSectionParsingError::MissingField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BookSectionParsingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BookParsingError` [INFO] [stdout] --> tests/mod.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | BookParsingError::MissingField { field: _ } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `BookParsingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaError` [INFO] [stdout] --> tests/mod.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | assert!(matches!(media_error, MediaError::MissingField { field: _ })); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MediaError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaError` [INFO] [stdout] --> tests/mod.rs:185:50 [INFO] [stdout] | [INFO] [stdout] 185 | assert!(matches!(result_media_error, Err(MediaError::IoError(_)))); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MediaError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BookSectionParsingError` [INFO] [stdout] --> tests/mod.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | BookSectionParsingError::MissingField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BookSectionParsingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BookParsingError` [INFO] [stdout] --> tests/mod.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | BookParsingError::MissingField { field: _ } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `BookParsingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaError` [INFO] [stdout] --> tests/mod.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | assert!(matches!(media_error, MediaError::MissingField { field: _ })); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MediaError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaError` [INFO] [stdout] --> tests/mod.rs:255:50 [INFO] [stdout] | [INFO] [stdout] 255 | assert!(matches!(result_media_error, Err(MediaError::IoError(_)))); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MediaError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:728:26 [INFO] [stdout] | [INFO] [stdout] 728 | let _x: X = X::A { a: 1 }; [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BookParsingError` [INFO] [stdout] --> tests/mod.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | BookParsingError::MissingNameArg [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `BookParsingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaError` [INFO] [stdout] --> tests/mod.rs:306:39 [INFO] [stdout] | [INFO] [stdout] 306 | assert!(matches!(media_error, MediaError::MissingNameArg)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MediaError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaError` [INFO] [stdout] --> tests/mod.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | Err(MediaError::OutOfMemory(_)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MediaError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X` [INFO] [stdout] --> tests/mod.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | let x = X::B { [INFO] [stdout] | ^ use of undeclared type `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `W` [INFO] [stdout] --> tests/mod.rs:816:29 [INFO] [stdout] | [INFO] [stdout] 816 | assert!(matches!(w, W::IoError(_))); [INFO] [stdout] | ^ use of undeclared type `W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Z` [INFO] [stdout] --> tests/mod.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | let z = Z::C { val: 1 }; [INFO] [stdout] | ^ use of undeclared type `Z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XX` [INFO] [stdout] --> tests/mod.rs:371:18 [INFO] [stdout] | [INFO] [stdout] 371 | let xx = XX::B { [INFO] [stdout] | ^^ use of undeclared type `XX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `W` [INFO] [stdout] --> tests/mod.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | let w: W = W::B { [INFO] [stdout] | ^ use of undeclared type `W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> tests/mod.rs:414:28 [INFO] [stdout] | [INFO] [stdout] 414 | let x: AuthError = AuthError::UserDoesNotExist1 { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> tests/mod.rs:428:28 [INFO] [stdout] | [INFO] [stdout] 428 | let x: AuthError = AuthError::UserDoesNotExist2 { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoginError` [INFO] [stdout] --> tests/mod.rs:717:31 [INFO] [stdout] | [INFO] [stdout] 717 | matches!(login_error, LoginError::InvalidCredentials); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LoginError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `W` [INFO] [stdout] --> tests/mod.rs:813:29 [INFO] [stdout] | [INFO] [stdout] 813 | assert!(matches!(w, W::IoError(_))); [INFO] [stdout] | ^ use of undeclared type `W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `W` [INFO] [stdout] --> tests/mod.rs:811:29 [INFO] [stdout] | [INFO] [stdout] 811 | assert!(matches!(w, W::IoError(_))); [INFO] [stdout] | ^ use of undeclared type `W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError2` [INFO] [stdout] --> tests/mod.rs:726:30 [INFO] [stdout] | [INFO] [stdout] 726 | matches!(auth_error, AuthError2::InvalidCredentials); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthError2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Y` [INFO] [stdout] --> tests/mod.rs:788:17 [INFO] [stdout] | [INFO] [stdout] 788 | Y::A => X::A, [INFO] [stdout] | ^ use of undeclared type `Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoginError` [INFO] [stdout] --> tests/mod.rs:720:31 [INFO] [stdout] | [INFO] [stdout] 720 | matches!(login_error, LoginError::SourceStruct { source: _ }); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LoginError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError1` [INFO] [stdout] --> tests/mod.rs:724:30 [INFO] [stdout] | [INFO] [stdout] 724 | matches!(auth_error, AuthError1::InvalidCredentials); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthError1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U` [INFO] [stdout] --> tests/mod.rs:774:17 [INFO] [stdout] | [INFO] [stdout] 774 | U::IoError(e) => W::IoError(e), [INFO] [stdout] | ^ use of undeclared type `U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> tests/mod.rs:592:28 [INFO] [stdout] | [INFO] [stdout] 592 | let x: AuthError = AuthError::UserDoesNotExist1 { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> tests/mod.rs:638:30 [INFO] [stdout] | [INFO] [stdout] 638 | matches!(auth_error, AuthError::SourceStruct1 { source: _ }); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoginError` [INFO] [stdout] --> tests/mod.rs:640:31 [INFO] [stdout] | [INFO] [stdout] 640 | matches!(login_error, LoginError::SourceStruct1 { source: _ }); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LoginError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoginError` [INFO] [stdout] --> tests/mod.rs:643:31 [INFO] [stdout] | [INFO] [stdout] 643 | matches!(login_error, LoginError::SourceStruct1 { source: _ }); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LoginError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Y` [INFO] [stdout] --> tests/mod.rs:732:26 [INFO] [stdout] | [INFO] [stdout] 732 | let _y: Y = Y::B { b: 1 }; [INFO] [stdout] | ^ use of undeclared type `Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoginError` [INFO] [stdout] --> tests/mod.rs:646:31 [INFO] [stdout] | [INFO] [stdout] 646 | matches!(login_error, LoginError::InvalidCredentials); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LoginError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `declare` (test "mod") due to 174 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a28192c076cac65278e3de8fe62aa7b13881bc1573a84f8828beaf1cc723d158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28192c076cac65278e3de8fe62aa7b13881bc1573a84f8828beaf1cc723d158", kill_on_drop: false }` [INFO] [stdout] a28192c076cac65278e3de8fe62aa7b13881bc1573a84f8828beaf1cc723d158