[INFO] crate named_type 0.2.1 is already in cache [INFO] testing named_type-0.2.1 against 1.38.0 for beta-1.39-1 [INFO] extracting crate named_type 0.2.1 into work/builds/worker-3/source [INFO] validating manifest of crates.io crate named_type 0.2.1 on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate named_type 0.2.1 [INFO] finished tweaking crates.io crate named_type 0.2.1 [INFO] tweaked toml for crates.io crate named_type 0.2.1 written to work/builds/worker-3/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 707a40beeee300e854e22f694d9d018ac661d67ffb53f8f9643d436b673b50f6 [INFO] running `"docker" "start" "-a" "707a40beeee300e854e22f694d9d018ac661d67ffb53f8f9643d436b673b50f6"` [INFO] [stderr] Compiling named_type v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `"docker" "inspect" "707a40beeee300e854e22f694d9d018ac661d67ffb53f8f9643d436b673b50f6"` [INFO] running `"docker" "rm" "-f" "707a40beeee300e854e22f694d9d018ac661d67ffb53f8f9643d436b673b50f6"` [INFO] [stdout] 707a40beeee300e854e22f694d9d018ac661d67ffb53f8f9643d436b673b50f6 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] f7d2044805c965d1310b8cb5adaf7a2c0864a947c250f6876e3b3832222f7a2b [INFO] running `"docker" "start" "-a" "f7d2044805c965d1310b8cb5adaf7a2c0864a947c250f6876e3b3832222f7a2b"` [INFO] [stderr] Compiling named_type v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `"docker" "inspect" "f7d2044805c965d1310b8cb5adaf7a2c0864a947c250f6876e3b3832222f7a2b"` [INFO] running `"docker" "rm" "-f" "f7d2044805c965d1310b8cb5adaf7a2c0864a947c250f6876e3b3832222f7a2b"` [INFO] [stdout] f7d2044805c965d1310b8cb5adaf7a2c0864a947c250f6876e3b3832222f7a2b [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen"` [INFO] [stdout] d99950fa3efd78b3bfdcac304e4a6f5f14b8b5478305fd895f3d000fc8bb3a78 [INFO] running `"docker" "start" "-a" "d99950fa3efd78b3bfdcac304e4a6f5f14b8b5478305fd895f3d000fc8bb3a78"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/named_type-5379ce1f2f91439b [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 [INFO] [stdout] [INFO] [stderr] Doc-tests named_type [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `named_type_derive` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 3 | use named_type_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `named_type_derive` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NamedType` in this scope [INFO] [stdout] --> src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NamedType)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NamedType` in this scope [INFO] [stdout] --> src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(NamedType)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `type_name` found for type `MyStruct` in the current scope [INFO] [stdout] --> src/lib.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyStruct {} [INFO] [stdout] | --------------- function or associated item `type_name` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | assert_eq!(MyStruct::type_name(), concat!(module_path!(), "::MyStruct")); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `MyStruct` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `type_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `named_type::NamedType` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `short_type_name` found for type `MyStruct` in the current scope [INFO] [stdout] --> src/lib.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyStruct {} [INFO] [stdout] | --------------- function or associated item `short_type_name` not found for this [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(MyStruct::short_type_name(), "MyStruct"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `MyStruct` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `short_type_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `named_type::NamedType` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `type_name` found for type `MyEnum` in the current scope [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 10 | enum MyEnum {} [INFO] [stdout] | ----------- variant or associated item `type_name` not found here [INFO] [stdout] ... [INFO] [stdout] 16 | assert_eq!(MyEnum::type_name(), concat!(module_path!(), "::MyEnum")); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `MyEnum` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `type_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `named_type::NamedType` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `short_type_name` found for type `MyEnum` in the current scope [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 10 | enum MyEnum {} [INFO] [stdout] | ----------- variant or associated item `short_type_name` not found here [INFO] [stdout] ... [INFO] [stdout] 17 | assert_eq!(MyEnum::short_type_name(), "MyEnum"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ variant or associated item not found in `MyEnum` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `short_type_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `named_type::NamedType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 33) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `named_type_derive` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 3 | use named_type_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `named_type_derive` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NamedType` in this scope [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NamedType)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute macro `named_type` in this scope [INFO] [stdout] --> src/lib.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[named_type(short_suffix = "_suffix")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NamedType` in this scope [INFO] [stdout] --> src/lib.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(NamedType)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute macro `named_type` in this scope [INFO] [stdout] --> src/lib.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[named_type(short_prefix = "Pre")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `type_name` found for type `Suffixed` in the current scope [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 8 | struct Suffixed {} [INFO] [stdout] | --------------- function or associated item `type_name` not found for this [INFO] [stdout] ... [INFO] [stdout] 15 | assert_eq!(Suffixed::type_name(), concat!(module_path!(), "::Suffixed")); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Suffixed` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `type_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `named_type::NamedType` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `short_type_name` found for type `Suffixed` in the current scope [INFO] [stdout] --> src/lib.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 8 | struct Suffixed {} [INFO] [stdout] | --------------- function or associated item `short_type_name` not found for this [INFO] [stdout] ... [INFO] [stdout] 16 | assert_eq!(Suffixed::short_type_name(), "Suffixed_suffix"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `Suffixed` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `short_type_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `named_type::NamedType` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `type_name` found for type `Prefixed` in the current scope [INFO] [stdout] --> src/lib.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 12 | enum Prefixed {} [INFO] [stdout] | ------------- variant or associated item `type_name` not found here [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!(Prefixed::type_name(), concat!(module_path!(), "::Prefixed")); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `Prefixed` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `type_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `named_type::NamedType` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `short_type_name` found for type `Prefixed` in the current scope [INFO] [stdout] --> src/lib.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 12 | enum Prefixed {} [INFO] [stdout] | ------------- variant or associated item `short_type_name` not found here [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(Prefixed::short_type_name(), "PrePrefixed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ variant or associated item not found in `Prefixed` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `short_type_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `named_type::NamedType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] src/lib.rs - (line 33) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "d99950fa3efd78b3bfdcac304e4a6f5f14b8b5478305fd895f3d000fc8bb3a78"` [INFO] running `"docker" "rm" "-f" "d99950fa3efd78b3bfdcac304e4a6f5f14b8b5478305fd895f3d000fc8bb3a78"` [INFO] [stdout] d99950fa3efd78b3bfdcac304e4a6f5f14b8b5478305fd895f3d000fc8bb3a78