[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] checking ZhangHanDong/proc_codegen against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZhangHanDong/proc_codegen on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-5-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f209510cba503e8a2bc50de085129c24d04659214c56f319765f6d3f43d9492 [INFO] running `Command { std: "docker" "start" "-a" "4f209510cba503e8a2bc50de085129c24d04659214c56f319765f6d3f43d9492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f209510cba503e8a2bc50de085129c24d04659214c56f319765f6d3f43d9492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f209510cba503e8a2bc50de085129c24d04659214c56f319765f6d3f43d9492", kill_on_drop: false }` [INFO] [stdout] 4f209510cba503e8a2bc50de085129c24d04659214c56f319765f6d3f43d9492 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4d49e2cb09f681659c721b8afdafa145c6404afc85e573db03bb43bb7b0360f [INFO] running `Command { std: "docker" "start" "-a" "e4d49e2cb09f681659c721b8afdafa145c6404afc85e573db03bb43bb7b0360f", 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] Checking heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking 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: 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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.30s [INFO] running `Command { std: "docker" "inspect" "e4d49e2cb09f681659c721b8afdafa145c6404afc85e573db03bb43bb7b0360f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d49e2cb09f681659c721b8afdafa145c6404afc85e573db03bb43bb7b0360f", kill_on_drop: false }` [INFO] [stdout] e4d49e2cb09f681659c721b8afdafa145c6404afc85e573db03bb43bb7b0360f [INFO] checking ZhangHanDong/proc_codegen against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZhangHanDong/proc_codegen on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-5-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c1b7a6fd802281d3bafb421d97125c19b5869532d8d27e5fd2f176006c3ab1a [INFO] running `Command { std: "docker" "start" "-a" "6c1b7a6fd802281d3bafb421d97125c19b5869532d8d27e5fd2f176006c3ab1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c1b7a6fd802281d3bafb421d97125c19b5869532d8d27e5fd2f176006c3ab1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c1b7a6fd802281d3bafb421d97125c19b5869532d8d27e5fd2f176006c3ab1a", kill_on_drop: false }` [INFO] [stdout] 6c1b7a6fd802281d3bafb421d97125c19b5869532d8d27e5fd2f176006c3ab1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2a9fe9155046821c759782702f305af79208161d5197a8fbc09a65692fd207f [INFO] running `Command { std: "docker" "start" "-a" "d2a9fe9155046821c759782702f305af79208161d5197a8fbc09a65692fd207f", 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] Checking heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/src/conf.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut file = match File::open(file_path) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Ok(f) => f, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Err(e) => panic!("no such file {} exception:{}", file_path, e) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | toml::from_str::(&str_val).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/src/genstruct.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | let fields; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | let brace_token = braced!(fields in input); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let fields = fields.parse_terminated(Field::parse_named)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | Ok(Genstruct { [INFO] [stdout] | ____________^ [INFO] [stdout] 23 | | name, [INFO] [stdout] 24 | | brace_token, [INFO] [stdout] 25 | | fields, [INFO] [stdout] 26 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codegen` (lib) due to 3 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d2a9fe9155046821c759782702f305af79208161d5197a8fbc09a65692fd207f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a9fe9155046821c759782702f305af79208161d5197a8fbc09a65692fd207f", kill_on_drop: false }` [INFO] [stdout] d2a9fe9155046821c759782702f305af79208161d5197a8fbc09a65692fd207f