[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] testing sprhawk/helper_enum_from_ffi_macro_derive against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sprhawk/helper_enum_from_ffi_macro_derive on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.9 [INFO] [stderr] Downloaded syn v1.0.16 [INFO] [stderr] Downloaded regex v1.3.4 [INFO] [stderr] Downloaded regex-syntax v0.6.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f9797468c4d7999d5aadc2cae5b42df3feb17f1aa4f41e76a3504097a2824ff [INFO] running `Command { std: "docker" "start" "-a" "5f9797468c4d7999d5aadc2cae5b42df3feb17f1aa4f41e76a3504097a2824ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f9797468c4d7999d5aadc2cae5b42df3feb17f1aa4f41e76a3504097a2824ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f9797468c4d7999d5aadc2cae5b42df3feb17f1aa4f41e76a3504097a2824ff", kill_on_drop: false }` [INFO] [stdout] 5f9797468c4d7999d5aadc2cae5b42df3feb17f1aa4f41e76a3504097a2824ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 386c946d0014e1133aabf9e3681d62beb44bf3afd670e0a6d01f389e3378c989 [INFO] running `Command { std: "docker" "start" "-a" "386c946d0014e1133aabf9e3681d62beb44bf3afd670e0a6d01f389e3378c989", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling regex-syntax v0.6.16 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling 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] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) 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] [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 `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [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` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `DeviceError` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Debug)] [INFO] [stdout] 23 | pub enum DeviceError { [INFO] [stdout] | [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` (bin "main") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "386c946d0014e1133aabf9e3681d62beb44bf3afd670e0a6d01f389e3378c989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "386c946d0014e1133aabf9e3681d62beb44bf3afd670e0a6d01f389e3378c989", kill_on_drop: false }` [INFO] [stdout] 386c946d0014e1133aabf9e3681d62beb44bf3afd670e0a6d01f389e3378c989