[INFO] fetching crate enum_unwrapper 0.1.2... [INFO] testing enum_unwrapper-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate enum_unwrapper 0.1.2 into /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate enum_unwrapper 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8edc53fdd2f9631aca25e6b10fc9d70015d3a655efad5e223d0bceb178229f11 [INFO] running `Command { std: "docker" "start" "-a" "8edc53fdd2f9631aca25e6b10fc9d70015d3a655efad5e223d0bceb178229f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8edc53fdd2f9631aca25e6b10fc9d70015d3a655efad5e223d0bceb178229f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8edc53fdd2f9631aca25e6b10fc9d70015d3a655efad5e223d0bceb178229f11", kill_on_drop: false }` [INFO] [stdout] 8edc53fdd2f9631aca25e6b10fc9d70015d3a655efad5e223d0bceb178229f11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e7e3ae8c3711fc391abcc59fbe7ef5b02ee42da534e4cd7f263efe5abbffdec [INFO] running `Command { std: "docker" "start" "-a" "6e7e3ae8c3711fc391abcc59fbe7ef5b02ee42da534e4cd7f263efe5abbffdec", 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 4.89s [INFO] running `Command { std: "docker" "inspect" "6e7e3ae8c3711fc391abcc59fbe7ef5b02ee42da534e4cd7f263efe5abbffdec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7e3ae8c3711fc391abcc59fbe7ef5b02ee42da534e4cd7f263efe5abbffdec", kill_on_drop: false }` [INFO] [stdout] 6e7e3ae8c3711fc391abcc59fbe7ef5b02ee42da534e4cd7f263efe5abbffdec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8586ac3e72357711b5904cd55f941b2f82ef1898074bfd866eb5ad1422ed7270 [INFO] running `Command { std: "docker" "start" "-a" "8586ac3e72357711b5904cd55f941b2f82ef1898074bfd866eb5ad1422ed7270", 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.48s [INFO] running `Command { std: "docker" "inspect" "8586ac3e72357711b5904cd55f941b2f82ef1898074bfd866eb5ad1422ed7270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8586ac3e72357711b5904cd55f941b2f82ef1898074bfd866eb5ad1422ed7270", kill_on_drop: false }` [INFO] [stdout] 8586ac3e72357711b5904cd55f941b2f82ef1898074bfd866eb5ad1422ed7270 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc13a2b3a5e2a756754e22078cf6038aaf879075abda58426a0628e6fe76946d [INFO] running `Command { std: "docker" "start" "-a" "cc13a2b3a5e2a756754e22078cf6038aaf879075abda58426a0628e6fe76946d", 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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/enum_unwrapper-e27f2be8711d71b8) [INFO] [stdout] [INFO] [stderr] Doc-tests enum_unwrapper [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] [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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ascii/ascii_char.rs:1171:0 [INFO] [stdout] | [INFO] [stdout] = note: `u8` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ascii/ascii_char.rs:1171:0 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:87:0 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ascii/ascii_char.rs:1171:0 [INFO] [stdout] | [INFO] [stdout] = note: `u8` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ascii/ascii_char.rs:1171:0 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:87:0 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cc13a2b3a5e2a756754e22078cf6038aaf879075abda58426a0628e6fe76946d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc13a2b3a5e2a756754e22078cf6038aaf879075abda58426a0628e6fe76946d", kill_on_drop: false }` [INFO] [stdout] cc13a2b3a5e2a756754e22078cf6038aaf879075abda58426a0628e6fe76946d