[INFO] cloning repository https://github.com/wealrain/projectGen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wealrain/projectGen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwealrain%2FprojectGen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwealrain%2FprojectGen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ae0925e576e471a3e894a576456a3d4bf309219 [INFO] checking wealrain/projectGen against master#03eb45452305f2d52348279d0caa5fc1f12c438d for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwealrain%2FprojectGen" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wealrain/projectGen on toolchain 03eb45452305f2d52348279d0caa5fc1f12c438d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wealrain/projectGen [INFO] finished tweaking git repo https://github.com/wealrain/projectGen [INFO] tweaked toml for git repo https://github.com/wealrain/projectGen written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wealrain/projectGen 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" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/Cargo.toml: unused manifest key: workspace.package.name [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/project_gen_ts/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d633e856de16a4c297195804c7e53cf0295e695348af7feac41bc28a1237e9e [INFO] running `Command { std: "docker" "start" "-a" "1d633e856de16a4c297195804c7e53cf0295e695348af7feac41bc28a1237e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d633e856de16a4c297195804c7e53cf0295e695348af7feac41bc28a1237e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d633e856de16a4c297195804c7e53cf0295e695348af7feac41bc28a1237e9e", kill_on_drop: false }` [INFO] [stdout] 1d633e856de16a4c297195804c7e53cf0295e695348af7feac41bc28a1237e9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1028c12b84d13f3679be8602f95b1223830886ab5b3e56ab9622e7e84ceec67a [INFO] running `Command { std: "docker" "start" "-a" "1028c12b84d13f3679be8602f95b1223830886ab5b3e56ab9622e7e84ceec67a", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/project_gen_ts/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.package.name [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking project_gen_ts v0.1.0 (/opt/rustwide/workdir/project_gen_ts) [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde_yaml v0.9.29 [INFO] [stderr] Checking project_gen_core v0.1.0 (/opt/rustwide/workdir/project_gen_core) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> project_gen_core/src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PGError` [INFO] [stdout] 5 | pub enum PGError { [INFO] [stdout] | ------- `PGError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> project_gen_core/src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_PGError` [INFO] [stdout] 5 | pub enum PGError { [INFO] [stdout] | ------- `PGError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking project_gen_parser v0.1.0 (/opt/rustwide/workdir/project_gen_parser) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> project_gen_core/src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PGError` [INFO] [stdout] 5 | pub enum PGError { [INFO] [stdout] | ------- `PGError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> project_gen_core/src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_PGError` [INFO] [stdout] 5 | pub enum PGError { [INFO] [stdout] | ------- `PGError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking project_gen_java v0.1.0 (/opt/rustwide/workdir/project_gen_java) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> project_gen_java/src/java_source_writer.rs:75:113 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_with_indent Result<()>>(&mut self,file:&mut File,mut op:O) -> Result<()> { [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] --> project_gen_java/src/java_source_writer.rs:75:113 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_with_indent Result<()>>(&mut self,file:&mut File,mut op:O) -> Result<()> { [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: field `entity_ref` is never read [INFO] [stdout] --> project_gen_parser/src/data.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataDefinition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub entity_ref: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataDefinition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `check` are never used [INFO] [stdout] --> project_gen_parser/src/data.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl DataDefinition { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 60 | pub fn parse(yaml_path: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn check(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> project_gen_java/src/java_source_code.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct JavaLanguage { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 134 | pub name: String, [INFO] [stdout] 135 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> project_gen_java/src/java_source_code.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct JavaLanguage { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 134 | pub name: String, [INFO] [stdout] 135 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entity_ref` is never read [INFO] [stdout] --> project_gen_parser/src/data.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataDefinition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub entity_ref: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataDefinition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `check` are never used [INFO] [stdout] --> project_gen_parser/src/data.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl DataDefinition { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 60 | pub fn parse(yaml_path: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn check(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.52s [INFO] running `Command { std: "docker" "inspect" "1028c12b84d13f3679be8602f95b1223830886ab5b3e56ab9622e7e84ceec67a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1028c12b84d13f3679be8602f95b1223830886ab5b3e56ab9622e7e84ceec67a", kill_on_drop: false }` [INFO] [stdout] 1028c12b84d13f3679be8602f95b1223830886ab5b3e56ab9622e7e84ceec67a