[INFO] fetching crate num_enum_derive 0.7.4... [INFO] testing num_enum_derive-0.7.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate num_enum_derive 0.7.4 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate num_enum_derive 0.7.4 [INFO] finished tweaking crates.io crate num_enum_derive 0.7.4 [INFO] tweaked toml for crates.io crate num_enum_derive 0.7.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate num_enum_derive 0.7.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate num_enum_derive 0.7.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66ae637634a39f66c5b654bc4cd6c6c7fcd0158f64cb2038cfec341640b17cde [INFO] running `Command { std: "docker" "start" "-a" "66ae637634a39f66c5b654bc4cd6c6c7fcd0158f64cb2038cfec341640b17cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66ae637634a39f66c5b654bc4cd6c6c7fcd0158f64cb2038cfec341640b17cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ae637634a39f66c5b654bc4cd6c6c7fcd0158f64cb2038cfec341640b17cde", kill_on_drop: false }` [INFO] [stdout] 66ae637634a39f66c5b654bc4cd6c6c7fcd0158f64cb2038cfec341640b17cde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87018ccb9dad5ba677434e59d0ea63b55dc8187ccd60d288bd47456c7693764d [INFO] running `Command { std: "docker" "start" "-a" "87018ccb9dad5ba677434e59d0ea63b55dc8187ccd60d288bd47456c7693764d", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling toml_datetime v0.6.7 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.23s [INFO] running `Command { std: "docker" "inspect" "87018ccb9dad5ba677434e59d0ea63b55dc8187ccd60d288bd47456c7693764d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87018ccb9dad5ba677434e59d0ea63b55dc8187ccd60d288bd47456c7693764d", kill_on_drop: false }` [INFO] [stdout] 87018ccb9dad5ba677434e59d0ea63b55dc8187ccd60d288bd47456c7693764d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0707d6da20fcb4ac71716bc64f5bbd98f6a0a04e9539eea8c50ae2b60b262a5f [INFO] running `Command { std: "docker" "start" "-a" "0707d6da20fcb4ac71716bc64f5bbd98f6a0a04e9539eea8c50ae2b60b262a5f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling num_enum_derive v0.7.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "0707d6da20fcb4ac71716bc64f5bbd98f6a0a04e9539eea8c50ae2b60b262a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0707d6da20fcb4ac71716bc64f5bbd98f6a0a04e9539eea8c50ae2b60b262a5f", kill_on_drop: false }` [INFO] [stdout] 0707d6da20fcb4ac71716bc64f5bbd98f6a0a04e9539eea8c50ae2b60b262a5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf601f71e03cda33bf01126c93bfa6790b87cd392da813d3c606e0145008c9f1 [INFO] running `Command { std: "docker" "start" "-a" "bf601f71e03cda33bf01126c93bfa6790b87cd392da813d3c606e0145008c9f1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/num_enum_derive-e3baf4528046c604) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test enum_attributes::test::missing_both ... ok [INFO] [stdout] test enum_attributes::test::extra_attr ... ok [INFO] [stdout] test enum_attributes::test::missing_name ... ok [INFO] [stdout] test enum_attributes::test::multiple_constructors ... ok [INFO] [stdout] test enum_attributes::test::parse_num_enum_attr ... ok [INFO] [stdout] test enum_attributes::test::multiple_names ... ok [INFO] [stdout] test enum_attributes::test::missing_constructor ... ok [INFO] [stderr] Doc-tests num_enum_derive [INFO] [stdout] test enum_attributes::test::parse_num_enum_attr_swapped_order ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - derive_try_from_primitive (line 170) ... FAILED [INFO] [stdout] test src/lib.rs - derive_into_primitive (line 23) ... FAILED [INFO] [stdout] test src/lib.rs - derive_unsafe_from_primitive (line 277) ... FAILED [INFO] [stdout] test src/lib.rs - derive_default (line 327) ... FAILED [INFO] [stdout] test src/lib.rs - derive_from_primitive (line 70) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_try_from_primitive (line 170) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `num_enum` [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_enum::TryFromPrimitive; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `num_enum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_enum`, use `cargo add num_enum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Number: TryFrom` is not satisfied [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 13 | let zero = Number::try_from(0u8); [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `Number` [INFO] [stdout] --> src/lib.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum Number { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: required for `u8` to implement `Into` [INFO] [stdout] = note: required for `Number` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Number: TryFrom` is not satisfied [INFO] [stdout] --> src/lib.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 16 | let three = Number::try_from(3u8); [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `Number` [INFO] [stdout] --> src/lib.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum Number { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: required for `u8` to implement `Into` [INFO] [stdout] = note: required for `Number` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Number: From` is not satisfied [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 13 | let zero = Number::try_from(0u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `Number` [INFO] [stdout] --> src/lib.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum Number { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: required for `u8` to implement `Into` [INFO] [stdout] = note: required for `Number` to implement `TryFrom` [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 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `num_enum` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_enum::IntoPrimitive; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `num_enum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_enum`, use `cargo add num_enum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> src/lib.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 12 | let zero: u8 = Number::Zero.into(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] = note: required for `Number` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 277) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `num_enum` [INFO] [stdout] --> src/lib.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_enum::UnsafeFromPrimitive; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `num_enum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_enum`, use `cargo add num_enum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unchecked_transmute_from` found for enum `Number` in the current scope [INFO] [stdout] --> src/lib.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 6 | enum Number { [INFO] [stdout] | ----------- variant or associated item `unchecked_transmute_from` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 14 | unsafe { Number::unchecked_transmute_from(0_u8) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Number` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unchecked_transmute_from` found for enum `Number` in the current scope [INFO] [stdout] --> src/lib.rs:294:26 [INFO] [stdout] | [INFO] [stdout] 6 | enum Number { [INFO] [stdout] | ----------- variant or associated item `unchecked_transmute_from` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 18 | unsafe { Number::unchecked_transmute_from(1_u8) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Number` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unchecked_transmute_from` found for enum `Number` in the current scope [INFO] [stdout] --> src/lib.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 6 | enum Number { [INFO] [stdout] | ----------- variant or associated item `unchecked_transmute_from` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 23 | let _ = Number::unchecked_transmute_from(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 4 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 - derive_default (line 327) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_enum` [INFO] [stdout] --> src/lib.rs:328:32 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Eq, PartialEq, num_enum::Default)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `num_enum` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `default` in this scope [INFO] [stdout] --> src/lib.rs:332:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[default] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a derive [INFO] [stdout] | [INFO] [stdout] 5 + #[derive(Default)] [INFO] [stdout] 6 | enum Number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `default` found for enum `Number` in the current scope [INFO] [stdout] --> src/lib.rs:336:33 [INFO] [stdout] | [INFO] [stdout] 5 | enum Number { [INFO] [stdout] | ----------- variant or associated item `default` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 11 | assert_eq!(Number::One, Number::default()); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Number` [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 `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Number: Default` is not satisfied [INFO] [stdout] --> src/lib.rs:337:26 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(Number::One, ::default()); [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Default` is not implemented for `Number` [INFO] [stdout] --> src/lib.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 5 | enum Number { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [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_from_primitive (line 70) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `num_enum` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_enum::FromPrimitive; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `num_enum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_enum`, use `cargo add num_enum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `num_enum` in this scope [INFO] [stdout] --> src/lib.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[num_enum(default)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `num_enum` is an attribute that can be used by the derive macros `Default`, `FromPrimitive`, `IntoPrimitive`, `TryFromPrimitive` and `UnsafeFromPrimitive`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Default, FromPrimitive, IntoPrimitive, TryFromPrimitive, UnsafeFromPrimitive)] [INFO] [stdout] 8 | enum Number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 13 | let zero = Number::from(0u8); [INFO] [stdout] | ------------ ^^^ expected `Number`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 16 | let one = Number::from(1u8); [INFO] [stdout] | ------------ ^^^ expected `Number`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 19 | let two = Number::from(2u8); [INFO] [stdout] | ------------ ^^^ expected `Number`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_default (line 327) [INFO] [stdout] src/lib.rs - derive_from_primitive (line 70) [INFO] [stdout] src/lib.rs - derive_into_primitive (line 23) [INFO] [stdout] src/lib.rs - derive_try_from_primitive (line 170) [INFO] [stdout] src/lib.rs - derive_unsafe_from_primitive (line 277) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bf601f71e03cda33bf01126c93bfa6790b87cd392da813d3c606e0145008c9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf601f71e03cda33bf01126c93bfa6790b87cd392da813d3c606e0145008c9f1", kill_on_drop: false }` [INFO] [stdout] bf601f71e03cda33bf01126c93bfa6790b87cd392da813d3c606e0145008c9f1