[INFO] crate named_type 0.2.1 is already in cache [INFO] extracting crate named_type 0.2.1 into work/ex/beta-1.38-1/sources/1.37.0/reg/named_type/0.2.1 [INFO] extracting crate named_type 0.2.1 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/named_type/0.2.1 [INFO] validating manifest of named_type-0.2.1 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of named_type-0.2.1 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing named_type-0.2.1 [INFO] finished frobbing named_type-0.2.1 [INFO] frobbed toml for named_type-0.2.1 written to work/ex/beta-1.38-1/sources/1.37.0/reg/named_type/0.2.1/Cargo.toml [INFO] started frobbing named_type-0.2.1 [INFO] finished frobbing named_type-0.2.1 [INFO] frobbed toml for named_type-0.2.1 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/named_type/0.2.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing named_type-0.2.1 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/named_type/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] fd092c5ce0fca2a4a74b872b51214af32a963a7dd034501b761610cd1ec77b8a [INFO] running `"docker" "start" "-a" "fd092c5ce0fca2a4a74b872b51214af32a963a7dd034501b761610cd1ec77b8a"` [INFO] [stderr] Compiling named_type v0.2.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `"docker" "inspect" "fd092c5ce0fca2a4a74b872b51214af32a963a7dd034501b761610cd1ec77b8a"` [INFO] running `"docker" "rm" "-f" "fd092c5ce0fca2a4a74b872b51214af32a963a7dd034501b761610cd1ec77b8a"` [INFO] [stdout] fd092c5ce0fca2a4a74b872b51214af32a963a7dd034501b761610cd1ec77b8a [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/named_type/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] cc0de6be50d7c7470d1379530d230e4bdd9bec95672275d995af7b6d2f790e83 [INFO] running `"docker" "start" "-a" "cc0de6be50d7c7470d1379530d230e4bdd9bec95672275d995af7b6d2f790e83"` [INFO] [stderr] Compiling named_type v0.2.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `"docker" "inspect" "cc0de6be50d7c7470d1379530d230e4bdd9bec95672275d995af7b6d2f790e83"` [INFO] running `"docker" "rm" "-f" "cc0de6be50d7c7470d1379530d230e4bdd9bec95672275d995af7b6d2f790e83"` [INFO] [stdout] cc0de6be50d7c7470d1379530d230e4bdd9bec95672275d995af7b6d2f790e83 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/named_type/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] b6330ce80256494951036ad29ae9f2b2d7f57de688d9de9df634ddd6dd6232a0 [INFO] running `"docker" "start" "-a" "b6330ce80256494951036ad29ae9f2b2d7f57de688d9de9df634ddd6dd6232a0"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/named_type-6b07a93645a734ac [INFO] [stderr] Doc-tests named_type [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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" "b6330ce80256494951036ad29ae9f2b2d7f57de688d9de9df634ddd6dd6232a0"` [INFO] running `"docker" "rm" "-f" "b6330ce80256494951036ad29ae9f2b2d7f57de688d9de9df634ddd6dd6232a0"` [INFO] [stdout] b6330ce80256494951036ad29ae9f2b2d7f57de688d9de9df634ddd6dd6232a0