[INFO] cloning repository https://github.com/sprhawk/helper_enum_from_ffi_macro_derive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sprhawk/helper_enum_from_ffi_macro_derive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsprhawk%2Fhelper_enum_from_ffi_macro_derive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsprhawk%2Fhelper_enum_from_ffi_macro_derive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a25701d1ae9fc96e154407cf272264af29c3138 [INFO] checking sprhawk/helper_enum_from_ffi_macro_derive against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsprhawk%2Fhelper_enum_from_ffi_macro_derive" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sprhawk/helper_enum_from_ffi_macro_derive on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sprhawk/helper_enum_from_ffi_macro_derive [INFO] finished tweaking git repo https://github.com/sprhawk/helper_enum_from_ffi_macro_derive [INFO] tweaked toml for git repo https://github.com/sprhawk/helper_enum_from_ffi_macro_derive written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/sprhawk/helper_enum_from_ffi_macro_derive already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fb5fa26a719559209c5df405ec368313ba2626892c7a7b7aadd041c1d0fdc1b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4fb5fa26a719559209c5df405ec368313ba2626892c7a7b7aadd041c1d0fdc1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fb5fa26a719559209c5df405ec368313ba2626892c7a7b7aadd041c1d0fdc1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb5fa26a719559209c5df405ec368313ba2626892c7a7b7aadd041c1d0fdc1b", kill_on_drop: false }` [INFO] [stdout] 4fb5fa26a719559209c5df405ec368313ba2626892c7a7b7aadd041c1d0fdc1b [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b68a1a8d3276e18ca012f1e763b0fc1c7420c960cc0362529dedb0f5be89adbd [INFO] running `Command { std: "docker" "start" "-a" "b68a1a8d3276e18ca012f1e763b0fc1c7420c960cc0362529dedb0f5be89adbd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.16 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking quote v1.0.3 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking helper_enum_from_ffi_macro_derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/bin/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 43 | let e = match_device_error!(199); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in the macro `match_device_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] 21 + [match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/bin/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 43 | let e = match_device_error!(199); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in the macro `match_device_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] 21 + [match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> tests/test_1.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 46 | let e = match_device_error!(n); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in the macro `match_device_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] 21 + [match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> tests/test_1.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 52 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_SUCCESS); [INFO] [stdout] | ----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `match_device_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] 21 + [match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> tests/test_1.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 55 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_INVALID_ARG); [INFO] [stdout] | --------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `match_device_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] 21 + [match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> tests/test_1.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 58 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_UNKNOWN_ERROR); [INFO] [stdout] | ----------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `match_device_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] 21 + [match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> tests/test_1.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 61 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_NO_DEVICE); [INFO] [stdout] | ------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `match_device_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] 21 + [match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> tests/test_1.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 64 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_NOT_ENOUGH_DATA); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `match_device_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] 21 + [match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> tests/test_1.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 67 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_SSL_ERROR); [INFO] [stdout] | ------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `match_device_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] 21 + [match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> tests/test_1.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 70 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_TIMEOUT); [INFO] [stdout] | ----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `match_device_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - #[match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_")] [INFO] [stdout] 21 + [match_enum_from_ffi(prefix="ffi::idevice_error_t_IDEVICE_E_") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `DeviceError` doesn't implement `Debug` [INFO] [stdout] --> src/bin/main.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | println!("returned {:#?}", e); [INFO] [stdout] | ^ `DeviceError` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `DeviceError` [INFO] [stdout] = note: add `#[derive(Debug)]` to `DeviceError` or manually `impl Debug for DeviceError` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `helper_enum_from_ffi_macro_derive` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `DeviceError` doesn't implement `Debug` [INFO] [stdout] --> src/bin/main.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | println!("returned {:#?}", e); [INFO] [stdout] | ^ `DeviceError` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `DeviceError` [INFO] [stdout] = note: add `#[derive(Debug)]` to `DeviceError` or manually `impl Debug for DeviceError` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b68a1a8d3276e18ca012f1e763b0fc1c7420c960cc0362529dedb0f5be89adbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68a1a8d3276e18ca012f1e763b0fc1c7420c960cc0362529dedb0f5be89adbd", kill_on_drop: false }` [INFO] [stdout] b68a1a8d3276e18ca012f1e763b0fc1c7420c960cc0362529dedb0f5be89adbd