[INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-push.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen/hooks/pre-push.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d69502f52daa56298466089122cb4c441de18f9 [INFO] testing ZhangHanDong/proc_codegen/1d69502f52daa56298466089122cb4c441de18f9 against master#8dd5cd0bc1d683c30805e1dc831cac546b621a75 for pr-131095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZhangHanDong/proc_codegen on toolchain 8dd5cd0bc1d683c30805e1dc831cac546b621a75 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZhangHanDong/proc_codegen [INFO] finished tweaking git repo https://github.com/ZhangHanDong/proc_codegen [INFO] tweaked toml for git repo https://github.com/ZhangHanDong/proc_codegen written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ZhangHanDong/proc_codegen 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" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d55abac46b632d49882c732a424ecb71f1db984f3908668dd5f36b4d5e577a9a [INFO] running `Command { std: "docker" "start" "-a" "d55abac46b632d49882c732a424ecb71f1db984f3908668dd5f36b4d5e577a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d55abac46b632d49882c732a424ecb71f1db984f3908668dd5f36b4d5e577a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55abac46b632d49882c732a424ecb71f1db984f3908668dd5f36b4d5e577a9a", kill_on_drop: false }` [INFO] [stdout] d55abac46b632d49882c732a424ecb71f1db984f3908668dd5f36b4d5e577a9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4719a958a8efbab3dea6585c944ce7f681625640117903eb590e3c8a01848fe [INFO] running `Command { std: "docker" "start" "-a" "d4719a958a8efbab3dea6585c944ce7f681625640117903eb590e3c8a01848fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling codegen v0.1.0 (/opt/rustwide/workdir/codegen) [INFO] [stdout] warning: unused imports: `Expr`, `Type`, and `parenthesized` [INFO] [stdout] --> codegen/src/lib.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | syn::{parenthesized, braced, Field, Expr, Type, parse_macro_input, token, Ident, Token}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml` [INFO] [stdout] --> codegen/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> codegen/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> codegen/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> codegen/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> codegen/src/genstruct.rs:101:45 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn struct_by_conf_to_tokenstream(input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> codegen/src/genstruct.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut fields_quote = { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> codegen/src/genstruct.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut args_quote = { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> codegen/src/genstruct.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut args_name_quote = { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tagged` is never read [INFO] [stdout] --> codegen/src/conf.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct StructEntry { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] 18 | pub(crate) tagged: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `brace_token` is never read [INFO] [stdout] --> codegen/src/genstruct.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Genstruct { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 8 | pub name: Ident, [INFO] [stdout] 9 | pub brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfPath` is never constructed [INFO] [stdout] --> codegen/src/genstruct.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) struct ConfPath { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/src/conf.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Basic` [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] 10 | pub(crate) struct Basic { [INFO] [stdout] | ----- `Basic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/src/conf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_StructEntry` [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] 16 | pub(crate) struct StructEntry { [INFO] [stdout] | ----------- `StructEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/src/conf.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] 24 | pub(crate) struct Conf{ [INFO] [stdout] | ---- `Conf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc_codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `derive` is never read [INFO] [stdout] --> src/conf.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct Basic { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | pub(crate) derive: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Basic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `tagged`, and `fields` are never read [INFO] [stdout] --> src/conf.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct StructEntry { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub(crate) tagged: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub(crate) fields: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic` and `structs` are never read [INFO] [stdout] --> src/conf.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct Conf{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | pub(crate) basic: Basic, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub(crate) structs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Conf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/conf.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Basic` [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] 10 | pub(crate) struct Basic { [INFO] [stdout] | ----- `Basic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/conf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_StructEntry` [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] 16 | pub(crate) struct StructEntry { [INFO] [stdout] | ----------- `StructEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/conf.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] 24 | pub(crate) struct Conf{ [INFO] [stdout] | ---- `Conf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.23s [INFO] running `Command { std: "docker" "inspect" "d4719a958a8efbab3dea6585c944ce7f681625640117903eb590e3c8a01848fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4719a958a8efbab3dea6585c944ce7f681625640117903eb590e3c8a01848fe", kill_on_drop: false }` [INFO] [stdout] d4719a958a8efbab3dea6585c944ce7f681625640117903eb590e3c8a01848fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb8cb34ee9936a66bed4957b08216e654e000302458b631cb3e1ee0204b829d2 [INFO] running `Command { std: "docker" "start" "-a" "fb8cb34ee9936a66bed4957b08216e654e000302458b631cb3e1ee0204b829d2", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Expr`, `Type`, and `parenthesized` [INFO] [stdout] --> codegen/src/lib.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | syn::{parenthesized, braced, Field, Expr, Type, parse_macro_input, token, Ident, Token}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml` [INFO] [stdout] --> codegen/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> codegen/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> codegen/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> codegen/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> codegen/src/genstruct.rs:101:45 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn struct_by_conf_to_tokenstream(input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> codegen/src/genstruct.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut fields_quote = { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> codegen/src/genstruct.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut args_quote = { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> codegen/src/genstruct.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut args_name_quote = { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tagged` is never read [INFO] [stdout] --> codegen/src/conf.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct StructEntry { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] 18 | pub(crate) tagged: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `brace_token` is never read [INFO] [stdout] --> codegen/src/genstruct.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Genstruct { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 8 | pub name: Ident, [INFO] [stdout] 9 | pub brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfPath` is never constructed [INFO] [stdout] --> codegen/src/genstruct.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) struct ConfPath { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/src/conf.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Basic` [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] 10 | pub(crate) struct Basic { [INFO] [stdout] | ----- `Basic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/src/conf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_StructEntry` [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] 16 | pub(crate) struct StructEntry { [INFO] [stdout] | ----------- `StructEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc_codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/src/conf.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] 24 | pub(crate) struct Conf{ [INFO] [stdout] | ---- `Conf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `derive` is never read [INFO] [stdout] --> src/conf.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct Basic { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | pub(crate) derive: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Basic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `tagged`, and `fields` are never read [INFO] [stdout] --> src/conf.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct StructEntry { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub(crate) tagged: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub(crate) fields: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic` and `structs` are never read [INFO] [stdout] --> src/conf.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct Conf{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | pub(crate) basic: Basic, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub(crate) structs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Conf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/conf.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Basic` [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] 10 | pub(crate) struct Basic { [INFO] [stdout] | ----- `Basic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/conf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_StructEntry` [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] 16 | pub(crate) struct StructEntry { [INFO] [stdout] | ----------- `StructEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/conf.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] 24 | pub(crate) struct Conf{ [INFO] [stdout] | ---- `Conf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "fb8cb34ee9936a66bed4957b08216e654e000302458b631cb3e1ee0204b829d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8cb34ee9936a66bed4957b08216e654e000302458b631cb3e1ee0204b829d2", kill_on_drop: false }` [INFO] [stdout] fb8cb34ee9936a66bed4957b08216e654e000302458b631cb3e1ee0204b829d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7d33f1f171ddd9dd4520bfaeb458fb488400efa1241ea61230ac5f1eb4aa2476 [INFO] running `Command { std: "docker" "start" "-a" "7d33f1f171ddd9dd4520bfaeb458fb488400efa1241ea61230ac5f1eb4aa2476", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Expr`, `Type`, and `parenthesized` [INFO] [stderr] --> codegen/src/lib.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | syn::{parenthesized, braced, Field, Expr, Type, parse_macro_input, token, Ident, Token}, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `toml` [INFO] [stderr] --> codegen/src/lib.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use toml; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude::*` [INFO] [stderr] --> codegen/src/lib.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> codegen/src/lib.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> codegen/src/lib.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> codegen/src/genstruct.rs:101:45 [INFO] [stderr] | [INFO] [stderr] 101 | pub(crate) fn struct_by_conf_to_tokenstream(input: TokenStream) -> TokenStream { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> codegen/src/genstruct.rs:106:13 [INFO] [stderr] | [INFO] [stderr] 106 | let mut fields_quote = { [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> codegen/src/genstruct.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | let mut args_quote = { [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> codegen/src/genstruct.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | let mut args_name_quote = { [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field `tagged` is never read [INFO] [stderr] --> codegen/src/conf.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 16 | pub(crate) struct StructEntry { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 17 | pub(crate) name: String, [INFO] [stderr] 18 | pub(crate) tagged: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StructEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `brace_token` is never read [INFO] [stderr] --> codegen/src/genstruct.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) struct Genstruct { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 8 | pub name: Ident, [INFO] [stderr] 9 | pub brace_token: token::Brace, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ConfPath` is never constructed [INFO] [stderr] --> codegen/src/genstruct.rs:83:19 [INFO] [stderr] | [INFO] [stderr] 83 | pub(crate) struct ConfPath { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> codegen/src/conf.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Basic` [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] 10 | pub(crate) struct Basic { [INFO] [stderr] | ----- `Basic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> codegen/src/conf.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_StructEntry` [INFO] [stderr] 15 | #[derive(Debug)] [INFO] [stderr] 16 | pub(crate) struct StructEntry { [INFO] [stderr] | ----------- `StructEntry` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> codegen/src/conf.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stderr] 23 | #[derive(Debug)] [INFO] [stderr] 24 | pub(crate) struct Conf{ [INFO] [stderr] | ---- `Conf` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `codegen` (lib) generated 15 warnings (run `cargo fix --lib -p codegen` to apply 8 suggestions) [INFO] [stderr] warning: field `derive` is never read [INFO] [stderr] --> src/conf.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) struct Basic { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 11 | pub(crate) derive: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Basic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `tagged`, and `fields` are never read [INFO] [stderr] --> src/conf.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 16 | pub(crate) struct StructEntry { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 17 | pub(crate) name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 18 | pub(crate) tagged: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 19 | pub(crate) fields: Option>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StructEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `basic` and `structs` are never read [INFO] [stderr] --> src/conf.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 24 | pub(crate) struct Conf{ [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 25 | pub(crate) basic: Basic, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 26 | pub(crate) structs: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Conf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/conf.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Basic` [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] 10 | pub(crate) struct Basic { [INFO] [stderr] | ----- `Basic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/conf.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_StructEntry` [INFO] [stderr] 15 | #[derive(Debug)] [INFO] [stderr] 16 | pub(crate) struct StructEntry { [INFO] [stderr] | ----------- `StructEntry` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/conf.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stderr] 23 | #[derive(Debug)] [INFO] [stderr] 24 | pub(crate) struct Conf{ [INFO] [stderr] | ---- `Conf` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `proc_codegen` (bin "proc_codegen" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/proc_codegen-ece8e654ed1e08a5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7d33f1f171ddd9dd4520bfaeb458fb488400efa1241ea61230ac5f1eb4aa2476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d33f1f171ddd9dd4520bfaeb458fb488400efa1241ea61230ac5f1eb4aa2476", kill_on_drop: false }` [INFO] [stdout] 7d33f1f171ddd9dd4520bfaeb458fb488400efa1241ea61230ac5f1eb4aa2476