[INFO] fetching crate enum_unwrapper 0.1.2... [INFO] testing enum_unwrapper-0.1.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate enum_unwrapper 0.1.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate enum_unwrapper 0.1.2 [INFO] finished tweaking crates.io crate enum_unwrapper 0.1.2 [INFO] tweaked toml for crates.io crate enum_unwrapper 0.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate enum_unwrapper 0.1.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `enum_unwrapper` library target) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0727e0eaf990787943bfe3d86c2388ea40783a76dda28dfe426c98ad3f008627 [INFO] running `Command { std: "docker" "start" "-a" "0727e0eaf990787943bfe3d86c2388ea40783a76dda28dfe426c98ad3f008627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0727e0eaf990787943bfe3d86c2388ea40783a76dda28dfe426c98ad3f008627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0727e0eaf990787943bfe3d86c2388ea40783a76dda28dfe426c98ad3f008627", kill_on_drop: false }` [INFO] [stdout] 0727e0eaf990787943bfe3d86c2388ea40783a76dda28dfe426c98ad3f008627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66f9c107f6ac2a8cde70719a3361d42bd3f33e768cf5890bbf5a01e65ed65310 [INFO] running `Command { std: "docker" "start" "-a" "66f9c107f6ac2a8cde70719a3361d42bd3f33e768cf5890bbf5a01e65ed65310", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `enum_unwrapper` library target) [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling enum_unwrapper v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.08s [INFO] running `Command { std: "docker" "inspect" "66f9c107f6ac2a8cde70719a3361d42bd3f33e768cf5890bbf5a01e65ed65310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66f9c107f6ac2a8cde70719a3361d42bd3f33e768cf5890bbf5a01e65ed65310", kill_on_drop: false }` [INFO] [stdout] 66f9c107f6ac2a8cde70719a3361d42bd3f33e768cf5890bbf5a01e65ed65310 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 718dc9f74c834dedf940687336f0745413e2aa6dbfdcb49ae1111704c461199c [INFO] running `Command { std: "docker" "start" "-a" "718dc9f74c834dedf940687336f0745413e2aa6dbfdcb49ae1111704c461199c", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `enum_unwrapper` library target) [INFO] [stderr] Compiling enum_unwrapper v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "718dc9f74c834dedf940687336f0745413e2aa6dbfdcb49ae1111704c461199c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "718dc9f74c834dedf940687336f0745413e2aa6dbfdcb49ae1111704c461199c", kill_on_drop: false }` [INFO] [stdout] 718dc9f74c834dedf940687336f0745413e2aa6dbfdcb49ae1111704c461199c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7a196cea42ac874fd54e343657d6edebd1234e9fd5c3bf5f707c45a7b718d4c [INFO] running `Command { std: "docker" "start" "-a" "e7a196cea42ac874fd54e343657d6edebd1234e9fd5c3bf5f707c45a7b718d4c", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `enum_unwrapper` library target) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/enum_unwrapper-e27f2be8711d71b8) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests enum_unwrapper [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - unique_try_froms (line 46) - compile ... FAILED [INFO] [stdout] test src/lib.rs - unique_try_froms (line 50) - compile ... FAILED [INFO] [stdout] test src/lib.rs - unique_try_froms (line 28) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - unique_try_froms (line 46) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/lib.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | Variant(u8,u8), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 47 | Variant!(u8,u8), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - unique_try_froms (line 50) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/lib.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | Variant([u8;2]), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 51 | Variant!([u8;2]), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - unique_try_froms (line 28) stdout ---- [INFO] [stdout] error: cannot find attribute `unique_try_froms` in this scope [INFO] [stdout] --> src/lib.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[unique_try_froms()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 29 + use enum_unwrapper::unique_try_froms; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: TryFrom` is not satisfied [INFO] [stdout] --> src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(4,u8::try_from(small_number).unwrap()); [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ascii/ascii_char.rs:1171:0 [INFO] [stdout] | [INFO] [stdout] = note: `u8` implements `From` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/convert/num.rs:86:0 [INFO] [stdout] | [INFO] [stdout] = note: `u8` implements `From` [INFO] [stdout] = note: required for `NumberHolder` to implement `Into` [INFO] [stdout] = note: required for `u8` to implement `TryFrom` [INFO] [stdout] = note: this error originates in the macro `into_int_impl` which comes from the expansion of the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: TryFrom` is not satisfied [INFO] [stdout] --> src/lib.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(444,u16::try_from(big_number).unwrap()); [INFO] [stdout] | ^^^ the trait `From` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ascii/ascii_char.rs:1171:0 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `From` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/convert/num.rs:87:0 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `From` [INFO] [stdout] ::: /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/convert/num.rs:100:0 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `From` [INFO] [stdout] = note: required for `NumberHolder` to implement `Into` [INFO] [stdout] = note: required for `u16` to implement `TryFrom` [INFO] [stdout] = note: this error originates in the macro `into_int_impl` which comes from the expansion of the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(4,u8::try_from(small_number).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ascii/ascii_char.rs:1171:0 [INFO] [stdout] | [INFO] [stdout] = note: `u8` implements `From` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/convert/num.rs:86:0 [INFO] [stdout] | [INFO] [stdout] = note: `u8` implements `From` [INFO] [stdout] = note: required for `NumberHolder` to implement `Into` [INFO] [stdout] = note: required for `u8` to implement `TryFrom` [INFO] [stdout] = note: this error originates in the macro `into_int_impl` which comes from the expansion of the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: From` is not satisfied [INFO] [stdout] --> src/lib.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(444,u16::try_from(big_number).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ascii/ascii_char.rs:1171:0 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `From` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/convert/num.rs:87:0 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `From` [INFO] [stdout] ::: /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/convert/num.rs:100:0 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `From` [INFO] [stdout] = note: required for `NumberHolder` to implement `Into` [INFO] [stdout] = note: required for `u16` to implement `TryFrom` [INFO] [stdout] = note: this error originates in the macro `into_int_impl` which comes from the expansion of the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - unique_try_froms (line 28) [INFO] [stdout] src/lib.rs - unique_try_froms (line 46) [INFO] [stdout] src/lib.rs - unique_try_froms (line 50) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e7a196cea42ac874fd54e343657d6edebd1234e9fd5c3bf5f707c45a7b718d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a196cea42ac874fd54e343657d6edebd1234e9fd5c3bf5f707c45a7b718d4c", kill_on_drop: false }` [INFO] [stdout] e7a196cea42ac874fd54e343657d6edebd1234e9fd5c3bf5f707c45a7b718d4c