[INFO] cloning repository https://github.com/Kixunil/debcrafter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kixunil/debcrafter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKixunil%2Fdebcrafter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKixunil%2Fdebcrafter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 980a78b1bb4b1811851d84d79808268346154861
[INFO] checking Kixunil/debcrafter against beta-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKixunil%2Fdebcrafter" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Kixunil/debcrafter on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Kixunil/debcrafter
[INFO] finished tweaking git repo https://github.com/Kixunil/debcrafter
[INFO] tweaked toml for git repo https://github.com/Kixunil/debcrafter written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/Kixunil/debcrafter already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dbf28117d113effa24b4865b9b8178dd030bd6169af6365c5bd7235da8cc285b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dbf28117d113effa24b4865b9b8178dd030bd6169af6365c5bd7235da8cc285b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dbf28117d113effa24b4865b9b8178dd030bd6169af6365c5bd7235da8cc285b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbf28117d113effa24b4865b9b8178dd030bd6169af6365c5bd7235da8cc285b", kill_on_drop: false }`
[INFO] [stdout] dbf28117d113effa24b4865b9b8178dd030bd6169af6365c5bd7235da8cc285b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 80db8250079ab2661d0e1ff620b210e41df2e421366fe7adef15e69e44d492c8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "80db8250079ab2661d0e1ff620b210e41df2e421366fe7adef15e69e44d492c8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.5
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]     Checking debcrafter v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `var_spec`
[INFO] [stdout]    --> src/postinst.rs:281:27
[INFO] [stdout]     |
[INFO] [stdout] 281 |                 for (var, var_spec) in ivars {
[INFO] [stdout]     |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_spec`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `previous` is never read
[INFO] [stdout]    --> src/postinst.rs:375:21
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 let mut previous = Some(compute_structure("", &STUPID_HACK));
[INFO] [stdout]     |                     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conf_name`
[INFO] [stdout]    --> src/postinst.rs:516:14
[INFO] [stdout]     |
[INFO] [stdout] 516 |         for (conf_name, config) in package.config() {
[INFO] [stdout]     |              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conf_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]    --> src/postinst.rs:225:18
[INFO] [stdout]     |
[INFO] [stdout] 225 |     fn eq(&self, other: &WriteVar<'a, I>) -> bool {
[INFO] [stdout]     |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:94:25
[INFO] [stdout]    |
[INFO] [stdout] 94 |                     let mut deps = deps.as_mut().map(|deps| &mut **deps);
[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: unused variable: `var_spec`
[INFO] [stdout]    --> src/postinst.rs:281:27
[INFO] [stdout]     |
[INFO] [stdout] 281 |                 for (var, var_spec) in ivars {
[INFO] [stdout]     |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_spec`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `previous` is never read
[INFO] [stdout]    --> src/postinst.rs:375:21
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 let mut previous = Some(compute_structure("", &STUPID_HACK));
[INFO] [stdout]     |                     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conf_name`
[INFO] [stdout]    --> src/postinst.rs:516:14
[INFO] [stdout]     |
[INFO] [stdout] 516 |         for (conf_name, config) in package.config() {
[INFO] [stdout]     |              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conf_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]    --> src/postinst.rs:225:18
[INFO] [stdout]     |
[INFO] [stdout] 225 |     fn eq(&self, other: &WriteVar<'a, I>) -> bool {
[INFO] [stdout]     |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:94:25
[INFO] [stdout]    |
[INFO] [stdout] 94 |                     let mut deps = deps.as_mut().map(|deps| &mut **deps);
[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 is never read: `command`
[INFO] [stdout]    --> src/lib.rs:192:5
[INFO] [stdout]     |
[INFO] [stdout] 192 |     command: Vec<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `trigger_await`
[INFO] [stdout]    --> src/lib.rs:195:5
[INFO] [stdout]     |
[INFO] [stdout] 195 |     trigger_await: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `command`
[INFO] [stdout]    --> src/lib.rs:192:5
[INFO] [stdout]     |
[INFO] [stdout] 192 |     command: Vec<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `trigger_await`
[INFO] [stdout]    --> src/lib.rs:195:5
[INFO] [stdout]     |
[INFO] [stdout] 195 |     trigger_await: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConfType`, `GeneratedType`, `postinst::Package`
[INFO] [stdout]  --> src/bin/generator/preinst.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use debcrafter::{PackageInstance, PackageSpec, ConfType, postinst::Package, GeneratedType};
[INFO] [stdout]   |                                                ^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/bin/generator/preinst.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConfType`, `GeneratedType`, `postinst::Package`
[INFO] [stdout]  --> src/bin/generator/prerm.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use debcrafter::{PackageInstance, PackageSpec, ConfType, postinst::Package, GeneratedType};
[INFO] [stdout]   |                                                ^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/bin/generator/prerm.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConfType`, `PackageConfig`, `postinst::Package`
[INFO] [stdout]  --> src/bin/generator/dirs.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use debcrafter::{PackageInstance, PackageConfig, ConfType, postinst::Package};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConfType`, `PackageConfig`, `postinst::Package`
[INFO] [stdout]  --> src/bin/generator/manpages.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use debcrafter::{PackageInstance, PackageConfig, ConfType, postinst::Package};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConfType`, `GeneratedType`, `postinst::Package`
[INFO] [stdout]  --> src/bin/generator/preinst.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use debcrafter::{PackageInstance, PackageSpec, ConfType, postinst::Package, GeneratedType};
[INFO] [stdout]   |                                                ^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/bin/generator/preinst.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConfType`, `GeneratedType`, `postinst::Package`
[INFO] [stdout]  --> src/bin/generator/prerm.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use debcrafter::{PackageInstance, PackageSpec, ConfType, postinst::Package, GeneratedType};
[INFO] [stdout]   |                                                ^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/bin/generator/prerm.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConfType`, `PackageConfig`, `postinst::Package`
[INFO] [stdout]  --> src/bin/generator/dirs.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use debcrafter::{PackageInstance, PackageConfig, ConfType, postinst::Package};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConfType`, `PackageConfig`, `postinst::Package`
[INFO] [stdout]  --> src/bin/generator/manpages.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use debcrafter::{PackageInstance, PackageConfig, ConfType, postinst::Package};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/bin/generator/preinst.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/bin/generator/prerm.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/bin/generator/preinst.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut out = out.finalize();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instance`
[INFO] [stdout]   --> src/bin/generator/preinst.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn generate(instance: &PackageInstance, out: LazyCreateBuilder) -> io::Result<()> {
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:131:29
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn fetch_var(&mut self, config: &Config, package: &str, name: &str) -> Result<(), Self::Error> {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:135:38
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn generate_const_var(&mut self, config: &Config, package: &str, name: &str, ty: &VarType, val: &str) -> Result<(), Self::Error> {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:135:82
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn generate_const_var(&mut self, config: &Config, package: &str, name: &str, ty: &VarType, val: &str) -> Result<(), Self::Error> {
[INFO] [stdout]     |                                                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:140:45
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn generate_var_using_script(&mut self, config: &Config, package: &str, name: &str, ty: &VarType, script: &str) -> Result<(), Self::E...
[INFO] [stdout]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:140:89
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...nfig, package: &str, name: &str, ty: &VarType, script: &str) -> Result<(), Self::Error> {
[INFO] [stdout]     |                                     ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:163:51
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn sub_object_end(&mut self, config: &Config, name: &str) -> Result<(), Self::Error> {
[INFO] [stdout]     |                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trigger_dir`
[INFO] [stdout]  --> src/bin/generator/postrm.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut trigger_dir = false;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/bin/generator/preinst.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/bin/generator/prerm.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/generator/preinst.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut out = out.finalize();
[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: unused variable: `out`
[INFO] [stdout]   --> src/bin/generator/preinst.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut out = out.finalize();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instance`
[INFO] [stdout]   --> src/bin/generator/preinst.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn generate(instance: &PackageInstance, out: LazyCreateBuilder) -> io::Result<()> {
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:131:29
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn fetch_var(&mut self, config: &Config, package: &str, name: &str) -> Result<(), Self::Error> {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:135:38
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn generate_const_var(&mut self, config: &Config, package: &str, name: &str, ty: &VarType, val: &str) -> Result<(), Self::Error> {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:135:82
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn generate_const_var(&mut self, config: &Config, package: &str, name: &str, ty: &VarType, val: &str) -> Result<(), Self::Error> {
[INFO] [stdout]     |                                                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:140:45
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn generate_var_using_script(&mut self, config: &Config, package: &str, name: &str, ty: &VarType, script: &str) -> Result<(), Self::E...
[INFO] [stdout]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:140:89
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...nfig, package: &str, name: &str, ty: &VarType, script: &str) -> Result<(), Self::Error> {
[INFO] [stdout]     |                                     ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/bin/generator/postinst.rs:163:51
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn sub_object_end(&mut self, config: &Config, name: &str) -> Result<(), Self::Error> {
[INFO] [stdout]     |                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trigger_dir`
[INFO] [stdout]  --> src/bin/generator/postrm.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut trigger_dir = false;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/generator/postinst.rs:179:94
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn write_var<'a, I>(&mut self, config: &Config, package: &str, name: &str, ty: &VarType, mut structure: I, ignore_empty: bool) -> Res...
[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]   --> src/bin/generator/preinst.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut out = out.finalize();
[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]    --> src/bin/generator/postinst.rs:179:94
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn write_var<'a, I>(&mut self, config: &Config, package: &str, name: &str, ty: &VarType, mut structure: I, ignore_empty: bool) -> Res...
[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]  --> src/bin/generator/postrm.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut trigger_dir = false;
[INFO] [stdout]   |         ----^^^^^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `write_patches`
[INFO] [stdout]  --> src/bin/generator/preinst.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn write_patches<W: io::Write>(mut out: W, instance: &PackageInstance) -> io::Result<()> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/generator/postrm.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut trigger_dir = false;
[INFO] [stdout]   |         ----^^^^^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `write_patches`
[INFO] [stdout]  --> src/bin/generator/preinst.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn write_patches<W: io::Write>(mut out: W, instance: &PackageInstance) -> io::Result<()> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 37.94s
[INFO] running `Command { std: "docker" "inspect" "80db8250079ab2661d0e1ff620b210e41df2e421366fe7adef15e69e44d492c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80db8250079ab2661d0e1ff620b210e41df2e421366fe7adef15e69e44d492c8", kill_on_drop: false }`
[INFO] [stdout] 80db8250079ab2661d0e1ff620b210e41df2e421366fe7adef15e69e44d492c8
