[INFO] cloning repository https://github.com/paritytech/substrate-template-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paritytech/substrate-template-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fsubstrate-template-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fsubstrate-template-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b09d95be65ada657aae90e69407438fd6e2bc559 [INFO] building paritytech/substrate-template-generator against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fsubstrate-template-generator" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paritytech/substrate-template-generator on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/paritytech/substrate-template-generator [INFO] finished tweaking git repo https://github.com/paritytech/substrate-template-generator [INFO] tweaked toml for git repo https://github.com/paritytech/substrate-template-generator written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/paritytech/substrate-template-generator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b60d07cfc7ce57547896010cea1fa9a5ee979b11d8a52eab18f3ad027bbbd049 [INFO] running `Command { std: "docker" "start" "-a" "b60d07cfc7ce57547896010cea1fa9a5ee979b11d8a52eab18f3ad027bbbd049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b60d07cfc7ce57547896010cea1fa9a5ee979b11d8a52eab18f3ad027bbbd049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b60d07cfc7ce57547896010cea1fa9a5ee979b11d8a52eab18f3ad027bbbd049", kill_on_drop: false }` [INFO] [stdout] b60d07cfc7ce57547896010cea1fa9a5ee979b11d8a52eab18f3ad027bbbd049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 071269b42e1d8ec2395315004636f042b857e78574521bd1ebb373dda8686ff2 [INFO] running `Command { std: "docker" "start" "-a" "071269b42e1d8ec2395315004636f042b857e78574521bd1ebb373dda8686ff2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.50+curl-7.79.1 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tar v0.4.37 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling git2 v0.8.0 [INFO] [stderr] Compiling substrate-node-template-generator v4.0.0-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `git_info` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | git_info: GitInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `url` [INFO] [stdout] --> src/main.rs:44:2 [INFO] [stdout] | [INFO] [stdout] 44 | url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `selector` [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | selector: GitType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `build` [INFO] [stdout] --> src/main.rs:63:2 [INFO] [stdout] | [INFO] [stdout] 63 | build: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zip` [INFO] [stdout] --> src/main.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | zip: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `package` [INFO] [stdout] --> src/main.rs:66:2 [INFO] [stdout] | [INFO] [stdout] 66 | package: Package, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:72:2 [INFO] [stdout] | [INFO] [stdout] 72 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `authors` [INFO] [stdout] --> src/main.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 73 | authors: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/main.rs:74:2 [INFO] [stdout] | [INFO] [stdout] 74 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `license` [INFO] [stdout] --> src/main.rs:75:2 [INFO] [stdout] | [INFO] [stdout] 75 | license: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `homepage` [INFO] [stdout] --> src/main.rs:76:2 [INFO] [stdout] | [INFO] [stdout] 76 | homepage: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `repository` [INFO] [stdout] --> src/main.rs:77:2 [INFO] [stdout] | [INFO] [stdout] 77 | repository: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `edition` [INFO] [stdout] --> src/main.rs:78:2 [INFO] [stdout] | [INFO] [stdout] 78 | edition: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "071269b42e1d8ec2395315004636f042b857e78574521bd1ebb373dda8686ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "071269b42e1d8ec2395315004636f042b857e78574521bd1ebb373dda8686ff2", kill_on_drop: false }` [INFO] [stdout] 071269b42e1d8ec2395315004636f042b857e78574521bd1ebb373dda8686ff2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72f4d87b28283965c84db0db0d67a7375cf5e70f0e7530e5fe782efdf135e41f [INFO] running `Command { std: "docker" "start" "-a" "72f4d87b28283965c84db0db0d67a7375cf5e70f0e7530e5fe782efdf135e41f", kill_on_drop: false }` [INFO] [stderr] Compiling substrate-node-template-generator v4.0.0-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `git_info` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | git_info: GitInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `url` [INFO] [stdout] --> src/main.rs:44:2 [INFO] [stdout] | [INFO] [stdout] 44 | url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `selector` [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | selector: GitType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `build` [INFO] [stdout] --> src/main.rs:63:2 [INFO] [stdout] | [INFO] [stdout] 63 | build: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zip` [INFO] [stdout] --> src/main.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | zip: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `package` [INFO] [stdout] --> src/main.rs:66:2 [INFO] [stdout] | [INFO] [stdout] 66 | package: Package, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:72:2 [INFO] [stdout] | [INFO] [stdout] 72 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `authors` [INFO] [stdout] --> src/main.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 73 | authors: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/main.rs:74:2 [INFO] [stdout] | [INFO] [stdout] 74 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `license` [INFO] [stdout] --> src/main.rs:75:2 [INFO] [stdout] | [INFO] [stdout] 75 | license: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `homepage` [INFO] [stdout] --> src/main.rs:76:2 [INFO] [stdout] | [INFO] [stdout] 76 | homepage: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `repository` [INFO] [stdout] --> src/main.rs:77:2 [INFO] [stdout] | [INFO] [stdout] 77 | repository: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `edition` [INFO] [stdout] --> src/main.rs:78:2 [INFO] [stdout] | [INFO] [stdout] 78 | edition: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/substrate_node_template_generator-adedd229a65eaa81) [INFO] running `Command { std: "docker" "inspect" "72f4d87b28283965c84db0db0d67a7375cf5e70f0e7530e5fe782efdf135e41f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f4d87b28283965c84db0db0d67a7375cf5e70f0e7530e5fe782efdf135e41f", kill_on_drop: false }` [INFO] [stdout] 72f4d87b28283965c84db0db0d67a7375cf5e70f0e7530e5fe782efdf135e41f