[INFO] updating cached repository https://github.com/Kixunil/debcrafter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/Kixunil/debcrafter [INFO] [stderr] c228d6c..cd11b59 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd11b59d3301074d75322518d0f20573b647c633 [INFO] checking Kixunil/debcrafter against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKixunil%2Fdebcrafter" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kixunil/debcrafter on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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-0/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" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b638ba61ccf004d60054c31f27f5197762604f742001ced719cffb842320da7 [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" "1b638ba61ccf004d60054c31f27f5197762604f742001ced719cffb842320da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b638ba61ccf004d60054c31f27f5197762604f742001ced719cffb842320da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b638ba61ccf004d60054c31f27f5197762604f742001ced719cffb842320da7", kill_on_drop: false }` [INFO] [stdout] 1b638ba61ccf004d60054c31f27f5197762604f742001ced719cffb842320da7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6996860324de215f29d20d78927759c8ad40970c3f3628e5996481e64619b311 [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" "6996860324de215f29d20d78927759c8ad40970c3f3628e5996481e64619b311", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking debcrafter v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `var_spec` [INFO] [stdout] --> src/postinst.rs:282:27 [INFO] [stdout] | [INFO] [stdout] 282 | 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:376:21 [INFO] [stdout] | [INFO] [stdout] 376 | 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:507:14 [INFO] [stdout] | [INFO] [stdout] 507 | 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:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | 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:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | 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:282:27 [INFO] [stdout] | [INFO] [stdout] 282 | 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:376:21 [INFO] [stdout] | [INFO] [stdout] 376 | 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:507:14 [INFO] [stdout] | [INFO] [stdout] 507 | 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:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | 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:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 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 import: `std::collections::HashSet` [INFO] [stdout] --> src/bin/generator/preinst.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [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 import: `std::collections::HashSet` [INFO] [stdout] --> src/bin/generator/prerm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [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 import: `std::collections::HashSet` [INFO] [stdout] --> src/bin/generator/preinst.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [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 import: `std::collections::HashSet` [INFO] [stdout] --> src/bin/generator/prerm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [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: `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] = note: `#[warn(unused_variables)]` on by default [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::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:140:89 [INFO] [stdout] | [INFO] [stdout] 140 | fn generate_var_using_script(&mut self, config: &Config, 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:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | 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: 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] = note: `#[warn(unused_variables)]` on by default [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::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:140:89 [INFO] [stdout] | [INFO] [stdout] 140 | fn generate_var_using_script(&mut self, config: &Config, 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: 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) -> Result<(), Self::Error> where I: Iterator { [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: `trigger_dir` [INFO] [stdout] --> src/bin/generator/postrm.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | 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/postrm.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut trigger_dir = false; [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/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) -> Result<(), Self::Error> where I: Iterator { [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/generator/postrm.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut trigger_dir = false; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.31s [INFO] running `Command { std: "docker" "inspect" "6996860324de215f29d20d78927759c8ad40970c3f3628e5996481e64619b311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6996860324de215f29d20d78927759c8ad40970c3f3628e5996481e64619b311", kill_on_drop: false }` [INFO] [stdout] 6996860324de215f29d20d78927759c8ad40970c3f3628e5996481e64619b311