[INFO] fetching crate json_api_derive 0.1.0... [INFO] checking json_api_derive-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate json_api_derive 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate json_api_derive 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate json_api_derive 0.1.0 [INFO] finished tweaking crates.io crate json_api_derive 0.1.0 [INFO] tweaked toml for crates.io crate json_api_derive 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98890b15b67b85ea37f1b1d7f3129266fdb3954d4ec140d381ac002f6ee6dab2 [INFO] running `Command { std: "docker" "start" "-a" "98890b15b67b85ea37f1b1d7f3129266fdb3954d4ec140d381ac002f6ee6dab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98890b15b67b85ea37f1b1d7f3129266fdb3954d4ec140d381ac002f6ee6dab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98890b15b67b85ea37f1b1d7f3129266fdb3954d4ec140d381ac002f6ee6dab2", kill_on_drop: false }` [INFO] [stdout] 98890b15b67b85ea37f1b1d7f3129266fdb3954d4ec140d381ac002f6ee6dab2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e555401c3bba86026d3e2fba1e88edc0d52cb501bb52c44fd0e0ffa5c9eaf74d [INFO] running `Command { std: "docker" "start" "-a" "e555401c3bba86026d3e2fba1e88edc0d52cb501bb52c44fd0e0ffa5c9eaf74d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking json_api_derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> src/context/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::export::ToTokens; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> src/context/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::export::ToTokens; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_token_stream` found for reference `&DeriveInput` in the current scope [INFO] [stdout] --> src/context/mod.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | ast.to_token_stream(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_token_stream` with a similar name [INFO] [stdout] | [INFO] [stdout] 133 | ast.into_token_stream(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_token_stream` found for reference `&syn::Field` in the current scope [INFO] [stdout] --> src/context/mod.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | ... field.to_token_stream(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_token_stream` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 | field.into_token_stream(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json_api_derive` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `to_token_stream` found for reference `&DeriveInput` in the current scope [INFO] [stdout] --> src/context/mod.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | ast.to_token_stream(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_token_stream` with a similar name [INFO] [stdout] | [INFO] [stdout] 133 | ast.into_token_stream(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_token_stream` found for reference `&syn::Field` in the current scope [INFO] [stdout] --> src/context/mod.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | ... field.to_token_stream(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_token_stream` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 | field.into_token_stream(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json_api_derive` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e555401c3bba86026d3e2fba1e88edc0d52cb501bb52c44fd0e0ffa5c9eaf74d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e555401c3bba86026d3e2fba1e88edc0d52cb501bb52c44fd0e0ffa5c9eaf74d", kill_on_drop: false }` [INFO] [stdout] e555401c3bba86026d3e2fba1e88edc0d52cb501bb52c44fd0e0ffa5c9eaf74d