[INFO] fetching crate proto_seeder 0.0.8... [INFO] testing proto_seeder-0.0.8 against 1.60.0 for beta-1.61-1 [INFO] extracting crate proto_seeder 0.0.8 into /workspace/builds/worker-70/source [INFO] validating manifest of crates.io crate proto_seeder 0.0.8 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate proto_seeder 0.0.8 [INFO] finished tweaking crates.io crate proto_seeder 0.0.8 [INFO] tweaked toml for crates.io crate proto_seeder 0.0.8 written to /workspace/builds/worker-70/source/Cargo.toml [INFO] crate crates.io crate proto_seeder 0.0.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terminal_size v0.1.13 [INFO] [stderr] Downloaded console v0.13.0 [INFO] [stderr] Downloaded syn v1.0.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c8ebd8caa3b90eeaa0b1978af4e013e9af09de388c79a8616be1289157566cf [INFO] running `Command { std: "docker" "start" "-a" "8c8ebd8caa3b90eeaa0b1978af4e013e9af09de388c79a8616be1289157566cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c8ebd8caa3b90eeaa0b1978af4e013e9af09de388c79a8616be1289157566cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c8ebd8caa3b90eeaa0b1978af4e013e9af09de388c79a8616be1289157566cf", kill_on_drop: false }` [INFO] [stdout] 8c8ebd8caa3b90eeaa0b1978af4e013e9af09de388c79a8616be1289157566cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45e893db61d3b10974d42aa5bf0f880b07dea8b4e3e139b8aa5216edc0452b54 [INFO] running `Command { std: "docker" "start" "-a" "45e893db61d3b10974d42aa5bf0f880b07dea8b4e3e139b8aa5216edc0452b54", 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] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling console v0.13.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling structopt v0.3.20 [INFO] [stderr] Compiling proto_seeder v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `debug` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_path` [INFO] [stdout] --> src/writer/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | current_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/content/guard.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SeedGuard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/content/guard.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_filepath` [INFO] [stdout] --> src/content/module/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn set_filepath(&mut self, filepath: String,) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mod_import` [INFO] [stdout] --> src/content/module/mod.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn set_mod_import(&mut self, mod_import: String,) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_import_file_location` [INFO] [stdout] --> src/content/module/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn set_import_file_location(&mut self, import_file_location: String,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `origin_route` [INFO] [stdout] --> src/content/module/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn origin_route(&self,) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source_file` [INFO] [stdout] --> src/writer/checker.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | source_file: syn::File, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `imports_content` [INFO] [stdout] --> src/content/module/import.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn imports_content(&self,) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.65s [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45e893db61d3b10974d42aa5bf0f880b07dea8b4e3e139b8aa5216edc0452b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e893db61d3b10974d42aa5bf0f880b07dea8b4e3e139b8aa5216edc0452b54", kill_on_drop: false }` [INFO] [stdout] 45e893db61d3b10974d42aa5bf0f880b07dea8b4e3e139b8aa5216edc0452b54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24d729b67ff29cee9f16a5aa37897cafc51a6eebf1fefc65b395a9b6939f1ab3 [INFO] running `Command { std: "docker" "start" "-a" "24d729b67ff29cee9f16a5aa37897cafc51a6eebf1fefc65b395a9b6939f1ab3", kill_on_drop: false }` [INFO] [stderr] Compiling proto_seeder v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SeedContent`, `find_routes` [INFO] [stdout] --> src/content/view.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | content::{view::get_view_function, SeedContent}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 89 | find_model, find_routes, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indexmap::map::IndexMap` [INFO] [stdout] --> src/content/view.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use indexmap::map::IndexMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_have` [INFO] [stdout] --> src/content/guard.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut should_have: IndexMap = IndexMap::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_have` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_meta2` [INFO] [stdout] --> src/content/module/mod.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | let (module_meta2, updated_parent_2,) = generate_module_meta( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_meta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/content/guard.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut should_have: IndexMap = IndexMap::new(); [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/content/module/mod.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut import_module = import_result.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `debug` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_path` [INFO] [stdout] --> src/writer/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | current_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/content/guard.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SeedGuard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/content/guard.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_filepath` [INFO] [stdout] --> src/content/module/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn set_filepath(&mut self, filepath: String,) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mod_import` [INFO] [stdout] --> src/content/module/mod.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn set_mod_import(&mut self, mod_import: String,) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_import_file_location` [INFO] [stdout] --> src/content/module/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn set_import_file_location(&mut self, import_file_location: String,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source_file` [INFO] [stdout] --> src/writer/checker.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | source_file: syn::File, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `imports_content` [INFO] [stdout] --> src/content/module/import.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn imports_content(&self,) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HOME` [INFO] [stdout] --> src/content/view.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | const HOME: &str = r###"fn home(theme : &Theme) -> Node{div!["home"]}"###; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.25s [INFO] running `Command { std: "docker" "inspect" "24d729b67ff29cee9f16a5aa37897cafc51a6eebf1fefc65b395a9b6939f1ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d729b67ff29cee9f16a5aa37897cafc51a6eebf1fefc65b395a9b6939f1ab3", kill_on_drop: false }` [INFO] [stdout] 24d729b67ff29cee9f16a5aa37897cafc51a6eebf1fefc65b395a9b6939f1ab3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 02481657235e12a0b159c65b358b56ceca97ac777287e1952202a621dc25aae9 [INFO] running `Command { std: "docker" "start" "-a" "02481657235e12a0b159c65b358b56ceca97ac777287e1952202a621dc25aae9", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `SeedContent`, `find_routes` [INFO] [stderr] --> src/content/view.rs:88:44 [INFO] [stderr] | [INFO] [stderr] 88 | content::{view::get_view_function, SeedContent}, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 89 | find_model, find_routes, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `indexmap::map::IndexMap` [INFO] [stderr] --> src/content/view.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | use indexmap::map::IndexMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `should_have` [INFO] [stderr] --> src/content/guard.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | let mut should_have: IndexMap = IndexMap::new(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_have` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `module_meta2` [INFO] [stderr] --> src/content/module/mod.rs:329:14 [INFO] [stderr] | [INFO] [stderr] 329 | let (module_meta2, updated_parent_2,) = generate_module_meta( [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_meta2` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/content/guard.rs:140:13 [INFO] [stderr] | [INFO] [stderr] 140 | let mut should_have: IndexMap = IndexMap::new(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/content/module/mod.rs:320:13 [INFO] [stderr] | [INFO] [stderr] 320 | let mut import_module = import_result.unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `debug` [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | debug: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(StructOpt, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `current_path` [INFO] [stderr] --> src/writer/mod.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | current_path: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/content/guard.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub(crate) name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SeedGuard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/content/guard.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_filepath` [INFO] [stderr] --> src/content/module/mod.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn set_filepath(&mut self, filepath: String,) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_mod_import` [INFO] [stderr] --> src/content/module/mod.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn set_mod_import(&mut self, mod_import: String,) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_import_file_location` [INFO] [stderr] --> src/content/module/mod.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn set_import_file_location(&mut self, import_file_location: String,) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `source_file` [INFO] [stderr] --> src/writer/checker.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | source_file: syn::File, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `imports_content` [INFO] [stderr] --> src/content/module/import.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn imports_content(&self,) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `HOME` [INFO] [stderr] --> src/content/view.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | const HOME: &str = r###"fn home(theme : &Theme) -> Node{div!["home"]}"###; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `proto_seeder` (bin "proto_seeder" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/proto_seeder-57d34c772531e5e2) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test content::module::import::test::get_error_if_empty_path ... ok [INFO] [stdout] test content::module::import::test::get_pages ... ok [INFO] [stdout] test content::module::import::test::get_error_if_multiple_folders ... ok [INFO] [stdout] test content::module::init::test::write_init ... ok [INFO] [stdout] test content::module::init::test::write_init_with_children ... ok [INFO] [stdout] test content::module::init::test::write_init_with_id_param ... ok [INFO] [stdout] test content::module::init::test::write_init_with_id_param_and_children ... ok [INFO] [stdout] test content::module::init::test::write_init_with_id_param_and_query ... ok [INFO] [stdout] test content::module::test::test_import_with_parent ... ok [INFO] [stdout] test content::guard::test::test_get_guards ... ok [INFO] [stdout] test content::module::init::test::write_init_with_nested ... ok [INFO] [stdout] test content::module::init::test::write_init_with_query_and_children ... ok [INFO] [stdout] test content::module::init::test::write_init_with_query ... ok [INFO] [stdout] test content::module::test::test_import_with_target_file ... ok [INFO] [stdout] test content::module::init::test::write_init_with_id_param_and_query_and_children ... ok [INFO] [stdout] test content::test::get_pages ... ok [INFO] [stdout] test content::test::test_modules_with_target_file ... ok [INFO] [stdout] test writer::checker::test::test_if_exist_function ... ok [INFO] [stdout] test content::test::test_modules_with_parent ... ok [INFO] [stdout] test content::view::test::test_get_view_function_when_no_scope ... ok [INFO] [stdout] test content::view::test::test_get_view_function_when_scope_is_wrong ... ok [INFO] [stdout] test content::test::test_get_local_views ... ok [INFO] [stdout] test content::view::test::test_get_view_function_when_scope_is_good ... ok [INFO] [stdout] test writer::checker::test::test_if_exist_model ... ok [INFO] [stdout] test parser::test::test_find_model ... ok [INFO] [stdout] test parser::test::test_find_routes ... ok [INFO] [stdout] test writer::checker::test::test_if_exist_update ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "02481657235e12a0b159c65b358b56ceca97ac777287e1952202a621dc25aae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02481657235e12a0b159c65b358b56ceca97ac777287e1952202a621dc25aae9", kill_on_drop: false }` [INFO] [stdout] 02481657235e12a0b159c65b358b56ceca97ac777287e1952202a621dc25aae9