[INFO] cloning repository https://github.com/JosephBond/struct-translate
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JosephBond/struct-translate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephBond%2Fstruct-translate", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephBond%2Fstruct-translate'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e3b3abcc51f249edc800be540271af70ccf3eb09
[INFO] checking JosephBond/struct-translate against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephBond%2Fstruct-translate" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JosephBond/struct-translate
[INFO] finished tweaking git repo https://github.com/JosephBond/struct-translate
[INFO] tweaked toml for git repo https://github.com/JosephBond/struct-translate written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JosephBond/struct-translate on toolchain e977a0b5ab976a591981e7263bd67a71a4f79308
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JosephBond/struct-translate 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" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "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 syn v1.0.87
[INFO] [stderr]   Downloaded libc v0.2.120
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] efca084e953ac1b3df454e1a73b6a43733587d2c24a5ec027223baade4cd35ee
[INFO] running `Command { std: "docker" "start" "efca084e953ac1b3df454e1a73b6a43733587d2c24a5ec027223baade4cd35ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "efca084e953ac1b3df454e1a73b6a43733587d2c24a5ec027223baade4cd35ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "efca084e953ac1b3df454e1a73b6a43733587d2c24a5ec027223baade4cd35ee" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "efca084e953ac1b3df454e1a73b6a43733587d2c24a5ec027223baade4cd35ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "efca084e953ac1b3df454e1a73b6a43733587d2c24a5ec027223baade4cd35ee" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.87
[INFO] [stderr]    Compiling libc v0.2.120
[INFO] [stderr]     Checking quote v1.0.15
[INFO] [stderr]    Compiling d_parse v0.1.0 (/opt/rustwide/workdir/d_parse)
[INFO] [stdout] warning: unused imports: `PathArguments`, `PathSegment`, `Path`, `TypePath`, and `punctuated::Punctuated`
[INFO] [stdout]  --> d_parse/src/lib.rs:3:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{parse_macro_input, DeriveInput, Data, Fields, Type, Path, TypePath, punctuated::Punctuated, PathSegment, PathArguments, FnA...
[INFO] [stdout]   |                                                               ^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> d_parse/src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `func_def_translate` is never used
[INFO] [stdout]    --> d_parse/src/lib.rs:135:4
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn func_def_translate(item: syn::ItemFn) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_fn_arg_ty` is never used
[INFO] [stdout]    --> d_parse/src/lib.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn process_fn_arg_ty(arg: syn::FnArg, mut type_gen: FreshNameGen) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking struct_translate v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] Struct name is Tester
[INFO] [stderr] Constructing fields!
[INFO] [stderr] Constructed fields!
[INFO] [stderr] checking field 1
[INFO] [stderr] "path"
[INFO] [stderr] Did not find pointer type
[INFO] [stderr] checking field 2
[INFO] [stderr] "ptr"
[INFO] [stderr] found ptr
[INFO] [stderr] checking field 3
[INFO] [stderr] "path"
[INFO] [stderr] Did not find pointer type
[INFO] [stderr] ["i32", "Box<Option<X0>>", "Box < Option < i32 > >"]
[INFO] [stderr] "struct NewTester < \"X0\" >\n{\n    \"fieldone\" : \"i32\", \"fieldtwo\" : \"Box<Option<X0>>\", \"fieldthree\" :\n    \"Box < Option < i32 > >\"\n}"
[INFO] [stdout] error: expected one of `#`, `>`, `const`, identifier, or lifetime, found `"X0"`
[INFO] [stdout]  --> src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(MyMacro)]
[INFO] [stdout]   |          ^^^^^^^ expected one of `#`, `>`, `const`, identifier, or lifetime
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the derive macro `MyMacro` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] Struct name is Tester
[INFO] [stdout] error: proc-macro derive produced unparsable tokens
[INFO] [stdout]  --> src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(MyMacro)]
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] Constructing fields!
[INFO] [stdout] warning: unused import: `libc::c_void`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use libc::c_void;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] Constructed fields!
[INFO] [stdout] error: expected one of `#`, `>`, `const`, identifier, or lifetime, found `"X0"`
[INFO] [stdout]  --> src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(MyMacro)]
[INFO] [stdout]   |          ^^^^^^^ expected one of `#`, `>`, `const`, identifier, or lifetime
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the derive macro `MyMacro` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] checking field 1
[INFO] [stdout] error: proc-macro derive produced unparsable tokens
[INFO] [stdout]  --> src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(MyMacro)]
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] "path"
[INFO] [stderr] Did not find pointer type
[INFO] [stderr] checking field 2
[INFO] [stderr] "ptr"
[INFO] [stderr] found ptr
[INFO] [stderr] checking field 3
[INFO] [stderr] "path"
[INFO] [stderr] Did not find pointer type
[INFO] [stderr] ["i32", "Box<Option<X0>>", "Box < Option < i32 > >"]
[INFO] [stderr] "struct NewTester < \"X0\" >\n{\n    \"fieldone\" : \"i32\", \"fieldtwo\" : \"Box<Option<X0>>\", \"fieldthree\" :\n    \"Box < Option < i32 > >\"\n}"
[INFO] [stdout] warning: unused import: `libc::c_void`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use libc::c_void;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `struct_translate` (bin "struct_translate") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `struct_translate` (bin "struct_translate" test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "efca084e953ac1b3df454e1a73b6a43733587d2c24a5ec027223baade4cd35ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efca084e953ac1b3df454e1a73b6a43733587d2c24a5ec027223baade4cd35ee", kill_on_drop: false }`
[INFO] [stdout] efca084e953ac1b3df454e1a73b6a43733587d2c24a5ec027223baade4cd35ee
