[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#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [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-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sprhawk/helper_enum_from_ffi_macro_derive on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b9db7c456a9ec9b8688a149d1e3a638daab936fbe8fea1ce335d7fbf5a15d0d [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" "7b9db7c456a9ec9b8688a149d1e3a638daab936fbe8fea1ce335d7fbf5a15d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b9db7c456a9ec9b8688a149d1e3a638daab936fbe8fea1ce335d7fbf5a15d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b9db7c456a9ec9b8688a149d1e3a638daab936fbe8fea1ce335d7fbf5a15d0d", kill_on_drop: false }` [INFO] [stdout] 7b9db7c456a9ec9b8688a149d1e3a638daab936fbe8fea1ce335d7fbf5a15d0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bfb2b48f16a4cf33f29b9a164128157b627adced6a0fb2b5f0329f7d19c6546 [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" "7bfb2b48f16a4cf33f29b9a164128157b627adced6a0fb2b5f0329f7d19c6546", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.16 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling thread_local v1.0.1 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 43 | let e = match_device_error!(199); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 43 | let e = match_device_error!(199); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 46 | let e = match_device_error!(n); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 52 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_SUCCESS); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 55 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_INVALID_ARG); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 58 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_UNKNOWN_ERROR); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 61 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_NO_DEVICE); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 64 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_NOT_ENOUGH_DATA); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 67 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_SSL_ERROR); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 70 | let e = match_device_error!(ffi::idevice_error_t_IDEVICE_E_TIMEOUT); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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[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)]` or manually implement `Debug` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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)]` or manually implement `Debug` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (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: build failed [INFO] running `Command { std: "docker" "inspect" "7bfb2b48f16a4cf33f29b9a164128157b627adced6a0fb2b5f0329f7d19c6546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bfb2b48f16a4cf33f29b9a164128157b627adced6a0fb2b5f0329f7d19c6546", kill_on_drop: false }` [INFO] [stdout] 7bfb2b48f16a4cf33f29b9a164128157b627adced6a0fb2b5f0329f7d19c6546