[INFO] crate named_type 0.2.1 is already in cache [INFO] testing named_type-0.2.1 against beta-2019-09-28 for beta-1.39-1 [INFO] extracting crate named_type 0.2.1 into work/builds/worker-5/source [INFO] validating manifest of crates.io crate named_type 0.2.1 on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "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-5/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/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" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 4fb413bd396122f3ba91d82c556309f8624c6e7c3aab86cfe755be03034de3bb [INFO] running `"docker" "start" "-a" "4fb413bd396122f3ba91d82c556309f8624c6e7c3aab86cfe755be03034de3bb"` [INFO] [stderr] Compiling named_type v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `"docker" "inspect" "4fb413bd396122f3ba91d82c556309f8624c6e7c3aab86cfe755be03034de3bb"` [INFO] running `"docker" "rm" "-f" "4fb413bd396122f3ba91d82c556309f8624c6e7c3aab86cfe755be03034de3bb"` [INFO] [stdout] 4fb413bd396122f3ba91d82c556309f8624c6e7c3aab86cfe755be03034de3bb [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/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" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] b8b0f0dc1d59e1978e713d98141c85c35b0d5e520ef8f205bad0b3f2a67289ea [INFO] running `"docker" "start" "-a" "b8b0f0dc1d59e1978e713d98141c85c35b0d5e520ef8f205bad0b3f2a67289ea"` [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" "b8b0f0dc1d59e1978e713d98141c85c35b0d5e520ef8f205bad0b3f2a67289ea"` [INFO] running `"docker" "rm" "-f" "b8b0f0dc1d59e1978e713d98141c85c35b0d5e520ef8f205bad0b3f2a67289ea"` [INFO] [stdout] b8b0f0dc1d59e1978e713d98141c85c35b0d5e520ef8f205bad0b3f2a67289ea [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/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" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] 493986b55b096feaa52e7a3983ec6c563163084df18b4b0c7a41e11f9dd9f56d [INFO] running `"docker" "start" "-a" "493986b55b096feaa52e7a3983ec6c563163084df18b4b0c7a41e11f9dd9f56d"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/named_type-6753404474897504 [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 `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 `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" "493986b55b096feaa52e7a3983ec6c563163084df18b4b0c7a41e11f9dd9f56d"` [INFO] running `"docker" "rm" "-f" "493986b55b096feaa52e7a3983ec6c563163084df18b4b0c7a41e11f9dd9f56d"` [INFO] [stdout] 493986b55b096feaa52e7a3983ec6c563163084df18b4b0c7a41e11f9dd9f56d