[INFO] crate num_enum_derive 0.4.3 is already in cache [INFO] testing num_enum_derive-0.4.3 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate num_enum_derive 0.4.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate num_enum_derive 0.4.3 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate num_enum_derive 0.4.3 [INFO] finished tweaking crates.io crate num_enum_derive 0.4.3 [INFO] tweaked toml for crates.io crate num_enum_derive 0.4.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stdout] 27c93439b6bc8ecd8e240920c3cb46b37108d0ce614e78583c384ee477963fa6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "27c93439b6bc8ecd8e240920c3cb46b37108d0ce614e78583c384ee477963fa6"` [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling num_enum_derive v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.68s [INFO] running `"docker" "inspect" "27c93439b6bc8ecd8e240920c3cb46b37108d0ce614e78583c384ee477963fa6"` [INFO] running `"docker" "rm" "-f" "27c93439b6bc8ecd8e240920c3cb46b37108d0ce614e78583c384ee477963fa6"` [INFO] [stdout] 27c93439b6bc8ecd8e240920c3cb46b37108d0ce614e78583c384ee477963fa6 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 57f1e539d8afd544a52ec22c0c90227073840f446eeaa502437bff7d85bc3ed9 [INFO] running `"docker" "start" "-a" "57f1e539d8afd544a52ec22c0c90227073840f446eeaa502437bff7d85bc3ed9"` [INFO] [stderr] Compiling num_enum_derive v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `"docker" "inspect" "57f1e539d8afd544a52ec22c0c90227073840f446eeaa502437bff7d85bc3ed9"` [INFO] running `"docker" "rm" "-f" "57f1e539d8afd544a52ec22c0c90227073840f446eeaa502437bff7d85bc3ed9"` [INFO] [stdout] 57f1e539d8afd544a52ec22c0c90227073840f446eeaa502437bff7d85bc3ed9 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stdout] 66290eada10e0042dd79240b89431ef1db664455f92a467752038ef9dd2cb95a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "66290eada10e0042dd79240b89431ef1db664455f92a467752038ef9dd2cb95a"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/num_enum_derive-9e695873ee2cd997 [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 num_enum_derive [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - derive_try_from_primitive (line 153) ... FAILED [INFO] [stdout] test src/lib.rs - derive_into_primitive (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - derive_unsafe_from_primitive (line 258) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_try_from_primitive (line 153) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `num_enum` [INFO] [stdout] --> src/lib.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_enum::TryFromPrimitive; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `num_enum` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `TryFromPrimitive` [INFO] [stdout] --> src/lib.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Eq, PartialEq, TryFromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Number: std::convert::From` is not satisfied [INFO] [stdout] --> src/lib.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 13 | let zero = Number::try_from(0u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `std::convert::From` is not implemented for `Number` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `u8` [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::TryFrom` for `Number` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Number: std::convert::From` is not satisfied [INFO] [stdout] --> src/lib.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 16 | let three = Number::try_from(3u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `std::convert::From` is not implemented for `Number` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `u8` [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::TryFrom` for `Number` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_into_primitive (line 118) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `num_enum` [INFO] [stdout] --> src/lib.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_enum::IntoPrimitive; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `num_enum` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `IntoPrimitive` [INFO] [stdout] --> src/lib.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(IntoPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: std::convert::From` is not satisfied [INFO] [stdout] --> src/lib.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 12 | let zero: u8 = Number::Zero.into(); [INFO] [stdout] | ^^^^ the trait `std::convert::From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `Number` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_unsafe_from_primitive (line 258) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `num_enum` [INFO] [stdout] --> src/lib.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_enum::UnsafeFromPrimitive; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `num_enum` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `UnsafeFromPrimitive` [INFO] [stdout] --> src/lib.rs:261:32 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Eq, PartialEq, UnsafeFromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_unchecked` found for enum `Number` in the current scope [INFO] [stdout] --> src/lib.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 6 | enum Number { [INFO] [stdout] | ----------- variant or associated item `from_unchecked` not found here [INFO] [stdout] ... [INFO] [stdout] 14 | unsafe { Number::from_unchecked(0_u8) }, [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `Number` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_unchecked` found for enum `Number` in the current scope [INFO] [stdout] --> src/lib.rs:275:26 [INFO] [stdout] | [INFO] [stdout] 6 | enum Number { [INFO] [stdout] | ----------- variant or associated item `from_unchecked` not found here [INFO] [stdout] ... [INFO] [stdout] 18 | unsafe { Number::from_unchecked(1_u8) }, [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `Number` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_unchecked` found for enum `Number` in the current scope [INFO] [stdout] --> src/lib.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 6 | enum Number { [INFO] [stdout] | ----------- variant or associated item `from_unchecked` not found here [INFO] [stdout] ... [INFO] [stdout] 23 | let _ = Number::from_unchecked(2); // 2 is not a valid discriminant! [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `Number` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 - derive_into_primitive (line 118) [INFO] [stdout] src/lib.rs - derive_try_from_primitive (line 153) [INFO] [stdout] src/lib.rs - derive_unsafe_from_primitive (line 258) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "66290eada10e0042dd79240b89431ef1db664455f92a467752038ef9dd2cb95a"` [INFO] running `"docker" "rm" "-f" "66290eada10e0042dd79240b89431ef1db664455f92a467752038ef9dd2cb95a"` [INFO] [stdout] 66290eada10e0042dd79240b89431ef1db664455f92a467752038ef9dd2cb95a