[INFO] fetching crate tyenum 0.5.0... [INFO] testing tyenum-0.5.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tyenum 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tyenum 0.5.0 [INFO] finished tweaking crates.io crate tyenum 0.5.0 [INFO] tweaked toml for crates.io crate tyenum 0.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tyenum 0.5.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9521d3980fc6f18ed062328f5c7251a7ff29dbbbd980a8e1c13297da49e81e62 [INFO] running `Command { std: "docker" "start" "-a" "9521d3980fc6f18ed062328f5c7251a7ff29dbbbd980a8e1c13297da49e81e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9521d3980fc6f18ed062328f5c7251a7ff29dbbbd980a8e1c13297da49e81e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9521d3980fc6f18ed062328f5c7251a7ff29dbbbd980a8e1c13297da49e81e62", kill_on_drop: false }` [INFO] [stdout] 9521d3980fc6f18ed062328f5c7251a7ff29dbbbd980a8e1c13297da49e81e62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11583b25901f961fd785c43e894e71af8afe85a6af929bed37046c30cf3828b9 [INFO] running `Command { std: "docker" "start" "-a" "11583b25901f961fd785c43e894e71af8afe85a6af929bed37046c30cf3828b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tyenum_attribute v0.5.0 [INFO] [stderr] Compiling tyenum v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.86s [INFO] running `Command { std: "docker" "inspect" "11583b25901f961fd785c43e894e71af8afe85a6af929bed37046c30cf3828b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11583b25901f961fd785c43e894e71af8afe85a6af929bed37046c30cf3828b9", kill_on_drop: false }` [INFO] [stdout] 11583b25901f961fd785c43e894e71af8afe85a6af929bed37046c30cf3828b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8b318419947d518cb98f034c9e8ff0ac72ffacfef0b465ae7384b3a7534a55b [INFO] running `Command { std: "docker" "start" "-a" "f8b318419947d518cb98f034c9e8ff0ac72ffacfef0b465ae7384b3a7534a55b", kill_on_drop: false }` [INFO] [stderr] Compiling tyenum v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> tests/tests.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "f8b318419947d518cb98f034c9e8ff0ac72ffacfef0b465ae7384b3a7534a55b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8b318419947d518cb98f034c9e8ff0ac72ffacfef0b465ae7384b3a7534a55b", kill_on_drop: false }` [INFO] [stdout] f8b318419947d518cb98f034c9e8ff0ac72ffacfef0b465ae7384b3a7534a55b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74a9c9cc7d29600fcdfd95641e11b3c88d74664577f6f8a1d92e5e80629ce0e5 [INFO] running `Command { std: "docker" "start" "-a" "74a9c9cc7d29600fcdfd95641e11b3c88d74664577f6f8a1d92e5e80629ce0e5", kill_on_drop: false }` [INFO] [stderr] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stderr] --> tests/tests.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(specialization)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #31844 for more information [INFO] [stderr] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stderr] = note: `#[warn(incomplete_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tyenum` (test "tests") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tyenum-a3786ffb217acff7) [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] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-72f649e76fc9d393) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test try_into ... ok [INFO] [stdout] test derive ... ok [INFO] [stdout] test is ... ok [INFO] [stdout] test try_into_trait_object ... ok [INFO] [stdout] test into ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tyenum [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 79) ... FAILED [INFO] [stdout] test src/lib.rs - (line 99) ... FAILED [INFO] [stdout] test src/lib.rs - (line 45) ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - (line 34) ... FAILED [INFO] [stdout] test src/lib.rs - (line 7) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 79) stdout ---- [INFO] [stdout] error: cannot find attribute `tyenum` in this scope [INFO] [stdout] --> src/lib.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[tyenum(trait_obj=[Name])] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `tyenum` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#tyenum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `B` in this scope [INFO] [stdout] --> src/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 8 | BB(B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | enum Test { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `A` in this scope [INFO] [stdout] --> src/lib.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 15 | impl Name for A { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 99) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/lib.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 3 | fn try_print_name(test: Test) { [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 E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 45) stdout ---- [INFO] [stdout] error: cannot find attribute `tyenum` in this scope [INFO] [stdout] --> src/lib.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[tyenum(derive=[Display])] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `tyenum` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#tyenum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `B` in this scope [INFO] [stdout] --> src/lib.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 8 | BB(B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | enum Test { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `A` in this scope [INFO] [stdout] --> src/lib.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 15 | impl Name for A { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `B` in this scope [INFO] [stdout] --> src/lib.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 21 | impl Name for B { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 70) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/lib.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!("A", Test::A(A).name()); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Test` [INFO] [stdout] --> src/lib.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!("A", Test::A(A).name()); [INFO] [stdout] | ^^^^ use of undeclared type `Test` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `A` in this scope [INFO] [stdout] --> src/lib.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 4 | A(A), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | enum Test { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `B` in this scope [INFO] [stdout] --> src/lib.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 5 | BB(B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | enum Test { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `C` in this scope [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 6 | C(C), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | enum Test { [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 E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 34) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/lib.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(Test::A(A), A.into()); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_34_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/lib.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(Test::A(A), A.into()); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_34_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(Test::A(A).is::()); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_34_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `A` in this scope [INFO] [stdout] --> src/lib.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(Test::A(A).is::()); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_34_0() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/lib.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(Test::A(A).try_into(), Ok(A)); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_34_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/lib.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(Test::A(A).try_into(), Ok(A)); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_34_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Test` [INFO] [stdout] --> src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(Test::A(A), A.into()); [INFO] [stdout] | ^^^^ use of undeclared type `Test` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Test` [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(Test::A(A).is::()); [INFO] [stdout] | ^^^^ use of undeclared type `Test` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Test` [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(Test::A(A).try_into(), Ok(A)); [INFO] [stdout] | ^^^^ use of undeclared type `Test` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] src/lib.rs - (line 34) [INFO] [stdout] src/lib.rs - (line 45) [INFO] [stdout] src/lib.rs - (line 70) [INFO] [stdout] src/lib.rs - (line 79) [INFO] [stdout] src/lib.rs - (line 99) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "74a9c9cc7d29600fcdfd95641e11b3c88d74664577f6f8a1d92e5e80629ce0e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a9c9cc7d29600fcdfd95641e11b3c88d74664577f6f8a1d92e5e80629ce0e5", kill_on_drop: false }` [INFO] [stdout] 74a9c9cc7d29600fcdfd95641e11b3c88d74664577f6f8a1d92e5e80629ce0e5